Sample Adjustment Cancellation Request and Response in the JSON Format

Using the below example, you can cancel an adjustment which has incorrect data.

Sample Adjustment Cancellation Request in the JSON Format

{
    "C1-CancelAdjustment": {
        "cancelAdjRequest": {
            "adjustmentId": "333337888889",
            "reason": "INNDT",
            "sourceSystem": "ES01",
            "externalTransactionId": "675688",
            "externalSourceId": "2341"
        }
    }
}

Sample Adjustment Cancellation Response in the JSON Format

{
    "C1-CancelAdjustment": {
        "cancelAdjRequest": {
            "adjustmentId": "333337888889",
            "reason": "INNDT",
            "sourceSystem": "ES01",
            "externalTransactionId": "675688",
            "externalSourceId": "2341"
        }
        "cancelAdjResponse": {
            "messageText": "Adjustment Cancel Reason is invalid.",
            "cancelReasonDesc": "",
            "adjustmentStatus": "",
            "statusCd": "Fail"
        }
    }
}
Note: We have given the above sample to illustrate how the attribute value pairs should be structured while sending an adjustment cancellation 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 Cancellation Request and Response - Attribute/Value Pairs in JSON Format Adjustment Cancellation Request and Response - Attribute/Value Pairs in JSON Format