Skip to content

Commit 96913a3

Browse files
committed
Release v1.0.25
* Introducing **getCalendar** endpoint for getting calendar status
1 parent d5aaa3e commit 96913a3

File tree

100 files changed

+815
-111
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+815
-111
lines changed

docs/Api/CalendarsApi.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**disableCalendar**](CalendarsApi.md#disablecalendar) | **POST** /facilities/{facility_id}/doctors/{doctor_id}/addresses/{address_id}/calendar/disable |
88
[**enableCalendar**](CalendarsApi.md#enablecalendar) | **POST** /facilities/{facility_id}/doctors/{doctor_id}/addresses/{address_id}/calendar/enable |
9+
[**getCalendar**](CalendarsApi.md#getcalendar) | **GET** /facilities/{facility_id}/doctors/{doctor_id}/addresses/{address_id}/calendar |
910

1011
# **disableCalendar**
1112
> disableCalendar($facility_id, $doctor_id, $address_id)
@@ -119,3 +120,60 @@ void (empty response body)
119120

120121
[[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)
121122

123+
# **getCalendar**
124+
> \DocPlanner\Client\Model\Calendar getCalendar($facility_id, $doctor_id, $address_id)
125+
126+
127+
128+
Gets calendar of the address
129+
130+
### Example
131+
```php
132+
<?php
133+
require_once(__DIR__ . '/vendor/autoload.php');
134+
135+
// Configure OAuth2 access token for authorization: oauth2
136+
$config = DocPlanner\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
137+
138+
$apiInstance = new DocPlanner\Client\Api\CalendarsApi(
139+
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
140+
// This is optional, `GuzzleHttp\Client` will be used as default.
141+
new GuzzleHttp\Client(),
142+
$config
143+
);
144+
$facility_id = "facility_id_example"; // string | ID of the Facility
145+
$doctor_id = "doctor_id_example"; // string | ID of a doctor in a facility
146+
$address_id = "address_id_example"; // string | ID of a doctor`s address in a facility
147+
148+
try {
149+
$result = $apiInstance->getCalendar($facility_id, $doctor_id, $address_id);
150+
print_r($result);
151+
} catch (Exception $e) {
152+
echo 'Exception when calling CalendarsApi->getCalendar: ', $e->getMessage(), PHP_EOL;
153+
}
154+
?>
155+
```
156+
157+
### Parameters
158+
159+
Name | Type | Description | Notes
160+
------------- | ------------- | ------------- | -------------
161+
**facility_id** | **string**| ID of the Facility |
162+
**doctor_id** | **string**| ID of a doctor in a facility |
163+
**address_id** | **string**| ID of a doctor&#x60;s address in a facility |
164+
165+
### Return type
166+
167+
[**\DocPlanner\Client\Model\Calendar**](../Model/Calendar.md)
168+
169+
### Authorization
170+
171+
[oauth2](../../README.md#oauth2)
172+
173+
### HTTP request headers
174+
175+
- **Content-Type**: Not defined
176+
- **Accept**: application/vnd.docplanner+json; charset=UTF-8, application/vnd.error+docplanner+json
177+
178+
[[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)
179+

docs/Model/Calendar.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Calendar
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**status** | **string** | | [optional]
7+
8+
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
9+

docs/Model/CalendarBreak.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
66
**id** | **string** | | [optional]
77
**since** | [**\DateTime**](\DateTime.md) | | [optional]
88
**till** | [**\DateTime**](\DateTime.md) | | [optional]
9-
**descirption** | **string** | | [optional]
9+
**description** | **string** | | [optional]
1010

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

lib/Api/APINotificationCallbacksApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* Welcome to Docplanner Integrations [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) API! This API gives You the ability to build Your own application and integrate it with Docplanner services.
1616
*
17-
* OpenAPI spec version: 1.0.24
17+
* OpenAPI spec version: 1.0.25
1818
*
1919
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2020
* Swagger Codegen version: 3.0.24

lib/Api/AddressesApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* Welcome to Docplanner Integrations [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) API! This API gives You the ability to build Your own application and integrate it with Docplanner services.
1616
*
17-
* OpenAPI spec version: 1.0.24
17+
* OpenAPI spec version: 1.0.25
1818
*
1919
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2020
* Swagger Codegen version: 3.0.24

lib/Api/BookingsApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* Welcome to Docplanner Integrations [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) API! This API gives You the ability to build Your own application and integrate it with Docplanner services.
1616
*
17-
* OpenAPI spec version: 1.0.24
17+
* OpenAPI spec version: 1.0.25
1818
*
1919
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2020
* Swagger Codegen version: 3.0.24

lib/Api/CalendarBreaksApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* Welcome to Docplanner Integrations [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) API! This API gives You the ability to build Your own application and integrate it with Docplanner services.
1616
*
17-
* OpenAPI spec version: 1.0.24
17+
* OpenAPI spec version: 1.0.25
1818
*
1919
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2020
* Swagger Codegen version: 3.0.24

0 commit comments

Comments
 (0)