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 | Type | Required? | Description | ServiceDispatch Field Mapping | |||
---|---|---|---|---|---|---|---|
MfgSvcrAcct | string | No | Pass through parameter to the ServiceDispatch "Update Payment Info" API. | MfgSvcrAcct | |||
Id | string | No | Pass through parameter to the ServiceDispatch "Update Payment Info" API. | CallNo | |||
Payment | array | No | Pass through parameter to the ServiceDispatch "Update Payment Info" API. | - | |||
CoPayAmount | string | No | Pass through parameter to the ServiceDispatch "Update Payment Info" API. | CoPayAmount | |||
ServiceContractId | string | No | Pass through parameter to the ServiceDispatch "Update Payment Info" API. | SvcContKey | |||
ServiceContractEndDate | string | No | Pass through parameter to the ServiceDispatch "Update Payment Info" API. | ContExpiryDate | |||
PONumber | string | No | Pass through parameter to the ServiceDispatch "Update Payment Info" API. | PONumber | |||
POAmount | integer | No | Pass through parameter to the ServiceDispatch "Update Payment Info" API. | POAmount | |||
VPONumber | string | No | Pass through parameter to the ServiceDispatch "Update Payment Info" API. | VPONumber | |||
VPOAmount | integer | No | Pass through parameter to the ServiceDispatch "Update Payment Info" API. | VPOAmount | |||
WarrantyType | string | No | Pass through parameter to the ServiceDispatch "Update Payment Info" API. | WarrantyType | |||
Coverage | object | No | Pass through parameter to the ServiceDispatch "Update Payment Info" API. | Coverage | |||
Component | string | No | Pass through parameter to the ServiceDispatch "Update Payment Info" API. | Component | |||
CoverageElement | string | No | Pass through parameter to the ServiceDispatch "Update Payment Info" API. | CoverageElement | |||
CoverageDays | string | No | Pass through parameter to the ServiceDispatch "Update Payment Info" API. | CoverageDays | |||
BillTo | string | No | Pass through parameter to the ServiceDispatch "Update Payment Info" API. | BillTo | |||
MaxReimburse | string | No | Pass through parameter to the ServiceDispatch "Update Payment Info" API. | MaxReimburse | |||
CoverageStartDate | string | No | Pass through parameter to the ServiceDispatch "Update Payment Info" API. | CoverageStartDate | |||
CoverageEndDate | string | No | Pass 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" } } }