/
UpdateConsumerInfo RESTified API

UpdateConsumerInfo RESTified API

5.4.0

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

On this page:

Related pages:

Resource URL Summary

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

PUT /up/v5/rest/dispatch/updateConsumerInfo

HTTP Headers

This API uses the standard ServiceBroker HTTP Headers.


API Specifics

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

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

URL

PUT /up/v5/rest/dispatch/updateConsumerInfo

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

UpdateConsumerInfo Object Format

{
    "MfgSvcrAcct": "FSSTEST",
    "Id": "0.616182638892496",
    "Location": {
        "Contacts": [
            {
                "FirstName": "Cgag",
                "LastName": "greg",
                "ContactPoint": [
                    {
                        "Mode": "Email",
                        "Value": "sp@servicepower.com"
                    },
                    {
                        "Mode": "Phone",
                        "Value": "5022710372"
                    },
                    {
                        "Mode": "Mobile",
                        "Value": "7036369955"
                    },
                    {
                        "Mode": "WorkPhone",
                        "Value": "502271037211"
                    },
                    {
                        "Mode": "WorkPhoneExtn",
                        "Value": "703636995511"
                    }
                ]
            }
        ],
        "Address": {
            "AddrLine1": "379 Wside Dr",
            "AddrLine2": "Ste 888",
            "City": "Gaithesburg",
            "Region": "MD",
            "Country": "USA",
            "PostalCode": "20878"
        }
    }
}

UpdateConsumerInfo Object Properties

Property


TypeRequired?DescriptionDispatch Field Mapping
MfgSvcrAcctstringNo

This servicer Id given by the requestor. 

MfgSvcrAcct
IdstringNoThe call number that was used when the call was originally created. CallNo
LocationobjectNo

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

Location

ContactsarrayNoThe Contact Information of this customer.-


FirstNamestringNoConsumer First nameFirstName


LastNamestringNoConsumer Last name  LastName


ContactPointarrayNoPass through parameter to the Dispatch "Update Consumer Info" API. -



ModestringNoPass through parameter to the Dispatch "Update Consumer Info" API. Mode



ValuestringNoPass through parameter to the Dispatch "Update Consumer Info" API. Value

AddressobjectNoPass through parameter to the Dispatch "Update Consumer Info" API. -


AddrLine1stringNoConsumer address.Address1


AddrLine2stringNoConsumer address 2.Address2


CitystringNoThe city of the Consumer address.PostcodeLevel3


RegionstringNo

USA = State, UK=Outcode Name

PostcodeLevel1


CountrystringNo3 Digit UN Country IDCountry


PostalCodestringNoUSA = State, UK=Outcode NamePostcode

HTTP Response

Success

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

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

Error

On error, a JSON-formatted version of the Dispatch "Update Consumer 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

ReNotify RESTified API
ReNotify RESTified API
Read with this
UpdateProblemInfo RESTified API
UpdateProblemInfo RESTified API
More like this
RESTified APIs
RESTified APIs
Read with this
UpdatePaymentInfo RESTified API
UpdatePaymentInfo RESTified API
More like this
UpdateProductInfo RESTified API
UpdateProductInfo RESTified API
More like this
UpdateCallStatusInfo RESTified API
UpdateCallStatusInfo RESTified API
More like this