Skip to content

Commit d856629

Browse files
committed
Release v1.9.3
* Adding maximum date range validation of 180 days to **getSlots** endpoint. Requests exceeding this range will return a **400 Bad Request** error
1 parent dceb556 commit d856629

124 files changed

Lines changed: 146 additions & 138 deletions

File tree

Some content is hidden

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

docs/Api/BookingsApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ $facility_id = "facility_id_example"; // string | ID of the Facility
217217
$doctor_id = "doctor_id_example"; // string | ID of a doctor in a facility
218218
$address_id = "address_id_example"; // string | ID of a doctor`s address in a facility
219219
$start = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime | Slot start date (parameter must be urlencoded before sending request)
220-
$end = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime | Slot start date (parameter must be urlencoded before sending request)
220+
$end = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime | Slot end date (parameter must be urlencoded before sending request)
221221
$page = 56; // int | Page number to use for pagination. If not provided the pagination is not applied.
222222
$limit = 56; // int | Maximum number of items per page. If not provided the default value of 100 is applied if pagination is used.
223223
$with = array(new \DocPlanner\Client\Model\BookingsScopes()); // \DocPlanner\Client\Model\BookingsScopes[] |
@@ -239,7 +239,7 @@ Name | Type | Description | Notes
239239
**doctor_id** | **string**| ID of a doctor in a facility |
240240
**address_id** | **string**| ID of a doctor`s address in a facility |
241241
**start** | **\DateTime**| Slot start date (parameter must be urlencoded before sending request) |
242-
**end** | **\DateTime**| Slot start date (parameter must be urlencoded before sending request) |
242+
**end** | **\DateTime**| Slot end date (parameter must be urlencoded before sending request) |
243243
**page** | **int**| Page number to use for pagination. If not provided the pagination is not applied. | [optional]
244244
**limit** | **int**| Maximum number of items per page. If not provided the default value of 100 is applied if pagination is used. | [optional]
245245
**with** | [**\DocPlanner\Client\Model\BookingsScopes[]**](../Model/\DocPlanner\Client\Model\BookingsScopes.md)| | [optional]

docs/Api/SlotsApi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ void (empty response body)
133133
134134

135135

136-
List of free slots for the address within specified date range Extensions: * `slot.services` - with this parameter in url, query results will return address services attached to given slots
136+
List of free slots for the address within specified date range. The date range between start and end must not exceed 180 days; requests exceeding this limit will return a 400 error. Extensions: * `slot.services` - with this parameter in url, query results will return address services attached to given slots
137137

138138
### Example
139139
```php
@@ -153,7 +153,7 @@ $facility_id = "facility_id_example"; // string | ID of the Facility
153153
$doctor_id = "doctor_id_example"; // string | ID of a doctor in a facility
154154
$address_id = "address_id_example"; // string | ID of a doctor`s address in a facility
155155
$start = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime | Slot start date (parameter must be urlencoded before sending request)
156-
$end = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime | Slot start date (parameter must be urlencoded before sending request)
156+
$end = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime | Slot end date (parameter must be urlencoded before sending request)
157157
$with = array(new \DocPlanner\Client\Model\SlotsScopes()); // \DocPlanner\Client\Model\SlotsScopes[] |
158158

