Skip to main content
Aria Knowledge Central

update_threshold_billing_rule_for_billing_group_m Guide

The update_threshold_billing_rule_for_billing_group_m API will set the threshold billing rule to be used for a given account's billing groups.

API Specification: update_threshold_billing_rule_for_billing_group_m
Required Fields:
  • <client_no>
  • <auth_key>
  • <acct_no> or <userid> or <client_acct_id>

Additional Guidance

Input Fields
Field Name Notes
<threshold_billing_rule_assignment_updates_row>

If you pass in 2 actions in 1 single API call that assigns and removes the same threshold associated with the same billing group;

Then that threshold will be assigned to the billing group.

The above is true regardless of the order in which you passed the assign and remove actions into the API call.

<assignment_directive>
Allowable Values
Values Description
0 Remove identified threshold billing rule from specified billing group.
1 Assign identified threshold billing rule to specified billing group.

Error Codes

Error Code/Description Associated Inputs

1004: authentication error

<client_no>, <auth_key>

1009: account does not exist, Account not found: AriaNo (acct_no), Account not found: Userid (userid), or Account not found: ClientId (client_acct_id)

<acct_no>, <userid>, <client_acct_id>

1010: missing required parameters, Missing input: (object-name) is required with assignment_directive ($AriaNo)

<client_no>, <auth_key>, <acct_no> or <userid> or <client_acct_id>

1013: Object does not exist, Threshold Rule not found: AriaNo ($AriaNo) or Billing Group not found: AriaNo ($AriaNo)

<billing_group_no>, <client_billing_group_id>, <threshold_billing_rule_no>, <client_threshold_billing_rule_id>

1015: duplicate record found, New assignment conflicts with existing assignment

<userid>

1016: invalid input

Additional Comments:  This error can be caused by the wrong type of input; for example, text in a numbers-only field, or specifying a value other than one of the documented allowable values.

<client_no>, <acct_no>, <assignment_directive>, <billing_group_no>, <threshold_billing_rule_no>

1022: Account billing group not found, Billing group does not belong to account. Billing group: AriaNo ($AriaNo), Account: AriaNo ($AriaNo)

<billing_group_no>, <client_billing_group_id>

1035: invalid assignment directive, Invalid Assignment Directive: (assignment_directive)

<assignment_directive>

1049: Billing or Plan changes not allowed due to the account status, Cannot add assignment for account with status code -99, Cannot add assignment for account with status code 0

Additional Comments: This message indicates a processing problem.

 

5007: invalid currency cd

Additional Comments: See Account Currency ISO Codes for a complete list of valid currency codes.

 
  • Was this article helpful?