assign_custom_acct_plan_rates_m Guide
The assign_custom_acct_plan_rates_m API applies custom rates to a particular plan instance and service assigned to a specified account.
| API Specification: | |
| Required Fields: |
|
| Sample Call and Response: | assign_custom_acct_plan_rates_m Sample Call and Response |
Error Codes
| Error Code/Description | Associated Inputs |
|---|---|
| <auth_key>, <client_no> | |
| <acct_no>, <client_acct_id> | |
| <acct_no> | |
| <client_service_id> | |
| <custom_acct_rates> array fields | |
| <custom_acct_rates> array fields | |
| <custom_acct_rates> array fields | |
| <client_service_id> | |
| <custom_acct_rates> array fields | |
| <plan_instance_no>, <client_plan_instance_id> | |
| <client_plan_instance_id> | |
| <service_no> | |
| <custom_acct_rates> array fields |
Additional Guidance
Input Fields
| Field Name | Notes | ||||||
|---|---|---|---|---|---|---|---|
| <plan_scope> |
This determines whether the rate changes apply to a current plan or a queued (future) plan. If a customer has a future plan that is already scheduled to be assigned after a rollover from a currently-assigned plan, you can assign custom rates to the future plan. This applies to a future plan assignment set up by: scheduling a plan change to go into effect on the customer's anniversary date using assignment_directive=1 or master_plan_assign_directive=1 in an API that supports either of those fields (examples: assign_acct_plan_m or update_acct_complete_m); or adding a subscription to a plan scheduled to roll over to another plan on the customer's anniversary date; or adding a subscription to a plan scheduled to roll over to another plan on any other chosen date. Example: You may choose to offer a customer a promotional rate for a future plan as a goodwill gesture or for other business reasons. To assign custom rates to a future plan, pass values into the plan_scope and plan_queue_id fields. The plan_queue_id is not required for custom rates that will be applied to a future plan scheduled to be assigned on the customer's anniversary date. The plan_queue_id input will be ignored if you do not pass Q into the plan_scope field. Allowable values:
|
||||||
| <api_queue_detail> |
When a custom rate queue is updated by providing a future queue ID, and the future queue contains the parameter <custom_rate_client_service_id> and its value is converted to the corresponding service number and stored as <custom_rate_service_no> field in the <api_queue_detail> table. This conversion process is logged in the <acct_comments_hist> table for future reference with the following message: "Queue ID <<queueid>> has been updated to convert the param custom_rate_client_service_id to custom_rate_service_no for the plan instance <<pi>> by the system." |
||||||
| <custom_rates_directive> |
Allows you to modify the custom rate tiers to be fewer than the original custom rate tiers. The <custom_rates_directive> parameter governs whether to remove the existing custom rates when assigning new custom rates. The default value is '1' and leaves the existing custom rates in place. A value of '2' will remove the custom rates and honor the custom rates passed. Allowable values:
|