159159
try {
@@ -173,7 +173,7 @@ Name | Type | Description | Notes
173173
**doctor_id** | **string**| ID of a doctor in a facility |
174174
**address_id** | **string**| ID of a doctor`s address in a facility |
175175
**start** | **\DateTime**| Slot start date (parameter must be urlencoded before sending request) |
176-
**end** | **\DateTime**| Slot start date (parameter must be urlencoded before sending request) |
176+
**end** | **\DateTime**| Slot end date (parameter must be urlencoded before sending request) |
177177
**with** | [**\DocPlanner\Client\Model\SlotsScopes[]**](../Model/\DocPlanner\Client\Model\SlotsScopes.md)| | [optional]
178178

179179
### Return type

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.9.2
17+
* OpenAPI spec version: 1.9.3
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.9.2
17+
* OpenAPI spec version: 1.9.3
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: 6 additions & 6 deletions
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.9.2
17+
* OpenAPI spec version: 1.9.3
1818
*
1919
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2020
* Swagger Codegen version: 3.0.24
@@ -1079,7 +1079,7 @@ protected function getBookingRequest($facility_id, $doctor_id, $address_id, $boo
10791079
* @param string $doctor_id ID of a doctor in a facility (required)
10801080
* @param string $address_id ID of a doctor`s address in a facility (required)
10811081
* @param \DateTime $start Slot start date (parameter must be urlencoded before sending request) (required)
1082-
* @param \DateTime $end Slot start date (parameter must be urlencoded before sending request) (required)
1082+
* @param \DateTime $end Slot end date (parameter must be urlencoded before sending request) (required)
10831083
* @param int $page Page number to use for pagination. If not provided the pagination is not applied. (optional)
10841084
* @param int $limit Maximum number of items per page. If not provided the default value of 100 is applied if pagination is used. (optional)
10851085
* @param \DocPlanner\Client\Model\BookingsScopes[] $with with (optional)
@@ -1101,7 +1101,7 @@ public function getBookings($facility_id, $doctor_id, $address_id, $start, $end,
11011101
* @param string $doctor_id ID of a doctor in a facility (required)
11021102
* @param string $address_id ID of a doctor`s address in a facility (required)
11031103
* @param \DateTime $start Slot start date (parameter must be urlencoded before sending request) (required)
1104-
* @param \DateTime $end Slot start date (parameter must be urlencoded before sending request) (required)
1104+
* @param \DateTime $end Slot end date (parameter must be urlencoded before sending request) (required)
11051105
* @param int $page Page number to use for pagination. If not provided the pagination is not applied. (optional)
11061106
* @param int $limit Maximum number of items per page. If not provided the default value of 100 is applied if pagination is used. (optional)
11071107
* @param \DocPlanner\Client\Model\BookingsScopes[] $with (optional)
@@ -1199,7 +1199,7 @@ public function getBookingsWithHttpInfo($facility_id, $doctor_id, $address_id, $
11991199
* @param string $doctor_id ID of a doctor in a facility (required)
12001200
* @param string $address_id ID of a doctor`s address in a facility (required)
12011201
* @param \DateTime $start Slot start date (parameter must be urlencoded before sending request) (required)
1202-
* @param \DateTime $end Slot start date (parameter must be urlencoded before sending request) (required)
1202+
* @param \DateTime $end Slot end date (parameter must be urlencoded before sending request) (required)
12031203
* @param int $page Page number to use for pagination. If not provided the pagination is not applied. (optional)
12041204
* @param int $limit Maximum number of items per page. If not provided the default value of 100 is applied if pagination is used. (optional)
12051205
* @param \DocPlanner\Client\Model\BookingsScopes[] $with (optional)
@@ -1226,7 +1226,7 @@ function ($response) {
12261226
* @param string $doctor_id ID of a doctor in a facility (required)
12271227
* @param string $address_id ID of a doctor`s address in a facility (required)
12281228
* @param \DateTime $start Slot start date (parameter must be urlencoded before sending request) (required)
1229-
* @param \DateTime $end Slot start date (parameter must be urlencoded before sending request) (required)
1229+
* @param \DateTime $end Slot end date (parameter must be urlencoded before sending request) (required)
12301230
* @param int $page Page number to use for pagination. If not provided the pagination is not applied. (optional)
12311231
* @param int $limit Maximum number of items per page. If not provided the default value of 100 is applied if pagination is used. (optional)
12321232
* @param \DocPlanner\Client\Model\BookingsScopes[] $with (optional)
@@ -1283,7 +1283,7 @@ function ($exception) {
12831283
* @param string $doctor_id ID of a doctor in a facility (required)
12841284
* @param string $address_id ID of a doctor`s address in a facility (required)
12851285
* @param \DateTime $start Slot start date (parameter must be urlencoded before sending request) (required)
1286-
* @param \DateTime $end Slot start date (parameter must be urlencoded before sending request) (required)
1286+
* @param \DateTime $end Slot end date (parameter must be urlencoded before sending request) (required)
12871287
* @param int $page Page number to use for pagination. If not provided the pagination is not applied. (optional)
12881288
* @param int $limit Maximum number of items per page. If not provided the default value of 100 is applied if pagination is used. (optional)
12891289
* @param \DocPlanner\Client\Model\BookingsScopes[] $with (optional)

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.9.2
17+
* OpenAPI spec version: 1.9.3
1818
*
1919
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2020
* Swagger Codegen version: 3.0.24

lib/Api/CalendarsApi.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.9.2
17+
* OpenAPI spec version: 1.9.3
1818
*
1919
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2020
* Swagger Codegen version: 3.0.24

lib/Api/DoctorsApi.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.9.2
17+
* OpenAPI spec version: 1.9.3
1818
*
1919
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2020
* Swagger Codegen version: 3.0.24

lib/Api/FacilitiesApi.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.9.2
17+
* OpenAPI spec version: 1.9.3
1818
*
1919
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2020
* Swagger Codegen version: 3.0.24

lib/Api/InsurancesApi.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.9.2
17+
* OpenAPI spec version: 1.9.3
1818
*
1919
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2020
* Swagger Codegen version: 3.0.24

0 commit comments

Comments
 (0)