get_plans_m
Returns all service plans for client
Input Arguments
Req | Field Name | Field Type | Max Length | Description | ||||||
---|---|---|---|---|---|---|---|---|---|---|
![]() |
client_no | long | 22 | Aria-assigned unique identifier indicating the Aria client providing service to this account. | ||||||
![]() |
auth_key | string | 32 | Aria-assigned unique key to be passed with each method call for authenticating the validity of the requestor. | ||||||
include_rs_summary | string | 10 | Boolean - true/false. Summary level rate schedule information for all the rate schedules that are associated with a particular plan. | |||||||
locale_no | int | 38 | Aria-assigned unique identifier of the locale used for translations. | |||||||
OR | ||||||||||
locale_name | string | 32 | Name of the locale to which the translations belong. | |||||||
include_translations | string | 1 |
Setting this flag as True will fetch the translated fields in all the locales defined. If not passed it defaults to False. Allowable values for include_translations:
|
Output Arguments
Field Name | Field Type | Description |
---|---|---|
error_code | long | Aria-assigned error identifier. 0 indicates no error |
error_msg | string | Textual description of any error that occurred. "OK" if there was no error. |
plans | hash | |
![]() |
int | Plan Number |
![]() |
string | Client defined unique identifier |
![]() |
string | Plan Name |
![]() |
int | Plan Level. [can be 0 or 1]; 0 - Master plan 1 - indicates Supplemental Plan |
![]() |
int | Specifies if plan is active or inactive. Valid values are: 0 - Inactive 1 - Active |
![]() |
string | Plan description |
![]() |
string | Indicates if this plan is deletable. A plan is not deletable if it has an account assigned to it, or to its parent plan. |
![]() |
string | This attribute is not in use. It is just a placeholder. |
![]() |
hash | |
![]() ![]() |
int | Schedule Number |
![]() ![]() |
string | Client defined unique id for the schedule |
![]() ![]() |
string | Schedule Name |
![]() ![]() |
string | Schedule currency |
![]() ![]() |
int | Recurring billing interval |
![]() ![]() |
int | If a null/no value is provided then recurring_billing_period_type should default to 3, i.e., monthly period type. Recurring Billing Period Type [ can be either of 1, 2, 3 ] 1 – Daily, 2 – Weekly, 3 - Monthly |
![]() ![]() |
int | Usage billing interval |
![]() ![]() |
int | If a null/no value is provided then usage_billing_period_type should default to 3, i.e., monthly period type. Usage Billing Period Type [ can be either of 1, 2, 3 ] 1 – Daily, 2 – Weekly, 3 - Monthly |
![]() ![]() |
int | Plan default indicator |
![]() ![]() |
int | Currency default indicator |
plan_translation_info | hash | Array that contains all the translated values for a given locale. |
![]() |
string | Name of the locale |
![]() |
int | Aria-assigned unique identifier of the locale used for translations. |
![]() |
string | Plan Name |
![]() |
string | Plan description |
![]() |
hash | |
![]() ![]() |
int | Schedule Number |
![]() ![]() |
string | Schedule Name |