Skip to main content
Aria Knowledge Central

get_plans_by_promo_code_all_m Guide

Returns a detailed list of plans associated with a specified promotion code. The information returned includes the services and rate schedules associated with the plans.

API Specification: get_plans_by_promo_code_all_m
Required Fields:
  • <client_no>
  • <auth_key>
  • <acct_no> or <client_acct_id>

Additional Guidance 

Input Fields 
Field Name Notes
<include_rs_summary>

Allowable Values

Values Description
true true
false false
<retrieve_bundled_nso>

Allowable Values

Values Description
true true
false false
<retrieve_included_nso>

Allowable Values

Values Description
true true
false false
<include_translations>

Allowable Values

Values Description
true true
false false
Output Fields 
Field Name Notes
<billing_ind>

Allowable Values

Values Description
0 0
1 1
<display_ind>

Allowable Values

Values Description
0 0
1 1
<new_acct_status>

Allowable Values

Values Description
0 INACTIVE
1 ACTIVE
2 CANCELLATION PENDING
3 TERMINATION PENDING
10 ACTIVE DUNNING PENDING
11 ACTIVE DUNNING 1
12 ACTIVE DUNNING 1
13 ACTIVE DUNNING 3
14 ACTIVE DUNNING 4
15 ACTIVE DUNNING 5
16 ACTIVE DUNNING 6
17 ACTIVE DUNNING 7
18 ACTIVE DUNNING 8
21 REINSTATED FORWARD BILL
22 REINSTATED BACK BILL
31 INSTALLATION PENDING
32 REGISTERED PENDING ACTIVATION
41 ACTIVE TRIAL
51 TEMPORARY SERVICE BAN
61 ACTIVE NON-BILLABLE
99 PERMANENT
-1 SUSPENDED
-2 CANCELLED
-3 TERMINATED
-4 CONTRACT EXPIRED
-11 SUSPENDED DUNNING 1
-12 SUSPENDED DUNNING 2
-13 SUSPENDED DUNNING 3
-14 SUSPENDED DUNNING 4
-15 SUSPENDED DUNNING 5
-99 ARCHIVED
   
<rollover_acct_status>

Allowable Values

Values Description
0 INACTIVE
1 ACTIVE
2 CANCELLATION PENDING
3 TERMINATION PENDING
10 ACTIVE DUNNING PENDING
11 ACTIVE DUNNING 1
12 ACTIVE DUNNING 1
13 ACTIVE DUNNING 3
14 ACTIVE DUNNING 4
15 ACTIVE DUNNING 5
16 ACTIVE DUNNING 6
17 ACTIVE DUNNING 7
18 ACTIVE DUNNING 8
21 REINSTATED FORWARD BILL
22 REINSTATED BACK BILL
31 INSTALLATION PENDING
32 REGISTERED PENDING ACTIVATION
41 ACTIVE TRIAL
51 TEMPORARY SERVICE BAN
61 ACTIVE NON-BILLABLE
99 PERMANENT
-1 SUSPENDED
-2 CANCELLED
-3 TERMINATED
-4 CONTRACT EXPIRED
-11 SUSPENDED DUNNING 1
-12 SUSPENDED DUNNING 2
-13 SUSPENDED DUNNING 3
-14 SUSPENDED DUNNING 4
-15 SUSPENDED DUNNING 5
-99 ARCHIVED
<default_notify_method>

Allowable Values

Values Description
0 None
1 HTML Email
2 Text Email
3 Text Email w/link to HTML
4 Data export
5 Printable (no Email) w/Surcharge
6 Printable & Text Email
7 Printable & HTML Email w/Surcharge
8 Printable (no Email)
9 PDF (Printing required, no Email)
10 PDF (delivered by Email)
11 PDF (Printing req & Email)w/surcharge
12 PDF (Printing req, no Email)w/surcharge
13 XML Master File
14 PDF Master File
<prepaid_ind>

Allowable Values

Values Description
0 0
1 1
<proration_invoice_timing_cd>

Allowable Values

Values Description
I Indicates to generate the invoice immediately for the pro-rated charges.
A Indicates to generate the invoice to the next anniversary date for the pro-rated charges.
<rollover_plan_uom_cd>

Allowable Values

Values Description
1 Day
2 Week
3 Month
4 Quarter
5 Year
<init_free_period_uom_cd>

Allowable Values

Values Description
1 Day
2 Week
3 Month
4 Quarter
5 Year
<initial_plan_status_cd>

Allowable Values

Values Description
1 ACTIVE
41 ACTIVE TRIAL
61 ACTIVE NON-BILLABLE
<rollover_plan_status_uom_cd>

Allowable Values

