...
POST {url}/localtrac/locations/<location_uuid>/scheduleexceptions | |||||||
---|---|---|---|---|---|---|---|
This route will add/update the schedule exception for each given day provided. The change will only apply to normal business hours and not to additional business hours.
| |||||||
Request | |||||||
Headers | |||||||
Authorization | <token> obtained during the Authentication | ||||||
Accept | application/json | ||||||
Content-Type | application/json | ||||||
Body | |||||||
| |||||||
Response (200) - Success | |||||||
Headers | |||||||
Content-type | application/json | ||||||
Cache-Control | no-cache,private | ||||||
Body | |||||||
| |||||||
Response (400) - Validation Error | |||||||
Headers | |||||||
Content-type | application/json | ||||||
Cache-Control | no-cache,private | ||||||
Body | |||||||
| |||||||
message | Always the same error message, indicating that an error occured during the validation process | ||||||
errors | An associative array where the key represents the logical path to the data in error and the value represents the error found with the given data. If a key contains “.” character, this means nested array. In the case of an array without keys, the logical number would be taken. |
...