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 Payment 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 Payment Info" API

PUT /up/v5/rest/dispatch/updatePaymentInfo

Include Page
_Default HTTP Headers
_Default HTTP Headers


API Specifics


Panel
borderColor#D3D3D3

Pass Through Call

to ServiceDispatch

to Dispatch's "Update Payment Info" API

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

URL

Panel
borderColorgrey
bgColorwhitesmoke
borderStylesolid

PUT /up/v5/rest/dispatch/updatePaymentInfo

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

UpdatePaymentInfo Object Format

Code Block
languagejs
{
    "MfgSvcrAcct": "FSSTEST",
    "Id": "CT.2019-4-30.100192",
    "Payment": [
        {
            "CoPayAmount": "20.00",
            "ServiceContractId": "4447587",
            "ServiceContractEndDate": "2019-11-21",
            "PONumber": "0555",
            "POAmount": 200,
            "VPONumber": "556896",
            "VPOAmount": 120,
            "WarrantyType": "REP"
        }
    ],
    "Coverage": {
        "Component": "",
        "CoverageElement": "",
        "CoverageDays": "",
        "BillTo": "",
        "MaxReimburse": "",
        "CoverageStartDate": "",
        "CoverageEndDate": ""
    }
}

UpdatePaymentInfo Object Properties

Property


TypeRequired?DescriptionServiceDispatch Dispatch Field Mapping
MfgSvcrAcctstringNo

Pass through parameter to the ServiceDispatch Dispatch "Update Payment Info" API. 

MfgSvcrAcct
IdstringNoPass through parameter to the ServiceDispatch Dispatch "Update Payment Info" API. CallNo
PaymentarrayNo

Pass through parameter to the ServiceDispatch Dispatch "Update Payment Info" API. 

-

CoPayAmountstringNoPass through parameter to the ServiceDispatch Dispatch "Update Payment Info" API. CoPayAmount

ServiceContractIdstringNoPass through parameter to the ServiceDispatch Dispatch "Update Payment Info" API. SvcContKey

ServiceContractEndDatestringNoPass through parameter to the ServiceDispatch Dispatch "Update Payment Info" API. ContExpiryDate

PONumberstringNoPass through parameter to the ServiceDispatch Dispatch "Update Payment Info" API. PONumber

POAmountintegerNoPass through parameter to the ServiceDispatch Dispatch "Update Payment Info" API. POAmount

VPONumberstringNoPass through parameter to the ServiceDispatch Dispatch "Update Payment Info" API. VPONumber

VPOAmountintegerNoPass through parameter to the ServiceDispatch Dispatch "Update Payment Info" API. VPOAmount

WarrantyTypestringNoPass through parameter to the ServiceDispatch Dispatch "Update Payment Info" API. WarrantyType
CoverageobjectNoPass through parameter to the ServiceDispatch Dispatch "Update Payment Info" API. Coverage

ComponentstringNoPass through parameter to the ServiceDispatch Dispatch "Update Payment Info" API. Component

CoverageElementstringNoPass through parameter to the ServiceDispatch Dispatch "Update Payment Info" API. CoverageElement

CoverageDaysstringNoPass through parameter to the ServiceDispatch Dispatch "Update Payment Info" API. CoverageDays

BillTostringNoPass through parameter to the ServiceDispatch Dispatch "Update Payment Info" API. BillTo

MaxReimbursestringNoPass through parameter to the ServiceDispatch Dispatch "Update Payment Info" API. MaxReimburse

CoverageStartDatestringNoPass through parameter to the ServiceDispatch Dispatch "Update Payment Info" API. CoverageStartDate

CoverageEndDatestringNoPass through parameter to the ServiceDispatch Dispatch "Update Payment Info" API. CoverageEndDate  


Code Block
languagejs
,
    "Id": "CT.2019-4-30.100192",
    "AckMsg": ""
}

Error

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