FixBreakTimes RESTified API
Resource URL Summary
Pass Through Call to Scheduling's "Fix Break Times" API
PUT /up/v5/rest/scheduling/FixBreakTimes
HTTP Headers
This API uses the standard ServiceBroker HTTP Headers.
API Specifics
Pass Through Call to Scheduling's "Fix Break Times" API
This RESTified API will perform a pass-through call to the Scheduling sub-system's "Fix Break Times" API (when configured).
URL
PUT /up/v5/rest/scheduling/FixBreakTimes
HTTP Request Body
This request requires a JSON object supplied in the HTTP request body, which defines the parameters that will be passed through to the Scheduling "Fix Break Times" APi.
FixBreakTimes Object Format
FixBreakTimes Object Properties
Property | Type | Length | Description | Req? | Mapping Field: Service Scheduling | |
---|---|---|---|---|---|---|
Tech |
| Pass through parameter to the Scheduling Fix Break Times API. The identifier of the employee to whom the break is assigned. | Yes |
| ||
Breaks | array | max 5 | Pass through parameter to the Scheduling Fix Break Times API. Up to 5 break structures can be supplied if multiple breaks are to be updated. . | Yes | See the FixBreakTimes.Breaks.objects |
HTTP Response
Success
On success, a JSON-formatted version of the Scheduling "Fix Break Times" API response will be returned.
{ "Success": true, "Code": "0", "Message": "", "Payload": { "result": { "type": "OK", "code": "0" } } }
Error
On error, a JSON-formatted version of the Scheduling "Fix Break Times" API response will be returned.
{ "Success": false, "Code": 9, "Payload": { "returnCode": { "type": "Error", "code": "SCH Error Code" } } }
Return Codes
In addition to the Standard Return Codes, and the Scheduling Error codes, individual API calls from this API are: