@@ -8,6 +8,7 @@ Method | HTTP request | Description
8
8
[ ** deleteCalendarBreak** ] ( CalendarBreaksApi.md#deletecalendarbreak ) | ** DELETE** /facilities/{facility_id}/doctors/{doctor_id}/addresses/{address_id}/breaks/{break_id} |
9
9
[ ** getCalendarBreak** ] ( CalendarBreaksApi.md#getcalendarbreak ) | ** GET** /facilities/{facility_id}/doctors/{doctor_id}/addresses/{address_id}/breaks/{break_id} |
10
10
[ ** 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} |
11
12
12
13
# ** addCalendarBreak**
13
14
> addCalendarBreak($body, $facility_id, $doctor_id, $address_id)
@@ -245,3 +246,63 @@ Name | Type | Description | Notes
245
246
246
247
[[ 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 )
247
248
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` ; 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
+
0 commit comments