ConfirmDispatchedJob RESTified API
Resource URL Summary
Pass Through Call to Scheduling 's "Confirm Dispatched Job" API
PUT /up/v5/rest/scheduling/DispResult
HTTP Headers
This API uses the standard ServiceBroker HTTP Headers.
API Specifics
Pass Through Call to Scheduling 's "Confirm Dispatched Job" API
This RESTified API will perform a pass-through call to the Scheduling sub-system's "Confirm Dispatched Job" API (when configured).
URL
PUT /up/v5/rest/scheduling/DispResult
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 "Confirm Dispatched Job" APi.
ConfirmDispatchedJob Object Format
ConfirmDispatchedJob Object Properties
Property | Type | Description | Req? |
---|---|---|---|
ResultCode | Integer | If the job was successfully dispatched, this should be set to 0. If any other result is returned, ServiceOptimizer will re-dispatch the job until 0 is returned for it, or disp_expiry_time is reached. ServiceOptimizer does not do any special processing for non-zero responses, but it will be logged in the log file. SS Field: | Yes |
HTTP Response
Success
On success, a JSON-formatted version of the Scheduling "Confirm Dispatched Job" 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 "Confirm Dispatched Job" 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: