Sample Adjustment View Request and Response in the JSON Format

Using the below example, you can view the adjustments of an account which are created against the 5672345000 bill.

Sample Adjustment View Request in the JSON Format

{
    "C1-GetAdjustmentHistory": {
        "getAdjRequest": {
            "sourceSystem": "",
            "externalSourceId": "",
            "c1ExternalTransactionId": "",
            "billId": "5672345000",
            "adjustmentType": "",
            "saType": "",
            "accountId": "",
            "division": "D0307",
            "accountNumber": "2345678900",
            "accountIdentifierType": "ACCTNUM"",
            "adjustmentStatus": "",
            "adjustmentFromDate": "",
            "adjustmentToDate": ""
        }
    }
}

Sample Adjustment View Response in the JSON Format

{
    "C1-GetAdjustmentHistory": {
        "getAdjRequest": {
            "sourceSystem": "",
            "externalSourceId": "",
            "c1ExternalTransactionId": "",
            "billId": "5672345000",
            "adjustmentType": "",
            "saType": "",
            "accountId": "",
            "division": "D0307",
            "accountNumber": "2345678900",
            "accountIdentifierType": "ACCTNUM"",
            "adjustmentStatus": "",
            "adjustmentFromDate": "",
            "adjustmentToDate": ""
        }
        "AdjustmentResponse": {
            "statusCd": "Success",
            "adjustmentList": {
                "adjustmentId": "656565656555",
                "adjustmentTypeCd": "ADTY1",
                "adjustmentType": "ADJUSTMENT TYPE 001",
                "currency": "USD",
                "currentAmount": "12.00",
                "adjustmentStatus": "Frozen",
                "creDt": "2020-01-28"
            },
            "adjustmentList": {
                "adjustmentId": "656565656543",
                "adjustmentTypeCd": "ADTY1",
                "adjustmentType": "ADJUSTMENT TYPE 001",
                "currency": "USD",
                "currentAmount": "10.00",
                "adjustmentStatus": "Frozen",
                "creDt": "2020-01-25"
            },
            "adjustmentList": {
                "adjustmentId": "656565656523",
                "adjustmentTypeCd": "ADTY2",
                "adjustmentType": "ADJUSTMENT TYPE 002",
                "currency": "USD",
                "currentAmount": "15.00",
                "adjustmentStatus": "Frozen",
                "creDt": "2020-01-21"
            },
            "adjustmentList": {
                "adjustmentId": "656565656519",
                "adjustmentTypeCd": "ADTY5",
                "adjustmentType": "ADJUSTMENT TYPE 005",
                "currency": "USD",
                "currentAmount": "13.00",
                "adjustmentStatus": "Frozen",
                "creDt": "2020-01-18"
            },
            "adjustmentList": {
                "adjustmentId": "656565656490",
                "adjustmentTypeCd": "ADTY4",
                "adjustmentType": "ADJUSTMENT TYPE 004",
                "currency": "USD",
                "currentAmount": "20.00",
                "adjustmentStatus": "Frozen",
                "creDt": "2020-01-14"
            },
            "adjustmentList": {
                "adjustmentId": "656565656487",
                "adjustmentTypeCd": "ADTY3",
                "adjustmentType": "ADJUSTMENT TYPE 003",
                "currency": "USD",
                "currentAmount": "21.00",
                "adjustmentStatus": "Frozen",
                "creDt": "2020-01-13"
            },
            "adjustmentList": {
                "adjustmentId": "656565656456",
                "adjustmentTypeCd": "ADTY2",
                "adjustmentType": "ADJUSTMENT TYPE 002",
                "currency": "USD",
                "currentAmount": "10.00",
                "adjustmentStatus": "Frozen",
                "creDt": "2020-01-11"
            },
            "adjustmentList": {
                "adjustmentId": "656565656423",
                "adjustmentTypeCd": "ADTY5",
                "adjustmentType": "ADJUSTMENT TYPE 005",
                "currency": "USD",
                "currentAmount": "18.00",
                "adjustmentStatus": "Frozen",
                "creDt": "2020-01-07"
            },
            "adjustmentList": {
                "adjustmentId": "656565656422",
                "adjustmentTypeCd": "ADTY3",
                "adjustmentType": "ADJUSTMENT TYPE 003",
                "currency": "USD",
                "currentAmount": "11.00",
                "adjustmentStatus": "Frozen",
                "creDt": "2020-01-05"
            }
        }
    }
}
Note: We have given the above sample to illustrate how the attribute value pairs should be structured while sending an adjustment view 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 View Request and Response - Attribute/Value Pairs in JSON Format Adjustment View Request and Response - Attribute/Value Pairs in JSON Format