Pass Through Call to ServiceDispatchto Dispatch's "Update Call Schedule Info" APIThis RESTified API will perform a pass-through call to the ServiceDispatch the Dispatch sub-system's "Update Call Schedule Info" API (when configured). URL Panel |
---|
borderColor | grey |
---|
bgColor | whitesmoke |
---|
borderStyle | solid |
---|
| PUT /up/v5/rest/dispatch/updateCallScheduleInfo
|
HTTP Request BodyThis request requires a JSON object supplied in the HTTP request body, which defines the parameters that will be passed through to the ServiceDispatch the Dispatch "Update Call Schedule Info" API. Code Block |
---|
| {
"Id": "0.616182638892496",
"ScheduleDate": "2020-05-13",
"MfgSvcrAcct": "11154",
"ScheduleTimePeriod": "6-8",
"ServiceType": "REP",
"ServiceSite": "SC"
} |
UpdateCallScheduleInfo Object PropertiesProperty | Type | Required? | Description | ServiceDispatch Dispatch Field Mapping |
---|
Id | string | No | Pass through parameter to the ServiceDispatch "Update Call Schedule Info" API. Unique Id sent when creating the call. | CallNo | ScheduleDate | string | No | Pass through parameter to the ServiceDispatch "Update Call Schedule Info" API. The appointment schedule date. | ScheduleDate | MfgSvcrAcct | string | No | Pass through parameter to the ServiceDispatch "Update Call Schedule Info" API. The servicer Id | MfgSvcrAcct | ScheduleTimePeriod | string | No | Pass through parameter to the ServiceDispatch "Update Call Schedule Info" API. The time period the call is scheduled. | ScheduleTimePeriod | ServiceType | string | No | Pass through parameter to the ServiceDispatch "Update Call Schedule Info" API. The type of work to be performed (i.e. Repair, Install, Maintenance, Exchange). | ServiceType | ServiceSite | string | No | Pass through parameter to the ServiceDispatch "Update Call Schedule Info" API. This defines WHERE the service will be performed (i.e. In Home, Shop, Depot). | ServiceSite |
HTTP ResponseSuccessOn success, a JSON-formatted version of the ServiceDispatch Dispatch "Update Call Schedule Info" API response will be returned. Code Block |
---|
| {
"MFGID": "9999",
"Id": "0.616182638892496",
"AckMsg": "OK"
} |
Error On error, a JSON-formatted version of the ServiceDispatch Dispatch "Update Call Schedule Info" API response will be returned. Code Block |
---|
| {
"Success": false,
"Code": 9,
"Payload": {
"returnCode": {
"type": "Error",
"message": "Dispatch Error Code"
}
}
}
|
Return CodesIn addition to the Standard Return Codes, and the ServiceDispatch Dispatch Error codes, individual API calls made have unique codes found on their individual pages. |