error_code |
long |
Aria-assigned error identifier. 0 indicates no error. |
error_msg |
string |
Description of any error that occurred. "OK" if there was no error. |
unapplied_service_credits |
hash |
A multidimensional array of service credit records for the given account |
credit_id |
long |
Aria-assigned unique identifier |
create_date |
string |
Date the credit was created |
create_user |
string |
User who created the credit |
initial_amount |
double |
Full starting amount of the credit |
amount_left_to_apply |
double |
Amount remaining of the total credit to apply |
reason_cd |
long |
Reason code for why the credit was created
Allowable values for reason_cd
Values |
Description |
1 |
General Credit/Other |
2 |
Inadequate Service Delivery |
3 |
Billing / Pricing Issue |
4 |
Service no longer desired |
5 |
Customer Dissatisfaction |
6 |
Installation Issue |
9 |
Customer Return |
11 |
System Testing |
12 |
Prepay Code Redemption |
21 |
Billing Issue |
22 |
Demo/Partner Account |
23 |
Duplicate Charge |
24 |
Employee Account |
25 |
Pricing Issue |
26 |
Return (RMA) Broken |
27 |
Return (RMA) Cancel |
28 |
Return (RMA) Wrong Product |
29 |
Service Issue |
30 |
Shipping Credit |
31 |
Test Account |
32 |
Refer-a-Friend |
95 |
Client-defined automatic "form of payment discount" |
96 |
Order Item Unit Credit |
97 |
New Service Plan Proration |
98 |
Prepay Credit Reconciliation |
99 |
Balance Forward Conversion |
1004 |
Pricing |
1005 |
Service Error |
1006 |
Hardware Malfunction |
1007 |
Goodwill |
1008 |
Billing Error |
1009 |
Development |
1010 |
Shipping Error |
1011 |
Promotion |
1012 |
System Testing |
1013 |
Sales Rep Error |
1014 |
Commission |
1015 |
Operations Error |
9999 |
Coupon Application |
|
reason_text |
string |
Text description for why the credit was created |
comments |
string |
Comments from the create_user when the credit was created. |
currency_cd |
string |
The 3-character ISO-compliant currency code in lowercase for monetary values used in the context of this API method. |
service_no_to_apply |
long |
The service_no that will be used to represent the credit when it is applied. |
service_name_to_apply |
string |
The name/description for "/service_no_to_apply/". |
eligible_plan_no |
long |
If non-null, the service credit will only be applied to invoice line items that match this plan_no. |
eligible_plan_name |
string |
The plan name for "eligible_plan_no". |
eligible_service_no |
long |
If non-null, the service credit will only be applied to invoice line items that match this service_no. |
eligible_service_name |
string |
The service name/description for "eligible_service_no". |
client_service_id_to_apply |
string |
The client_service_id that will be used to represent the credit when it is applied. |
client_eligible_plan_id |
string |
If used, specifies the client-defined plan ID to which the credit is applied. The credit is applied to all services on this plan. If the credit is to be applied to offset ANY charge incurred by the account holder, leave this field empty. If the credit is to be applied to offset a specific type of charge, then this field and the client_eligible_service_id field must be valued. <p> If the eligible_plan_no field has a value in it, this field is ignored. |
client_eligible_service_id |
string |
If used, specifies the client-defined service ID to which the credit is applied. The service must exist in the plan specified in the client_eligible_plan_id field. If you value this field, you must also value the client_eligible_plan_id field with the plan ID that contains this service. If the credit to be created is to be applied to offset a specific type of charge, then that specific plan_ID and service_ID combination referencing that type of charge must be supplied in these two fields. Entering a service ID in this field without entering its corresponding plan ID causes the API to fail. |
amount_reserved_for_anniversary |
long |
Amount reserved for anniversary invoice |
eligible_service_types |
hash |
A list of eligible service types |
eligible_service_types |
string |
Service type code for which the credit is applicable.
Allowable values for eligible_service_types
Values |
Description |
RC |
Recurring Service |
US |
Usage Service |
TX |
Tax Service |
AC |
Activation Service |
MS |
Miscellaneous Service |
CN |
Cancellation Service |
OR |
Order Based Service |
MN |
Minimum Fee Service |
|