Values Description
1 Day
2 Week
3 Month
4 Quarter
5 Year
<rollover_plan_status_cd>

Allowable Values

Values Description
1 ACTIVE
41 ACTIVE TRIAL
61 ACTIVE NON-BILLABLE
<nso_incl_list_scope>

Allowable Values

Values Description
0 Indicates to inclusion type All non-restricted inventory items.
1 Indicates to inclusion type Existing bundled and non-restricted inventory items.
2 Indicates to inclusion type Existing bundled inventory items only.
3 Indicates to inclusion type Selected and non-restricted inventory items.
4 Indicates to inclusion type Selected specific inventory items.
<is_recurring_ind>

Allowable Values

Values Description
0 Service is not recurring-based.
1 Service is recurring-based.
<is_usage_based_ind>

Allowable Values

Values Description
0 Service is not usage-based.
1 Service is usage-based.
<taxable_ind>

Allowable Values

Values Description
0 Service is not taxable.
1 Service is taxable.
<is_tax_ind>

Allowable Values

Values Description
0 Service is not a tax-based service.
1 Service is a tax-based service.
<is_arrears_ind>

Allowable Values

Values Description
0 Service is not arrears-based.
1 Service is arrears-based.
<is_setup_ind>

Allowable Values

Values Description
0 Service is not setup-based.
1 Service is setup-based.
<is_misc_ind>

Allowable Values

Values Description
0 Service is not miscellaneous.
1 Service is miscellaneous.
<is_donation_ind>

Allowable Values

Values Description
0 Service is not donation-based.
1 Service is donation-based.
<is_order_based_ind>

Allowable Values

Values Description
0 Service is not order-based.
1 Service is order-based.
<is_cancellation_ind>

Allowable Values

Values Description
0 Service is not cancellation-based.
1 Service is cancellation-based.
<display_ind>

Allowable Values

Values Description
0 Service is not displayable.
1 Service is displayable.
<tiered_pricing_rule>

Allowable Values

Values Description
1 Standard
2 Volume Discount
3 Flat Rate Per Tier
<is_min_fee_ind>

Allowable Values

Values Description
0 Service is not a minimum fee.
1 Service is a minimum fee.
<future_rate>

Allowable Values

Values Description
0 false, i.e., no future rate.
1 True, i.e., future rates are captured.
  null, i.e., no future rate.
<apply_usage_rates_daily>

Allowable Values 

Values Description
0 usage shall be rated based on the entire billing period
1 usage shall be rated based on one day periods individually.
<tax_inclusive_ind>

Allowable Values

Values Description
0 The service is tax-exclusive.
1 The service is tax-inclusive.
<usage_rating_time_ind>
Allowable Values
Values Description
0 Refers to the setting you have on client parameter "Automatically Rate Un-rated Usage Records at Load Time"
1 At Loading Time
2 At Invoicing Time
<usage_record_rating_level_ind>
Allowable Values
Values Description
0 Rating will be performed with aggregated usage units.
1 Rating will be performed at per usage record level.
<recurring_billing_period_type>

Allowable Values

Values Description
1 Period type for recurring billing cycle is Daily.
2 Period type for recurring billing cycle is Weekly.
3 Period type for recurring billing cycle is Monthly.
4 Period type for recurring billing cycle is Quarterly.
5 Period type for recurring billing cycle is Yearly.
<usage_billing_period_type>

Allowable Values

Values Description
1 Period type for usage billing cycle is Daily.
2 Period type for usage billing cycle is Weekly.
3 Period type for usage billing cycle is Monthly.
4 Period type for usage billing cycle is Quarterly.
5 Period type for usage billing cycle is Yearly.
<default_ind>

Allowable Values

Values Description
0 Rate schedule is not the default.
1 Rate schedule is the default.
<default_ind_curr>

Allowable Values

Values Description
0 Rate schedule is not default for specified currency.
1 Rate schedule is default for specified currency.
<schedule_display_ind>

Allowable Values

Values Description
0 Rate schedule is not displayable.
1 Rate schedule is displayable.
<active_ind>

Allowable Values

Values Description
0 Inventory item is not active.
1 Inventory item is active.
<item_scope>

Allowable Values

Values Description
0 Up to Plan Units
1 Match Plan Units
2 Any Units
<active_ind>

Allowable Values

Values Description
0 0
1 1
<nso_group_item_scope>

Allowable Values

Values Description
0 Up to Plan Units
1 Match Plan Units
2 Any Units
<active_ind>

Allowable Values

Values Description
0 Inventory item is not active.
1 Inventory item is active.

Error Codes

Error Code/Description Associated Inputs

<retrieve_bundled_nso, <include_translations>, <include_rs_summary>,  

<locale_name>
<locale_name>
  • Was this article helpful?