Skip to main content
Aria Knowledge Central

get_all_acct_receipt_ids_m Sample Call and Response

This example shows a call that retrieves the client receipt identifiers recorded against a specific account over a given date range, based on the plsql_m_r73.yml release definition for get_all_acct_receipt_ids_m.

This example includes every required field plus the optional date-range filters, and it shows the repeatable receipt array with three representative entries. It does not cover a call made without a date range.

Sample call

{
  "rest_call": "get_all_acct_receipt_ids_m",
  "output_format": "json",
  "client_no": 105,
  "auth_key": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6",
  "acct_no": 300224981,
  "start_date_range": "20260101000000",
  "end_date_range": "20260630235959"
}

The rest_call and output_format fields are not part of the method’s documented arguments; the REST gateway adds them to every call to identify the method being invoked and to request a JSON response. The method requires an account identifier, so this example supplies the Aria-assigned acct_no rather than the alternative client-defined client_acct_id. The optional start_date_range and end_date_range fields each hold a fourteen-character date-time value in yyyymmddhhmmss format, narrowing the results to receipts recorded during the first half of 2026 in this example. This method scopes its results to one specified account; a related method, get_all_client_receipt_ids_m, instead returns receipts across an entire client without requiring an account identifier.

Sample response

{
  "error_code": 0,
  "error_msg": "OK",
  "acct_receipt": [
    {
      "client_receipt_id": "RCPT-2026-0417-001",
      "receipt_date": "20260417093012"
    },
    {
      "client_receipt_id": "RCPT-2026-0522-014",
      "receipt_date": "20260522141530"
    },
    {
      "client_receipt_id": "RCPT-2026-0618-009",
      "receipt_date": "20260618083245"
    }
  ]
}

An error_code of zero with an error_msg of “OK” indicates that Aria located the account and returned its receipts successfully. The acct_receipt field is an array of account receipt records; this example shows three entries to illustrate the repeatable structure, but the account could have more or fewer matching receipts depending on the date range supplied. Each entry consists of the client-defined client_receipt_id and the corresponding receipt_date. This example leaves out the nonpublic error_details field, which the method returns internally but which does not represent client-facing information.

TOP
  • Was this article helpful?