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 3 Next »

5.8.9

A pass-through API to ServiceClaims (when configured) which allows the ServiceClaims's "Get Claims Data" API to be called.       

On this page:

Related pages:

Resource URL Summary

Pass Through Call to ServiceClaims's "Get Claims Data" API

POST /up/v5/claims/_query

HTTP Headers

This API uses the standard ServiceBroker HTTP Headers.


API Specifics

Pass Through Call to ServiceClaims's "Get Claims Data" API

This RESTified API will perform a pass-through call to the ServiceClaims sub-system's "Get Claims Data" API (when configured).

URL

POST /up/v5/claims/_query

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 ServiceClaims "Get Claims Data" API.

GetClaimsData Object Format

{
	"ManufacturerName": "INSINKERATOR",
	"ServiceCenterNumber": "",
	"ClaimIdentifier": "",
	"ClaimBatchNumber": 0,
	"ClaimSequenceNumber": 0,
	"ClaimNumber": "ISL5ZRD9K",
	"CallNumber": ""
}

GetClaimsData Object Properties

PropertyTypeRequired?DescriptionServiceClaims Field Mapping
ManufacturerNamestringNoPass through parameter to the ServiceClaims "Get Claims Data" API. manufacturerName
ServiceCenterNumberstringNoPass through parameter to the ServiceClaims "Get Claims Data" API. serviceCenterNumber
ClaimIdentifierstringNo

Pass through parameter to the ServiceClaims "Get Claims Data" API. 

claimIdentifier
ClaimBatchNumberintegerNo

Pass through parameter to the ServiceClaims "Get Claims Data" API. 

claimBatchNumber
ClaimSequenceNumberintegerNo

Pass through parameter to the ServiceClaims "Get Claims Data" API. 

claimSequenceNumber
ClaimNumberstringNo

Pass through parameter to the ServiceClaims "Get Claims Data" API. 

claimNumber
CallNumberstringNoPass through parameter to the ServiceClaims "Get Claims Data" API. callNumber

HTTP Response

Success

On success, a JSON-formatted version of the ServiceClaims "Get Claims Data" API response will be returned.

GetClaimsData Response Object Format

{
    "Success": true,
    "Code": 0,
    "Message": "OK",
    "Payload": {
        "TransactionId": "0044794809INSNKWS001",
        "ResponseCode": "OK",
        "Claims": [
            {
                "PeriodEndingDate": 20180501,
                "PaidStateTaxAmount": 0,
                "PaidIncentiveAmount": 0,
                "ServicerNumber": "54789",
                "PaidTravelAmount": 0,
                "PaymentAmount": 0,
                "ClaimBatchNumber": 100,
                "ProductName": "",
                "PaymentType": "",
                "PaidOtherAmount": 0,
                "PaidPartsHandlingAmount": 0,
                "PaidFederalTaxAmount": 0,
                "ClaimSequenceNumber": 6813,
                "ReceivedDate": 20180501,
                "ClaimNumber": "ISL5ZRD9K",
                "PaidLaborAmount": 93,
                "BrandName": "B01",
                "ClaimStatusDescription": "Paid",
                "SerialNumber": "DI999887795",
                "EditedDate": 0,
                "ClaimIdentifier": "000100006813",
                "PaidShippingAmount": 0,
                "PaidPartsAmount": 0,
                "PaidTotal": 93,
                "AuthorizationNumber": "",
                "CallNumber": "",
                "PaidMileageAmount": 0,
                "ServicerName": "DAVE'S APPLIANCE",
                "PaymentMethod": "",
                "ModelNumber": "76039H",
                "PaidFreightAmount": 0,
                "ClaimStatusCode": "P",
                "PaymentDate": 20180501,
                "PaymentTransactionNumber": "0"
            },
            // ...
        ]
    }
}

GetClaimsData Response Object Properties

PropertyTypeDescription
ClaimsarrayPass through parameter from the ServiceClaims "Get Claims Data" API. 


