Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Status
colourGreen
title5.4.0

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


Panel
borderColorgrey
bgColorwhitesmoke
borderStylesolid

On this page:

Table of Contents
maxLevel2

Related pages:


Resource URL Summary

Panel
borderColorgrey
bgColorwhitesmoke
borderStylesolid

Pass Through Call to ServiceDispatchto Dispatch's "Update Problem Info" API

PUT /up/v5/rest/dispatch/updateProblemInfo     

Include Page
_Default HTTP Headers
_Default HTTP Headers


API Specifics


Panel
borderColor#D3D3D3

Pass Through Call

to ServiceDispatch

to Dispatch's "Update Problem Info" API

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

URL

Panel
borderColorgrey
bgColorwhitesmoke
borderStylesolid

PUT /up/v5/rest/dispatch/updateProblemInfo

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 ServiceDispatch the Dispatch "Update Problem Info" API.

UpdateProblemInfo Object Format

Code Block
languagejs
{
    "Id": "CT.2019-4-30.100192",
    "MfgSvcrAcct": "FSSTEST",
    "ProbCode": "test1",
    "ProbType": "test1",
    "ProbDesc": "Not working"
}

UpdateProblemInfo Object Properties

PropertyTypeRequired?DescriptionServiceDispatch Dispatch Field Mapping
IdstringNoPass through parameter to the ServiceDispatch "Update Problem Info" API. The call number that was used when the call was originally created.CallNo
MfgSvcrAcctstringNo

Pass through parameter to the ServiceDispatch "Update Problem Info" API. This servicer Id given by the requestor.

MfgSvcrAcct
ProbCodestringNo

Pass through parameter to the ServiceDispatch "Update Problem Info" API. Problem Code. (Dispatch won’t validate on the problem code, this code can be anything defined by the cal source)

ProbCode
ProbTypestringNoPass through parameter to the ServiceDispatch "Update Problem Info" APIProblem typeProbType
ProbDescstringNoPass through parameter to the ServiceDispatch "Update Problem Info" API. Problem description.ProbDesc

HTTP Response

Success

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

Code Block
languagejs
{
    "MFGID": "9999",
    "Id": "CT.2019-4-30.100192",
    "AckMsg": "CALL DETAIL UPDTED SUCCESSFUL"  
}  

Error

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

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

Return Codes

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