get_inv_no_from_bal_xfer_m Sample Call and Response
This example looks up the invoice number associated with a specific balance transfer transaction on a master subscription plan instance, based on the plsql_m_r73.yml definition file for Aria release 73.
This example includes every required field and a representative set of commonly used optional fields, not every field the method accepts.
Sample call
{
"rest_call": "get_inv_no_from_bal_xfer_m",
"output_format": "json",
"client_no": 100234,
"auth_key": "8f3d9c2e1b7a4f6d9e0c1a2b3d4e5f60",
"transaction_id": 9041880,
"acct_no": 300118842,
"master_plan_instance_no": 550219
}
The rest_call and output_format fields are envelope fields added by the REST layer; they are not part of the method's own documented arguments. The transaction_id field is required and identifies the balance transfer transaction being looked up. For the account identifier, this example uses acct_no rather than its alternative, client_acct_id; for the master subscription plan instance identifier, this example uses master_plan_instance_no rather than its alternative, client_master_plan_instance_id. Both acct_no and master_plan_instance_no are optional and further scope the lookup to the correct account and plan instance when the transaction ID alone is ambiguous.
Sample response
{
"error_code": 0,
"error_msg": "OK",
"invoice_no": 8820441,
"outacct_no": 300118842,
"outclient_acct_id": "ACME-0447",
"billing_group_no": 62110,
"client_billing_group_id": "BG-ACME-MAIN"
}
An error_code value of 0 and an error_msg value of “OK” indicate the call succeeded. The invoice_no field reports the Aria-assigned invoice that the balance transfer transaction is associated with, and outacct_no, outclient_acct_id, billing_group_no, and client_billing_group_id together identify the account and billing group that invoice belongs to. This method returns no repeatable arrays, so this response shows the complete set of documented output fields for a successful call, aside from the nonpublic error_details field, which is left out.