Skip to main content
Aria Knowledge Central

get_acct_comments_m Sample Call and Response

This example retrieves the comments (notes) recorded against an account within a six-and-a-half-month date range. It is based on the get_acct_comments_m method definition in plsql_m_r73.yml.

This example includes every required field. It leaves out the optional do_url_encoding and filter_application_id fields, which are described in the prose notes below.

Sample call

{
  "rest_call": "get_acct_comments_m",
  "output_format": "json",
  "client_no": 6423,
  "auth_key": "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4",
  "acct_no": 3300481,
  "date_range_start": "2026-01-01",
  "date_range_end": "2026-07-24"
}

The rest_call and output_format fields are added by the REST gateway that fronts every Aria Billing Cloud Core API method, not by the method itself. The acct_no field identifies the account whose comments you retrieve; this example uses the Aria-assigned numeric identifier rather than its alternative, client_acct_id. The date_range_start and date_range_end fields are both required and bound the search to comments created between January one, 2026, and July twenty-four, 2026.

Sample response

{
  "error_code": 0,
  "error_msg": "OK",
  "acct_comments": [
    {
      "comment_author": "svasquez",
      "comment_date_time": "2026-02-11 09:14:22",
      "comment": "Customer called to confirm receipt of the January invoice; no further action needed.",
      "application_id": "Salesforce",
      "application_date": "2026-02-11 09:14:00",
      "comment_no": 990145
    },
    {
      "comment_author": "dpham",
      "comment_date_time": "2026-04-03 14:02:51",
      "comment": "Applied a one-time service credit per approved billing dispute BD-2216.",
      "application_id": "Aria UI",
      "application_date": "2026-04-03 14:02:00",
      "comment_no": 991872
    },
    {
      "comment_author": "api_integration_user",
      "comment_date_time": "2026-06-19 08:47:10",
      "comment": "Updated backup payment method after card decline notification.",
      "application_id": "Salesforce",
      "application_date": "2026-06-19 08:47:00",
      "comment_no": 993310
    }
  ]
}

An error_code value of zero and an error_msg value of "OK" together indicate that Aria retrieved the comments successfully. The acct_comments array shows three comments for illustration, spanning two different application sources; a real account could return more or fewer comments than shown here within the requested date range. This example leaves out do_url_encoding, which requests MIME encoding of the returned text, and filter_application_id, which would narrow the results to comments recorded by one specific calling application, such as Salesforce. This example also leaves out the error_details field entirely, since that field is for internal use only.

TOP
  • Was this article helpful?