remove_acct_from_group_m Sample Call and Response
This example shows a call that removes a specific account from a specified account group, based on the remove_acct_from_group_m method defined in plsql_m_r73.yml.
This example includes every required field, resolving each alternative-field group to a single side, and leaves out the optional billing group and collections group fields.
Sample call
{
"rest_call": "remove_acct_from_group_m",
"output_format": "json",
"client_no": 66123,
"auth_key": "sample-auth-key-not-real-000111",
"acct_no": 3038219,
"group_no": 4021
}
Two groups of alternative fields appear in this method. First, acct_no and client_acct_id are alternatives for identifying the account to remove; this example supplies the Aria-assigned acct_no. Second, group_no and client_acct_group_id are alternatives for identifying the account group to remove the account from; this example supplies the Aria-assigned group_no. The optional billing_group_no and collections_group_bg_no fields, along with their client-defined alternatives, are left out of this example, since removing an account from an account group does not require them. The auth_key and output_format fields sit outside the method's own documented arguments; auth_key authenticates the caller, and output_format, together with rest_call, forms the envelope that the REST gateway adds to every call, requesting a JSON response.
Sample response
{
"error_code": 0,
"error_msg": "OK"
}
An error_code value of 0 and an error_msg value of "OK" indicate that Aria successfully removed the account from the specified account group. This method returns no fields beyond the error indicators; this example does not include the error_details field, since that field is for internal use and does not appear in a client-facing response.