create_acct_dunning_group_m Sample Call and Response
This example shows a typical call to create_acct_dunning_group_m that creates a new dunning group on an existing account and assigns it to an existing master plan instance, along with a representative response. The example is based on the method definition in plsql_m_r73.yml.
This example includes every field required to create a working dunning group and a representative set of commonly used optional fields, not every field the method accepts.
Sample call
{
"rest_call": "create_acct_dunning_group_m",
"output_format": "json",
"client_no": 10023,
"auth_key": "8f3e2b1a9c7d4e6f0a1b2c3d4e5f6789",
"acct_no": 3300457,
"dunning_group_name": "Escalated Dunning",
"dunning_group_description": "Dunning group for accounts with a history of failed payments",
"client_dunning_group_id": "DUN-ESCALATED",
"dunning_process_no": 3312,
"master_plans_summary": [
{
"plan_instance_no": 8801122
}
],
"client_receipt_id": "RCPT-2026-08955"
}
rest_call and output_format are added by the REST layer common to every Core API call; they do not appear among the method's own documented arguments. acct_no identifies the account the new dunning group is created on; client_acct_id is the client-defined alternative, and only one of the two is supplied, not both.
dunning_process_no identifies the dunning process, which defines the escalation steps (such as retry timing and notification messages) followed for delinquent payments under this dunning group. client_dunning_process_id is its client-defined alternative; supply only one.
master_plans_summary is an array because a single call can assign the new dunning group to more than one existing master plan instance at once; this example includes one entry, identifying the plan instance by its Aria-assigned plan_instance_no. The client_plan_instance_id alternative is not shown. Omitting master_plans_summary entirely creates the dunning group without assigning it to any plan instance.
Sample response
{
"error_code": 0,
"error_msg": "OK",
"dunning_group_no": 445071,
"client_dunning_group_id": "DUN-ESCALATED"
}
error_code of 0 with error_msg of "OK" indicates the dunning group was created successfully. dunning_group_no is the Aria-assigned identifier for the new dunning group, and client_dunning_group_id confirms the client-defined identifier supplied in the request.
This response omits error_details, which is populated only when the request cannot be completed as submitted.