objectPass through parameter from the ServiceClaims "Get Claims Data" API. 


PeriodEndingDateintegerPass through parameter from the ServiceClaims "Get Claims Data" API. 


PaidStateTaxAmountintegerPass through parameter from the ServiceClaims "Get Claims Data" API. 


PaidIncentiveAmountintegerPass through parameter from the ServiceClaims "Get Claims Data" API. 


ServicerNumberstringPass through parameter from the ServiceClaims "Get Claims Data" API. 


PaidTravelAmountintegerPass through parameter from the ServiceClaims "Get Claims Data" API. 


PaymentAmountintegerPass through parameter from the ServiceClaims "Get Claims Data" API. 


ClaimBatchNumberintegerPass through parameter from the ServiceClaims "Get Claims Data" API. 


ProductNamestringPass through parameter from the ServiceClaims "Get Claims Data" API. 


PaymentTypestringPass through parameter from the ServiceClaims "Get Claims Data" API. 


PaidOtherAmountintegerPass through parameter from the ServiceClaims "Get Claims Data" API. 


PaidPartsHandlingAmountintegerPass through parameter from the ServiceClaims "Get Claims Data" API. 


PaidFederalTaxAmountintegerPass through parameter from the ServiceClaims "Get Claims Data" API. 


ClaimSequenceNumberintegerPass through parameter from the ServiceClaims "Get Claims Data" API. 


ReceivedDateintegerPass through parameter from the ServiceClaims "Get Claims Data" API. 


ClaimNumberstringPass through parameter from the ServiceClaims "Get Claims Data" API. 


PaidLaborAmountintegerPass through parameter from the ServiceClaims "Get Claims Data" API. 


BrandNamestringPass through parameter from the ServiceClaims "Get Claims Data" API. 


ClaimStatusDescriptionstringPass through parameter from the ServiceClaims "Get Claims Data" API. 


SerialNumberstringPass through parameter from the ServiceClaims "Get Claims Data" API. 


EditedDateintegerPass through parameter from the ServiceClaims "Get Claims Data" API. 


ClaimIdentifierstringPass through parameter from the ServiceClaims "Get Claims Data" API. 


PaidShippingAmountintegerPass through parameter from the ServiceClaims "Get Claims Data" API. 


PaidPartsAmountintegerPass through parameter from the ServiceClaims "Get Claims Data" API. 


PaidTotalintegerPass through parameter from the ServiceClaims "Get Claims Data" API. 


AuthorizationNumberstringPass through parameter from the ServiceClaims "Get Claims Data" API. 


CallNumberstringPass through parameter from the ServiceClaims "Get Claims Data" API. 


PaidMileageAmountintegerPass through parameter from the ServiceClaims "Get Claims Data" API. 


ServicerNamestringPass through parameter from the ServiceClaims "Get Claims Data" API. 


PaymentMethodstringPass through parameter from the ServiceClaims "Get Claims Data" API. 


ModelNumberstringPass through parameter from the ServiceClaims "Get Claims Data" API. 


PaidFreightAmountintegerPass through parameter from the ServiceClaims "Get Claims Data" API. 


ClaimStatusCodestringPass through parameter from the ServiceClaims "Get Claims Data" API. 


PaymentDateintegerPass through parameter from the ServiceClaims "Get Claims Data" API. 


PaymentTransactionNumberstringPass through parameter from the ServiceClaims "Get Claims Data" API. 

Error

On error, a JSON-formatted version of the ServiceClaims "Get Claims Data" API response will be returned.

{
    "Success": false,
    "Code": 8,
    "Message": {
        "name": "BadRequest",
        "message": "Error occurred while querying the Claim!",
        "code": 400,
        "className": "bad-request",
        "data": {
            "transactionId": "0008019566INSNKWS001",
            "responseCode": "ER",
            "messages": [
                {
                    "message": "Invalid manufacturerName"
                }
            ]
        },
        "errors": {}
    }
}
  • No labels