get_acct_details_all_m Guide
This API returns a detailed set of information about an account. In addition to contact, demographic, and basic billing configuration information, you can optionally retrieve plan information, billing group information, and payment method information.
API Specification: | |
Required Fields: |
|
Additional Guidance
Input Fields
Field Name: | Notes: | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<plan_limit> |
The records will be returned in ascending order by Master Plan Instance ID. Example: You have an account that has 4 Master Plan Instances with ID numbers: 123, 234, 456, and 567. If you pass 2into this field, only Master Plan Instances 123 and 234 will be returned in the <master_plans_info> output array. If you don't pass a value into this field, then all records that match your input parameters will be returned. |
||||||||||||||||||||||||
<plan_offset> |
The records will be skipped in ascending order by Master Plan Instance ID. Example: You have an account that has 4 Master Plan Instances with ID numbers: 123, 234, 456, and 567. If you pass ;into this field, only Master Plan Instances 456 and 567 will be returned in the <master_plans_info> output array. If you don't pass a value into this field, then it will default to 0. |
||||||||||||||||||||||||
<filter_mpi_status> (array) <filter_mpi_status_cd> |
This is a filter based on the status of the Master Plans for the current API call. This input helps to filter out the Master Plan Instances based on the given statuses, thus improve the response time of the API. For example, an account might have four Master Plan Instances with different statuses, such as, Active, Pending Activation, Pending Termination and Suspended. If you pass the array to filter statuses of values "1" and "2", then only those Master Plan Instances that are in Active and Pending Activation are returned. If you do not pass any values in this input, then the default behavior is that the API will return all the Master Plan Instances irrespective of Master Plan Instance status. |
||||||||||||||||||||||||
<filter_spi_status> (array) <filter_spi_status_cd> |
This is a filter based on the status of the Supplemental Plans for the current API call. Some plans may not be returned if the <mpi_status_code> used does not return the Master Plan Instance. If a status is inherited due to pending action on Master Plan Instance, it will not be reflected in the output array. For example, an account might have four Master Plan Instances and four Supplemental Plans with different statuses, such as, Active, Pending Activation, Suspended and Active. If you pass the array to filter Master Plan Instance statuses (filter_mpi_status_cd) with values "1" and "2" and similarly if you pass the array to filter Supplemental Plan statuses (filter_spi_status_cd) with values "3" and "1", then the API will return the Master Plan Instance/Supplemental Plan based on the given combination of status filters. The Supplemental Plan alone will not be returned if the corresponding Master Plan Instance is not returned, that is, if the Master Plan Instance status code used does not return the Master Plan Instance. If you do not pass any values in this input, then the default behavior is that the API will return all the Supplemental Plans irrespective of their status for the corresponding Master Plan Instance. Note: The invalid status validation for Supplemental Plans will be considered only when you pass "include_supp_plans" as with the value "1". |
||||||||||||||||||||||||
<include_master_plans> |
Allowable Values
|
||||||||||||||||||||||||
<include_supp_plans> |
Allowable Values
|
||||||||||||||||||||||||
<include_billing_groups> |
Allowable Values
|
||||||||||||||||||||||||
<include_payment_methods> |
Allowable Values
|
||||||||||||||||||||||||
<filter_mpi_status_cd> |
Allowable Values
|
||||||||||||||||||||||||
<filter_spi_status_cd> |
Allowable Values
|
Output Fields
Field Name | Notes | ||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<status_cd> |
Allowable Values
|
||||||||||||||||||||||||||||||||||||||||||||||
<notify_method> |
Allowable Values
|
||||||||||||||||||||||||||||||||||||||||||||||
<test_acct_ind> |
Allowable Values
|
||||||||||||||||||||||||||||||||||||||||||||||
<tax_exemption_level> |
Allowable Values
|
||||||||||||||||||||||||||||||||||||||||||||||
<list_start_master_file> |
Allowable Values
|
||||||||||||||||||||||||||||||||||||||||||||||
<invoice_approval_required> |
Allowable Values
|
||||||||||||||||||||||||||||||||||||||||||||||
<notify_method> |
Allowable Values
|
||||||||||||||||||||||||||||||||||||||||||||||
<payment_option> |
Allowable Values
|
||||||||||||||||||||||||||||||||||||||||||||||
<bg_list_start_master_file> |
Allowable Values
|
||||||||||||||||||||||||||||||||||||||||||||||
<pay_method_type> |
Allowable Values
|
||||||||||||||||||||||||||||||||||||||||||||||
<initial_plan_status> |
Allowable Values
|
||||||||||||||||||||||||||||||||||||||||||||||
<rollover_plan_status> |
Allowable Values
|
||||||||||||||||||||||||||||||||||||||||||||||
<rollover_plan_status_uom_cd> |
Allowable Values
|
||||||||||||||||||||||||||||||||||||||||||||||
<init_free_period_uom_cd> |
Allowable Values
|
||||||||||||||||||||||||||||||||||||||||||||||
<dunning_state> |
Allowable Values
|
||||||||||||||||||||||||||||||||||||||||||||||
<rollover_plan_status> |
Allowable Values
|
||||||||||||||||||||||||||||||||||||||||||||||
<rollover_plan_status_uom_cd> |
Allowable Values
|
Error Codes
Error Code/Description | Associated Inputs |
---|---|
|
|
|
<auth_key>, <client_no> |
<acct_no>, <client_acct_id>, <userid> | |
<client_billing_group_id>, <plan_instance_no>, <plan_instance_service_no>, <client_plan_instance_id>, <plan_instance_no>, <plan_instance_service_no>, <email>, <include_master_plans>, <include_supp_plans>, <include_billing_groups>, <include_payment_methods>, <phone_ext>, <work_phone_ext>, <plan_units>, <reason_code>, <status_cd>, <acct_no>, <billing_group_no> |
|
<locale_name> | |
|
<locale_name>, <master_plan_instance_no> |
<include_master_plans>, <include_supp_plans> | |
<include_billing_groups>, <include_payment_methods> |