Sample Adjustment View Request and Response in the XML Format
Using the below example, you can view the adjustments of the 3246723446 account whose data is received from the ES01 system and which are created using the ADTY1 adjustment type between 2016-01-01 and 2016-06-30.
Sample Adjustment View Request in the XML Format
<C1-GetAdjustmentHistory>
<getAdjRequest>
<sourceSystem>ES01</sourceSystem>
<externalSourceId></externalSourceId>
<c1ExternalTransactionId></c1ExternalTransactionId>
<billId></billId>
<adjustmentType>ADTY1</adjustmentType>
<saType></saType>
<accountId>3246723446</accountId>
<division></division>
<accountNumber></accountNumber>
<accountIdentifierType></accountIdentifierType>
<adjustmentStatus></adjustmentStatus>
<adjustmentFromDate>2016-01-01</adjustmentFromDate>
<adjustmentToDate>2016-06-30</adjustmentToDate>
</getAdjRequest>
</C1-GetAdjustmentHistory>
Sample Adjustment View Response in the XML Format
<C1-GetAdjustmentHistory>
<getAdjRequest>
<sourceSystem>ES01</sourceSystem>
<externalSourceId></externalSourceId>
<c1ExternalTransactionId></c1ExternalTransactionId>
<billId></billId>
<adjustmentType>ADTY1</adjustmentType>
<saType></saType>
<accountId>3246723446</accountId>
<division></division>
<accountNumber></accountNumber>
<accountIdentifierType></accountIdentifierType>
<adjustmentStatus></adjustmentStatus>
<adjustmentFromDate>2016-01-01</adjustmentFromDate>
<adjustmentToDate>2016-06-30</adjustmentToDate>
</getAdjRequest>
<AdjustmentResponse>
<statusCd>Success</statusCd>
<adjustmentList>
<adjustmentId>143489080564</adjustmentId>
<adjustmentTypeCd>ADTY1</adjustmentTypeCd>
<adjustmentType>ADJUSTMENT TYPE 001</adjustmentType>
<currency>USD</currency>
<currentAmount>12.00</currentAmount>
<adjustmentStatus>Frozen</adjustmentStatus>
<creDt>2016-06-28</creDt>
</adjustmentList>
<adjustmentList>
<adjustmentId>135489080564</adjustmentId>
<adjustmentTypeCd>ADTY1</adjustmentTypeCd>
<adjustmentType>ADJUSTMENT TYPE 001</adjustmentType>
<currency>USD</currency>
<currentAmount>75.00</currentAmount>
<adjustmentStatus>Freezable</adjustmentStatus>
<creDt>2016-05-21</creDt>
</adjustmentList>
<adjustmentList>
<adjustmentId>130489080564</adjustmentId>
<adjustmentTypeCd>ADTY1</adjustmentTypeCd>
<adjustmentType>ADJUSTMENT TYPE 001</adjustmentType>
<currency>USD</currency>
<currentAmount>50.00</currentAmount>
<adjustmentStatus>Frozen</adjustmentStatus>
<creDt>2016-04-10</creDt>
</adjustmentList>
<adjustmentList>
<adjustmentId>128426800005</adjustmentId>
<adjustmentTypeCd>ADTY1</adjustmentTypeCd>
<adjustmentType>ADJUSTMENT TYPE 001</adjustmentType>
<currency>USD</currency>
<currentAmount>15.00</currentAmount>
<adjustmentStatus>Freezable</adjustmentStatus>
<creDt>2016-03-15</creDt>
</adjustmentList>
<adjustmentList>
<adjustmentId>127989656645</adjustmentId>
<adjustmentTypeCd>ADTY1</adjustmentTypeCd>
<adjustmentType>ADJUSTMENT TYPE 001</adjustmentType>
<currency>USD</currency>
<currentAmount>25.00</currentAmount>
<adjustmentStatus>Frozen</adjustmentStatus>
<creDt>2016-02-25</creDt>
</adjustmentList>
<adjustmentList>
<adjustmentId>123489080564</adjustmentId>
<adjustmentTypeCd>ADTY1</adjustmentTypeCd>
<adjustmentType>ADJUSTMENT TYPE 001</adjustmentType>
<currency>USD</currency>
<currentAmount>10.00</currentAmount>
<adjustmentStatus>Frozen</adjustmentStatus>
<creDt>2016-01-28</creDt>
</adjustmentList>
</AdjustmentResponse>
</C1-GetAdjustmentHistory>
Note: We have given the above
sample to illustrate how the tags should be nested 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 - Tags in XML Format | Adjustment View Request and Response - Tags in XML Format |