assign_collections_acct_group_m Sample Call and Response
This example shows you how to assign an account to a collections account group and to a billing group within it, using the plsql_m_r73.yml definition for release seventy-three of the Aria Billing Cloud Core API.
This example covers assigning both a collections account group and a billing group in the same call. It does not cover assigning the account to a collections group at the billing group level through collections_group_bg_no, and it does not cover the one-dollar credit card authorization that Aria performs automatically when the account's payment method is a credit card.
Sample call
{
"rest_call": "assign_collections_acct_group_m",
"output_format": "json",
"client_no": 3001,
"auth_key": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6",
"acct_no": 5544332,
"group_no": 4021,
"billing_group_no": 7789
}
The group_no field identifies the collections account group rather than the alternative client_acct_group_id. The billing_group_no field is optional and identifies the billing group to associate with this assignment rather than the alternative client_billing_group_id. This example omits collections_group_bg_no, which is a separate, optional field that assigns the collections group at the level of the billing group itself rather than at the level of the account.
Sample response
{
"error_code": 0,
"error_msg": "OK"
}
An error_code value of zero, together with an error_msg value of "OK", indicates that Aria assigned the account to the collections account group successfully. This method also defines an error_details field in its returns, but Aria marks that field nonpublic, so this example leaves it out entirely.