Versions Compared

Key

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

Status
colourGreen
title5.4.0

A pass-through API to Dispatch (when configured) which allows the Dispatch's "Update Product 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 Dispatch's "Update Product Info" API

PUT /up/v5/rest/dispatch/updateCallScheduleInfo

Include Page
_Default HTTP Headers
_Default HTTP Headers


API Specifics


Panel
borderColor#D3D3D3

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

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

URL

Panel
borderColorgrey
bgColorwhitesmoke
borderStylesolid

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 Product Info" API.

UpdateProductInfo Object Format

Code Block
languagejs
{
    "MfgSvcrAcct": "FSSTEST",
    "Id": "CT.2019-4-30.100192",
    "Assets": [
        {
            "Mfg": "GE",
            "ProdLine": "REF",
            "Model": "1125369",
            "SerialNum": "22563666",
            "InServiceDate": "2019-01-01",
            "RetailerId": "test",
            "RetailerName": "test"
        }
    ]
}

UpdateProductInfo Object Properties

Property


TypeRequired?DescriptionDispatch Field Mapping
MfgSvcrAcctstringNo

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

MfgSvcrAcct
IdstringNoPass through parameter to the Dispatch "Update Product Info" API. The call number that was used when the call was originally created.CallNo
AssetsarrayNo

Pass through parameter to the Dispatch "Update Product Info" API. 

-

MfgstringNoPass through parameter to the Dispatch "Update Product Info" API. This is the unique identifier in the client CRM which identifies the Brand of the Product requiring service.BrandCode

ProdLinestringNoPass through parameter to the Dispatch "Update Product Info" API. This is the unique identifier in the client CRM which identifies the Product requiring service.ProductCode

ModelstringNoPass through parameter to the Dispatch "Update Product Info" API. The Model ID of the product. This is used in Claims Processing.ModeNo

SerialNumstringNoPass through parameter to the Dispatch "Update Product Info" API. The Serial ID of the Product. This is used in Claims Processing.SerialNo

InServiceDatestringNoPass through parameter to the Dispatch "Update Product Info" API. The date the product was originally put in service. This is used in Claims Processing.InstallDate

RetailerIdstringNoPass through parameter to the Dispatch "Update Product Info" API. The Unique Identifier for the retailer displayed to servicer.RetailerId

RetailerNamestringNoPass through parameter to the Dispatch "Update Product Info" API. The name of retailer, displayed to servicer.RetailerName

HTTP Response

Success

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

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

Error

On error, a JSON-formatted version of the Dispatch "Update Product 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 Dispatch Error codes, individual API calls made have unique codes found on their individual pages.