All URIs are relative to https://www.{domain}/api/v3/integration
Method | HTTP request | Description |
---|---|---|
addCalendarBreak | POST /facilities/{facility_id}/doctors/{doctor_id}/addresses/{address_id}/breaks | |
deleteCalendarBreak | DELETE /facilities/{facility_id}/doctors/{doctor_id}/addresses/{address_id}/breaks/{break_id} | |
getCalendarBreak | GET /facilities/{facility_id}/doctors/{doctor_id}/addresses/{address_id}/breaks/{break_id} | |
getCalendarBreaks | GET /facilities/{facility_id}/doctors/{doctor_id}/addresses/{address_id}/breaks | |
moveCalendarBreak | PATCH /facilities/{facility_id}/doctors/{doctor_id}/addresses/{address_id}/breaks/{break_id} |
addCalendarBreak($body, $facility_id, $doctor_id, $address_id)
Add a new break to the calendar
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = DocPlanner\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new DocPlanner\Client\Api\CalendarBreaksApi(
// 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(),
$config
);
$body = new \DocPlanner\Client\Model\AddCalendarBreakRequest(); // \DocPlanner\Client\Model\AddCalendarBreakRequest |
$facility_id = "facility_id_example"; // string | ID of the Facility
$doctor_id = "doctor_id_example"; // string | ID of a doctor in a facility
$address_id = "address_id_example"; // string | ID of a doctor`s address in a facility
try {
$apiInstance->addCalendarBreak($body, $facility_id, $doctor_id, $address_id);
} catch (Exception $e) {
echo 'Exception when calling CalendarBreaksApi->addCalendarBreak: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \DocPlanner\Client\Model\AddCalendarBreakRequest | ||
facility_id | string | ID of the Facility | |
doctor_id | string | ID of a doctor in a facility | |
address_id | string | ID of a doctor`s address in a facility |
void (empty response body)
- Content-Type: application/json
- Accept: application/vnd.error+docplanner+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deleteCalendarBreak($facility_id, $doctor_id, $address_id, $break_id)
Delete the calendar break
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = DocPlanner\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new DocPlanner\Client\Api\CalendarBreaksApi(
// 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(),
$config
);
$facility_id = "facility_id_example"; // string | ID of the Facility
$doctor_id = "doctor_id_example"; // string | ID of a doctor in a facility
$address_id = "address_id_example"; // string | ID of a doctor`s address in a facility
$break_id = "break_id_example"; // string | ID of the Calendar Break
try {
$apiInstance->deleteCalendarBreak($facility_id, $doctor_id, $address_id, $break_id);
} catch (Exception $e) {
echo 'Exception when calling CalendarBreaksApi->deleteCalendarBreak: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
facility_id | string | ID of the Facility | |
doctor_id | string | ID of a doctor in a facility | |
address_id | string | ID of a doctor`s address in a facility | |
break_id | string | ID of the Calendar Break |
void (empty response body)
- Content-Type: Not defined
- Accept: application/vnd.error+docplanner+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\DocPlanner\Client\Model\CalendarBreak getCalendarBreak($facility_id, $doctor_id, $address_id, $break_id)
View a specific calendar break
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = DocPlanner\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new DocPlanner\Client\Api\CalendarBreaksApi(
// 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(),
$config
);
$facility_id = "facility_id_example"; // string | ID of the Facility
$doctor_id = "doctor_id_example"; // string | ID of a doctor in a facility
$address_id = "address_id_example"; // string | ID of a doctor`s address in a facility
$break_id = "break_id_example"; // string | ID of the Calendar Break
try {
$result = $apiInstance->getCalendarBreak($facility_id, $doctor_id, $address_id, $break_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CalendarBreaksApi->getCalendarBreak: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
facility_id | string | ID of the Facility | |
doctor_id | string | ID of a doctor in a facility | |
address_id | string | ID of a doctor`s address in a facility | |
break_id | string | ID of the Calendar Break |
\DocPlanner\Client\Model\CalendarBreak
- Content-Type: Not defined
- Accept: application/vnd.docplanner+json; charset=UTF-8, application/vnd.error+docplanner+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\DocPlanner\Client\Model\CalendarBreaks getCalendarBreaks($facility_id, $doctor_id, $address_id, $since, $till)
Get the list of calendar breaks
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = DocPlanner\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new DocPlanner\Client\Api\CalendarBreaksApi(
// 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(),
$config
);
$facility_id = "facility_id_example"; // string | ID of the Facility
$doctor_id = "doctor_id_example"; // string | ID of a doctor in a facility
$address_id = "address_id_example"; // string | ID of a doctor`s address in a facility
$since = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime |
$till = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime |
try {
$result = $apiInstance->getCalendarBreaks($facility_id, $doctor_id, $address_id, $since, $till);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CalendarBreaksApi->getCalendarBreaks: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
facility_id | string | ID of the Facility | |
doctor_id | string | ID of a doctor in a facility | |
address_id | string | ID of a doctor`s address in a facility | |
since | \DateTime | ||
till | \DateTime |
\DocPlanner\Client\Model\CalendarBreaks
- Content-Type: Not defined
- Accept: application/vnd.docplanner+json; charset=UTF-8, application/vnd.error+docplanner+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
moveCalendarBreak($body, $facility_id, $doctor_id, $address_id, $break_id)
Move the calendar break
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = DocPlanner\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new DocPlanner\Client\Api\CalendarBreaksApi(
// 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(),
$config
);
$body = new \DocPlanner\Client\Model\MoveCalendarBreakRequest(); // \DocPlanner\Client\Model\MoveCalendarBreakRequest |
$facility_id = "facility_id_example"; // string | ID of the Facility
$doctor_id = "doctor_id_example"; // string | ID of a doctor in a facility
$address_id = "address_id_example"; // string | ID of a doctor`s address in a facility
$break_id = "break_id_example"; // string | ID of the Calendar Break
try {
$apiInstance->moveCalendarBreak($body, $facility_id, $doctor_id, $address_id, $break_id);
} catch (Exception $e) {
echo 'Exception when calling CalendarBreaksApi->moveCalendarBreak: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \DocPlanner\Client\Model\MoveCalendarBreakRequest | ||
facility_id | string | ID of the Facility | |
doctor_id | string | ID of a doctor in a facility | |
address_id | string | ID of a doctor`s address in a facility | |
break_id | string | ID of the Calendar Break |
void (empty response body)
- Content-Type: application/json
- Accept: application/vnd.error+docplanner+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]