All URIs are relative to /
Method | HTTP request | Description |
---|---|---|
getArrangementTemplate | GET /api/v1/arrangementTemplates/{id} | Get arrangement templates with the provided id |
getArrangementTemplates | GET /api/v1/arrangementTemplates | Get arrangement templates |
postArrangementTemplates | POST /api/v1/arrangementTemplates | Create an arrangement via a specific arrangement template |
\Membercare\Client\Model\ArrangementTemplate[] getArrangementTemplate($id, $token)
Get arrangement templates with the provided id
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Membercare\Client\Api\ArrangementTemplatesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$id = 789; // int |
$token = "token_example"; // string | access token
try {
$result = $apiInstance->getArrangementTemplate($id, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ArrangementTemplatesApi->getArrangementTemplate: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
id | int | ||
token | string | access token |
\Membercare\Client\Model\ArrangementTemplate[]
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Membercare\Client\Model\ArrangementTemplate[] getArrangementTemplates($token)
Get arrangement templates
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Membercare\Client\Api\ArrangementTemplatesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$token = "token_example"; // string | access token
try {
$result = $apiInstance->getArrangementTemplates($token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ArrangementTemplatesApi->getArrangementTemplates: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
token | string | access token |
\Membercare\Client\Model\ArrangementTemplate[]
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Membercare\Client\Model\Arrangement postArrangementTemplates($token, $body)
Create an arrangement via a specific arrangement template
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Membercare\Client\Api\ArrangementTemplatesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$token = "token_example"; // string | access token
$body = new \Membercare\Client\Model\ArrangementTemplatePost(); // \Membercare\Client\Model\ArrangementTemplatePost |
try {
$result = $apiInstance->postArrangementTemplates($token, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ArrangementTemplatesApi->postArrangementTemplates: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
token | string | access token | |
body | \Membercare\Client\Model\ArrangementTemplatePost | [optional] |
\Membercare\Client\Model\Arrangement
No authorization required
- Content-Type: application/json, text/json, application/_*+json
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]