UpdateJobArrivalTime RESTified API
Resource URL Summary
Pass Through Call to Scheduling's "Update Job Arrival Time" API
PUT /up/v5/rest/scheduling/ChangeJobArrivalTime
HTTP Headers
This API uses the standard ServiceBroker HTTP Headers.
API Specifics
Pass Through Call to Scheduling's "Update Job Arrival Time" API
This RESTified API will perform a pass-through call to the Scheduling sub-system's "Update Job Arrival Time" API (when configured).
URL
PUT /up/v5/rest/scheduling/ChangeJobArrivalTime
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 "Update Job Arrival Time" APi.
UpdateJobArrivalTime Object Format
UpdateJobArrivalTime Object Properties
Property | Type | Length | Description | Req? | Mapping Field: Service Scheduling | |
---|---|---|---|---|---|---|
Id |
| SS: 50 | Pass through parameter to the Scheduling UpdateJobArrivalTime API. The identifier of the job to be updated. The error | Yes | JobID | |
ChangeTime |
| SS: 16 | Pass through parameter to the Scheduling UpdateJobArrivalTime API. The job's new arrival on site date-time. Example: "2023-03-30T14:15" | Yes | arrivalTime | |
Options | object | N/A | Pass through parameter to the SchedulingUpdateJobArrivalTime API. See UpdateJobArrivalTime Options Object. | No | See UpdateJobArrivalTime Options Object. |
HTTP Response
Success
On success, a JSON-formatted version of the Scheduling "Update Job Arrival Time" 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 "Update Job Arrival Time" 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, the possible Return Codes from this API are: