If usage recorded in the Aria system was incorrect in some way, the discard_usage_m API allows that usage to be discarded. Records discarded with this API are retained within Aria, but are not billable and will return with excluded reason codes if those usage records are fetched. Fetching usage from Aria prior to calling this API is not required, as it accepts either Aria-defined usage codes or client-defined usage codes.
| API Specification: |
discard_usage_m
|
| Required Fields: |
- <client_no>
- <auth_key>
- <usage_record_no> or <client_record_id>
|
Error Codes
| Error Code/Description |
Associated Inputs |
|
|
|
1004: authentication error
|
<auth_key>, <client_id>, <client_no> |
23001: Discard usage completed with some errors
|
|
23002: Usage record not found
|
|
23003: Usage already billed
|
|
23004: Given client_record_id associated with multiple usage records.
|
|
23005: Usage already discarded.
|
|