Skip to main content
Aria Knowledge Central

get_plan_instance_information_m

Description

Searches for stacks based on query-able fields. Returns "plan_instance_details"

Inputs

Name Type Length Required Description
username string 30 No DeprecatedThe login name of the user making this request. It is the same name that is used to log in to the Aria Administration and Configuration Tool.
password string 1000 No DeprecatedThe password of the user making this request. It is the same password that is used to log in to the Aria Administration and Configuration Tool.
client_no long 12 Yes Aria-assigned unique identifier indicating the Aria client providing service to this account.
auth_key string 32 Yes Aria-assigned unique key to be passed with each method call for authenticating the validity of the requestor.
limit long 12 No The maximum number of objects to be returned by this call. Note that Aria recommends a maximum limit of less than 1,000. Higher limits may take much longer to return data. If you do not specify a value, or specify a value of "0", this field defaults to 100. Specifying a value of "-1" returns a count of the number of matching records, but does not return any records.
offset long 12 No The number of records to skip. Note that both "0" and NULL will cause the interface not to skip any records.
query_string string 1000 Yes The criteria which all returned objects must match. Different objects have a different set of searchable criteria. Fields marked with "*Query" in the returns section can be used as part of the query_string. Valid operations for the query string include "=", "!=", "<", "<=", ">=", ">", "IS NULL", "IS NOT NULL", "LIKE", and "NOT LIKE". You must leave a space before and after each operation. The first operand must always be a field name, and the second operand must always be a value (except for "IS NULL" and "IS NOT NULL", where the second operand is implicitly "NULL"). If the second operand contains a space, less than, greater than, or equals sign, then it must be enclosed in double quotes. The second operand may not contain double quotes. Multiple conditions must be joined with either "AND" or "OR". Additionally, any queryable field can also be used to order the results, by appending "ORDER BY" to the query, followed by a field name and either "ASC" or "DESC".

Querystring Keys

Key Name Description
acct_no The Aria assigned ID of the account
user_id The client defined user_id for the account
client_acct_id Client specified account identifier
plan_instance_no The system defined ID of the plan instance
client_plan_instance_id The client defined ID of the plan instance
product_field_name The client defined ID of the plan instance field
product_field_value The value that was assigned to this field on this plan instance
plan_no The Aria assigned ID of the master plan for this account
client_plan_id The client defined ID of the plan on this instance
last_bill_date The last date on which the plan instance was billed
next_bill_date The next date on which the plan instance is scheduled to be billed
bill_thru_date The date through which the plan instance has been billed
status_cd The status code of the plan instance
master_plan_instance_balance The balance of this "master plan instance"

Outputs

Name Type Length Required Description
error_code long   No Aria assigned error identifier. 0 indicates no error
error_msg string   No Textual description of any error that occurred. "OK" if there was no error.
starting_record long   No This indicates the number of objects that were (or would be) skipped before beginning output.
total_records long   No This is the total number of objects that matched the provided criteria.
Start of plan_instance_details hash
plan_instance_details hash   No List of plan_instance_details associated with this method.
Name Type Length Required Description
▶acct_no long   No The Aria assigned ID of the account
▶user_id string 100 No The client defined user_id for the account
▶client_acct_id string   No Client specified account identifier
▶plan_instance_no string   No The system defined ID of the plan instance
▶client_plan_instance_id string   No The client defined ID of the plan instance
Start of product_fields hash
▶product_fields hash   No List of product_fields associated with this method.
Name Type Length Required Description
▶▶product_field_no long   No The system-defined ID of the plan instance field
▶▶product_field_desc string   No No value - only for compatibility
▶▶product_field_name string   No The client defined ID of the plan instance field
▶▶product_field_value string   No The value that was assigned to this field on this plan instance
End of product_fields hash
▶plan_no long   No The Aria assigned ID of the master plan for this account
▶client_plan_id string   No The client defined ID of the plan on this instance
▶plan_name string   No The name of the plan on this instance
▶plan_units long   No The number of units assigned to this instance
▶last_bill_date string   No The last date on which the plan instance was billed
▶next_bill_date string   No The next date on which the plan instance is scheduled to be billed
▶bill_thru_date string   No The date through which the plan instance has been billed
▶status_cd string   No The status code of the plan instance
▶status_date string   No The date at which the plan instance entered the current status
▶schedule_no string   No The balance of this "stack" (master plan instance only)
▶master_plan_instance_balance double   No The balance of this "master plan instance"
▶billing_group_no long   No The system defined billing group ID
▶client_billing_group_id string   No The client defined defined billing group ID
▶dunning_group_no long   No The system defined dunning group ID
▶responsibility_level_cd double   No The responsibility level code. These are values 1 through 3 as described in the legend for this argument.

Allowed values:

