Home > Aria6 User Documentation > Aria6 core api > bulk_record_usage

bulk_record_usage

Creates bulk usage records for a specified client for inclusion in a future invoice. This API should not be used unless there are more than 100 records being inserted for performance reasons.

Input Arguments

Req Field Name Field Type Max Length Description
required-icon.png client_no long 22 Aria-assigned unique identifier indicating the Aria client providing service to this account.
required-icon.png auth_key string 32 Aria-assigned unique key to be passed with each method call for authenticating the validity of the requestor.
required-icon.png usage_records array    
  brd_arrow.gifacct_no long   An array containing acct_no(s)
  brd_arrow.gifuserid string 100 An array containing userid(s)
  brd_arrow.gifusage_type long 38 An array containing usage_type(s). Either this array OR 'usage_type_code' must be passed into the API to denote which usage type(s) to record.
  OR      
  brd_arrow.gifusage_type_code string 30 An array containing usage_type_code(s). Either this array OR 'usage_type' must be passed into the API to denote which usage type(s) to record.
required-icon.png brd_arrow.gifusage_units double 10 An array containing usage_type(s)
  brd_arrow.gifusage_date string   An array containing usage_date(s)
  brd_arrow.gifbillable_units double 10 An array containing billable_units
  brd_arrow.gifamt double 38 An array containing amounts
  brd_arrow.gifrate double 38 An array containing rates
  brd_arrow.giftelco_from string 100 An array containing telco_from(s)
  brd_arrow.giftelco_to string 1000 An array containing telco_to(s)
  brd_arrow.gifcomments string   An array containing comments
  brd_arrow.gifexclude_from_billing string 5 An array containing exclude_from_billing(s)  

Allowable values for exclude_from_billing:

  brd_arrow.gifexclusion_comments string 300 An array containing exclusion_comments
  brd_arrow.gifparent_usage_rec_no long 1000 An array containing parent_usage_rec_no(s)
  brd_arrow.gifqualifier_1 string 300 An array containing qualifier_1(s)
  brd_arrow.gifqualifier_2 string 300 An array containing qualifier_2(s)
  brd_arrow.gifqualifier_3 string 300 An array containing qualifier_3(s)
  brd_arrow.gifqualifier_4 string 300 An array containing qualifier_4(s)
  brd_arrow.gifclient_record_id string 50 An array containing client_record_id(s)
  brd_arrow.gifcaller_id string 50 An array containing caller_id(s)
  client_receipt_id string 50 Client-defined unique identifier used to track related system actions
  alt_caller_id string 30 Person or process that submitted the API call. This can be someone's user ID, or the name of an application.
  optional_transaction_qualifiers array   Array of additional values you can associate with this API call.
  brd_arrow.gif qualifier_name string 100 Name of the field you want to associate with this API call.
  brd_arrow.gif qualifier_value string 100 Corresponding value of the field you want to associate with this API call.
 

Output Arguments

Field Name Field Type Description
error_code long Aria-assigned error identifier. 0 indicates no error.
error_msg string Description of any error that occurred. "OK" if there was no error.
error_records hash If client record IDs are provided, an array of error codes and error messages for individual records
brd_arrow.gif out_client_record_id string If a record ID was provided in the input, this is that same ID for every record which had an error
brd_arrow.gif acct_no long Aria-assigned account identifier specific to the usage record which had an error.
brd_arrow.gif record_error_code long The error code for the specific record provided
brd_arrow.gif record_error_msg string The error message for the specific record provided
 
 
 
Last modified

Tags

This page has no custom tags.

Classifications

This page has no classifications.