Skip to main content
Aria Knowledge Central

set_acct_notify_override_m Sample Call and Response

This example shows a call that assigns an alternate message template to replace the standard dunning template for one specific account. The example is based on the set_acct_notify_override_m method defined in plsql_m_r73.yml. This method sets a single-template override for one account and one template class; it is distinct from set_acct_notify_tmplt_grp_m, which assigns an entire named notification template group to an account.

This example includes every required field and a representative set of commonly used optional fields, not every field the method accepts.

Sample call

{
  "rest_call": "set_acct_notify_override_m",
  "output_format": "json",
  "client_no": 4521,
  "auth_key": "FAKE-AUTH-KEY-0001",
  "acct_no": 830147,
  "template_class": "D",
  "override_template_no": 5502,
  "override_template_option": 1
}

The account is identified with acct_no, one side of an alternative-identifier group that also includes acct_user_id and client_acct_id; acct_no is used here because it is the Aria-assigned numeric identifier. The template_class value of “D” means “Dunning.” Other allowed values include “I” for invoice or statement, “A” for account activation, “C” for credit card expiry, and several others, since this field accepts a broad set of message template classes. The override_template_option value of one means “Set/Update the override message template for the given template class,” which is also the default; a value of two would instead remove an existing override for that template class, in which case override_template_no would be left blank. The rest_call and output_format fields are not part of the method’s own documented arguments; they are added by the REST gateway that routes the request to this method.

Sample response

{
  "error_code": 0,
  "error_msg": "OK"
}

An error_code of zero and an error_msg of “OK” indicate that the override template was set successfully. This example leaves out error_details, which is a nonpublic, internal-use field, and leaves out do_logging_ind, which is also a nonpublic field used only for internal logging with no effect visible to you.

TOP
  • Was this article helpful?