Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 5 Next »

5.4.0

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

On this page:

Related pages:

Resource URL Summary

Pass Through Call to ServiceDispatch's "Update Payment Info" API

PUT /up/v5/rest/dispatch/updatePaymentInfo

HTTP Headers

This API uses the standard ServiceBroker HTTP Headers.


API Specifics

Pass Through Call to ServiceDispatch's "Update Payment Info" API

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

URL

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

UpdatePaymentInfo Object Format

{
    "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 Field Mapping
MfgSvcrAcctstringNo

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

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

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

-

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

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

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

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

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

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

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

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

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

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

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

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

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

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

CoverageEndDatestringNoPass through parameter to the ServiceDispatch "Update Payment Info" API. CoverageEndDate  
,
    "Id": "CT.2019-4-30.100192",
    "AckMsg": ""
}

Error

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

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