Skip to main content
Aria Knowledge Central

assign_functional_acct_group_m Sample Call and Response

This example shows a call that assigns an existing account to a functional account group, based on the assign_functional_acct_group_m method defined in the plsql_m_r73.yml release file.

This example covers the two required identifier pairs and a successful assignment. It does not cover the alternative client-defined identifiers, since Aria-assigned numeric identifiers better fit this example.

Sample call

{
  "rest_call": "assign_functional_acct_group_m",
  "output_format": "json",
  "client_no": 4001,
  "auth_key": "a1b2c3d4e5f6g7h8i9j0",
  "acct_no": 305567,
  "group_no": 4
}

The rest_call and output_format fields form the envelope that the REST layer adds; they are not part of the method's own argument list. The acct_no field identifies the account by its Aria-assigned account number; this example does not use its alternative, client_acct_id, which allows a client-defined account identifier instead. Similarly, group_no identifies the functional account group by its Aria-assigned group number; this example does not use its alternative, client_acct_group_id, which allows a client-defined group identifier instead. Only one field from each alternative pair should be sent in a single call. In this example, group_no 4 represents a client-configured functional account group, such as a group used to flag accounts for concierge-level support handling.

Sample response

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

An error_code of 0 indicates that the assignment completed without error, and error_msg of "OK" confirms the same outcome in text form. This example leaves out error_details, since that field is marked nonpublic in the shared field definitions and carries no value for an external caller. This example also does not show a failure case, such as attempting to assign an account to a collections account group, which the method description states returns an error.

TOP
  • Was this article helpful?