Value Description
1Standard Self Pay
2Parent Pay
3Parent Usage & Pay
▶responsible_plan_instance_no long   No Identifier for the responsible plan instance. Applicable if responsibility_level_cd is 2 or 3.
Start of primary_payment_method hash
▶primary_payment_method (deprecated) hash   No List of primary_payment_method associated with this method.
Name Type Length Required Description
▶▶billing_first_name string   No First name from the current address instance
▶▶billing_middle_initial string   No Middle name from the current address instance
▶▶billing_last_name string   No Last name from the current address instance
▶▶billing_address1 string   No BillingAddress1 from the current address instance
▶▶billing_address2 string   No BillingAddress2 from the current address instance
▶▶billing_city string   No City from the current address instance
▶▶billing_state string   No State from the current address instance
▶▶billing_locality string   No Locality from the current address instance
▶▶billing_zip string   No Zipcode from the current address instance
▶▶billing_country string   No Country from the current address instance
▶▶billing_intl_phone string   No Intl phone from the current address instance
▶▶billing_email string   No Email from the current address instance
▶▶pay_method_type int   No pay type from the current billing instance
▶▶cc_expire_mm string   No cc expire months from the current billing instance
▶▶cc_expire_yyyy string   No cc expire year from the current billing instance
▶▶bank_routing_num string   No bank routing num from the current billing instance
▶▶payment_instrument_suffix string   No suffix from the current billing instance
▶▶primary_payment_method_name string   No Primary payment method name from the current billing instance
▶▶primary_payment_method_description string   No primary payment method description from the current billing instance
▶▶primary_payment_method_client_defined_id string   No Primary payment client defined id from the current billing instance
End of primary_payment_method hash
Start of backup_payment_method hash
▶backup_payment_method (deprecated) hash   No List of backup_payment_method associated with this method.
Name Type Length Required Description
▶▶bkup_billing_first_name string   No First name from the current address instance
▶▶bkup_billing_middle_initial string   No Middle name from the current address instance
▶▶bkup_billing_last_name string   No Last name from the current address instance
▶▶bkup_billing_address1 string   No BillingAddress1 from the current address instance
▶▶bkup_billing_address2 string   No BillingAddress2 from the current address instance
▶▶bkup_billing_city string   No City from the current address instance
▶▶bkup_billing_state string   No State from the current address instance
▶▶bkup_billing_locality string   No Locality from the current address instance
▶▶bkup_billing_zip string   No Zipcode from the current address instance
▶▶bkup_billing_country string   No Country from the current address instance
▶▶bkup_billing_intl_phone string   No Intl phone from the current address instance
▶▶bkup_billing_email string   No Email from the current address instance
▶▶bkup_pay_method_type int   No pay type from the current billing instance
▶▶bkup_cc_expire_mm string   No cc expire months from the current billing instance
▶▶bkup_cc_expire_yyyy string   No cc expire year from the current billing instance
▶▶bkup_bank_routing_num string   No bank routing num from the current billing instance
▶▶bkup_payment_instrument_suffix string   No suffix from the current billing instance
▶▶backup_payment_method_name string   No Primary payment method name from the current billing instance
▶▶backup_payment_method_description string   No primary payment method description from the current billing instance
▶▶backup_payment_method_client_defined_id string   No Primary payment client defined id from the current billing instance
End of backup_payment_method hash
Start of primary_payment_method_info hash
▶primary_payment_method_info hash   No List of primary_payment_method_info associated with this method.
Name Type Length Required Description
▶▶billing_first_name string   No First name from the current address instance
▶▶billing_middle_initial string   No Middle name from the current address instance
▶▶billing_last_name string   No Last name from the current address instance
▶▶billing_address1 string   No BillingAddress1 from the current address instance
▶▶billing_address2 string   No BillingAddress2 from the current address instance
▶▶billing_city string   No City from the current address instance
▶▶billing_state string   No State from the current address instance
▶▶billing_locality string   No Locality from the current address instance
▶▶billing_zip string   No Zipcode from the current address instance
▶▶billing_country string   No Country from the current address instance
▶▶billing_intl_phone string   No Intl phone from the current address instance
▶▶billing_email string   No Email from the current address instance
▶▶pay_method_type int   No pay type from the current billing instance
▶▶cc_expire_mm string   No cc expire months from the current billing instance
▶▶cc_expire_yyyy string   No cc expire year from the current billing instance
▶▶bank_routing_num string   No bank routing num from the current billing instance
▶▶payment_instrument_suffix string   No suffix from the current billing instance
▶▶primary_payment_method_name string   No Primary payment method name from the current billing instance
▶▶primary_payment_method_description string   No primary payment method description from the current billing instance
▶▶primary_payment_method_client_defined_id string   No Primary payment client defined id from the current billing instance
End of primary_payment_method_info hash
Start of backup_payment_method_info hash
▶backup_payment_method_info hash   No List of backup_payment_method_info associated with this method.
Name Type Length Required Description
▶▶bkup_billing_first_name string   No First name from the current address instance
▶▶bkup_billing_middle_initial string   No Middle name from the current address instance
▶▶bkup_billing_last_name string   No Last name from the current address instance
▶▶bkup_billing_address1 string   No BillingAddress1 from the current address instance
▶▶bkup_billing_address2 string   No BillingAddress2 from the current address instance
▶▶bkup_billing_city string   No City from the current address instance
▶▶bkup_billing_state string   No State from the current address instance
▶▶bkup_billing_locality string   No Locality from the current address instance
▶▶bkup_billing_zip string   No Zipcode from the current address instance
▶▶bkup_billing_country string   No Country from the current address instance
▶▶bkup_billing_intl_phone string   No Intl phone from the current address instance
▶▶bkup_billing_email string   No Email from the current address instance
▶▶bkup_pay_method_type int   No pay type from the current billing instance
▶▶bkup_cc_expire_mm string   No cc expire months from the current billing instance
▶▶bkup_cc_expire_yyyy string   No cc expire year from the current billing instance
▶▶bkup_bank_routing_num string   No bank routing num from the current billing instance
▶▶bkup_payment_instrument_suffix string   No suffix from the current billing instance
▶▶backup_payment_method_name string   No Primary payment method name from the current billing instance
▶▶backup_payment_method_description string   No primary payment method description from the current billing instance
▶▶backup_payment_method_client_defined_id string   No Primary payment client defined id from the current billing instance
End of backup_payment_method_info hash
End of plan_instance_details hash
TOP
  • Was this article helpful?