Skip to content

Commit c34d3ec

Browse files
committed
Generate SDK
1 parent 94988e7 commit c34d3ec

File tree

4 files changed

+734
-16
lines changed

4 files changed

+734
-16
lines changed

docs/Api/CalendarBreaksApi.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Method | HTTP request | Description
88
[**deleteCalendarBreak**](CalendarBreaksApi.md#deletecalendarbreak) | **DELETE** /facilities/{facility_id}/doctors/{doctor_id}/addresses/{address_id}/breaks/{break_id} |
99
[**getCalendarBreak**](CalendarBreaksApi.md#getcalendarbreak) | **GET** /facilities/{facility_id}/doctors/{doctor_id}/addresses/{address_id}/breaks/{break_id} |
1010
[**getCalendarBreaks**](CalendarBreaksApi.md#getcalendarbreaks) | **GET** /facilities/{facility_id}/doctors/{doctor_id}/addresses/{address_id}/breaks |
11+
[**moveCalendarBreak**](CalendarBreaksApi.md#movecalendarbreak) | **PATCH** /facilities/{facility_id}/doctors/{doctor_id}/addresses/{address_id}/breaks/{break_id} |
1112

1213
# **addCalendarBreak**
1314
> addCalendarBreak($body, $facility_id, $doctor_id, $address_id)
@@ -245,3 +246,63 @@ Name | Type | Description | Notes
245246

246247
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
247248

249+
# **moveCalendarBreak**
250+
> moveCalendarBreak($body, $facility_id, $doctor_id, $address_id, $break_id)
251+
252+
253+
254+
Move the calendar break
255+
256+
### Example
257+
```php
258+
<?php
259+
require_once(__DIR__ . '/vendor/autoload.php');
260+
261+
// Configure OAuth2 access token for authorization: OAuth 2.0
262+
$config = DocPlanner\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
263+
264+
$apiInstance = new DocPlanner\Client\Api\CalendarBreaksApi(
265+
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
266+
// This is optional, `GuzzleHttp\Client` will be used as default.
267+
new GuzzleHttp\Client(),
268+
$config
269+
);
270+
$body = new \DocPlanner\Client\Model\MoveCalendarBreakRequest(); // \DocPlanner\Client\Model\MoveCalendarBreakRequest |
271+
$facility_id = "facility_id_example"; // string | ID of the Facility
272+
$doctor_id = "doctor_id_example"; // string | ID of a doctor in a facility
273+
$address_id = "address_id_example"; // string | ID of a doctor`s address in a facility
274+
$break_id = "break_id_example"; // string | ID of the Calendar Break
275+
276+
try {
277+
$apiInstance->moveCalendarBreak($body, $facility_id, $doctor_id, $address_id, $break_id);
278+
} catch (Exception $e) {
279+
echo 'Exception when calling CalendarBreaksApi->moveCalendarBreak: ', $e->getMessage(), PHP_EOL;
280+
}
281+
?>
282+
```
283+
284+
### Parameters
285+
286+
Name | Type | Description | Notes
287+
------------- | ------------- | ------------- | -------------
288+
**body** | [**\DocPlanner\Client\Model\MoveCalendarBreakRequest**](../Model/MoveCalendarBreakRequest.md)| |
289+
**facility_id** | **string**| ID of the Facility |
290+
**doctor_id** | **string**| ID of a doctor in a facility |
291+
**address_id** | **string**| ID of a doctor&#x60;s address in a facility |
292+
**break_id** | **string**| ID of the Calendar Break |
293+
294+
### Return type
295+
296+
void (empty response body)
297+
298+
### Authorization
299+
300+
[OAuth 2.0](../../README.md#OAuth 2.0)
301+
302+
### HTTP request headers
303+
304+
- **Content-Type**: application/json
305+
- **Accept**: application/vnd.error+docplanner+json
306+
307+
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
308+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# MoveCalendarBreakRequest
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**since** | [**\DateTime**](\DateTime.md) | |
7+
**till** | [**\DateTime**](\DateTime.md) | |
8+
9+
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
10+

0 commit comments

Comments
 (0)