Sample Adjustment Creation Request and Response in the JSON Format

Using the below example, you can create an adjustment against an active contract which is created using the CT01 contract type for the account.

Sample Adjustment Creation Request in the JSON Format

{
    "C1-CreateAdjustment": {
        "adjustmentRequest": {
            "accountNumber": "2345678900",
            "accountNumberTypeCd": "ACCTNUM",
            "division": "D0307",
            "accountId": "",
            "matchTypeCd": "CNTY",
            "matchTypeValue": "CT01",
            "comment": "",
            "billId": "",
            "currencyCd": "USD",
            "adjustmentType": "ADTY5",
            "currentAmount": "25.00",
            "arrearsDate": "",
            "accountingDate": "",
            "sourceSystem": "ES01",
            "externalTransactionId": "565678",
            "externalSourceId": "2341",
            "adjustmentCharacteristics": {
                "characteristicType": "CL01",
                "characteristicValue": "50"
            }
        }
    }
}

Sample Adjustment Creation Response in the JSON Format

{
    "C1-CreateAdjustment": {
        "adjustmentRequest": {
            "accountNumber": "2345678900",
            "accountNumberTypeCd": "ACCTNUM",
            "division": "D0307",
            "accountId": "",
            "matchTypeCd": "CNTY",
            "matchTypeValue": "CT01",
            "comment": "",
            "billId": "",
            "currencyCd": "USD",
            "adjustmentType": "ADTY5",
            "currentAmount": "25.00",
            "arrearsDate": "",
            "accountingDate": "",
            "sourceSystem": "ES01",
            "externalTransactionId": "565678",
            "externalSourceId": "2341",
            "adjustmentCharacteristics": {
                "characteristicType": "CL01",
                "characteristicValue": "50"
            }
        }
        "adjustmentResponse": {
            "adjustmentId": "763456980012",
            "adjustmentStatus": "Freezable",
            "saId": "6756789012",
            "adjustmentAmount": "25.00",
            "approvalRequestId": "234567890123",
            "statusCd": "Success"
        }
    }
}
Note: We have given the above sample to illustrate how the attribute value pairs should be structured while sending an adjustment creation request from the external system. However, you should not seamlessly use this sample in your environment because the required pre-requisite data may not be available in your environment. In such case, the system will give erroneous results.

Related Topics

For more information on... See...
Adjustment Creation Request and Response - Attribute/Value Pairs in JSON Format Adjustment Creation Request and Response - Attribute/Value Pairs in JSON Format