/
UpdateCallScheduleInfo RESTified API

UpdateCallScheduleInfo RESTified API

5.4.0

A pass-through API to Dispatch (when configured) which allows the Dispatch's "Update Call Schedule Info" API to be called.     

On this page:

Related pages:

Resource URL Summary

Pass Through Call to Dispatch's "Update Call Schedule Info" API

PUT /up/v5/rest/dispatch/updateCallScheduleInfo   

HTTP Headers

This API uses the standard ServiceBroker HTTP Headers.


API Specifics  

Pass Through Call to Dispatch's "Update Call Schedule Info" API

This RESTified API will perform a pass-through call to the Dispatch sub-system's "Update Call Schedule Info" API (when configured).

URL

PUT /up/v5/rest/dispatch/updateCallScheduleInfo

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 Dispatch "Update Call Schedule Info" API.

UpdateCallScheduleInfo Object Format

{
	"Id": "0.616182638892496",
    "ScheduleDate": "2020-05-13",
    "MfgSvcrAcct": "11154",
    "ScheduleTimePeriod": "6-8",
    "ServiceType": "REP",
    "ServiceSite": "SC"
}

UpdateCallScheduleInfo Object Properties

PropertyTypeRequired?DescriptionDispatch Field Mapping
IdstringNoUnique Id sent when creating the call.CallNo
ScheduleDatestringNoThe appointment schedule date.ScheduleDate
MfgSvcrAcctstringNo

The servicer Id

MfgSvcrAcct
ScheduleTimePeriodstringNo

The time period the call is scheduled.

ScheduleTimePeriod
ServiceTypestringNoThe type of work to be performed (i.e. Repair, Install, Maintenance, Exchange).ServiceType
ServiceSitestringNo

This defines WHERE the service will be performed (i.e. In Home, Shop, Depot).

ServiceSite

HTTP Response

Success

On success, a JSON-formatted version of the Dispatch "Update Call Schedule Info" API response will be returned.

{
    "MFGID": "9999",
    "Id": "0.616182638892496",
    "AckMsg": "OK"
}

Error

On error, a JSON-formatted version of the Dispatch "Update Call Schedule Info" API response will be returned.

{
    "Success": false,
    "Code": 9,
    "Payload": {
        "returnCode": {
            "type": "Error",
            "message": "Dispatch Error Code"
        }
    }
}

Return Codes

In addition to the Standard Return Codes, and the Dispatch Error codes, individual API calls made have unique codes found on their individual pages.

Related content

UpdateProblemInfo RESTified API
UpdateProblemInfo RESTified API
More like this
GetStatusEnquiry RESTified API
GetStatusEnquiry RESTified API
Read with this
UpdateCallStatusInfo RESTified API
UpdateCallStatusInfo RESTified API
More like this
GetStatusHistory RESTified API
GetStatusHistory RESTified API
Read with this
UpdateServicerNotes RESTified API
UpdateServicerNotes RESTified API
More like this
ActUpdate RESTified API
ActUpdate RESTified API
More like this