remove_acct_plan_custom_rates_m Sample Call and Response
This example shows a call that removes custom rates from a specified account and plan instance, based on the remove_acct_plan_custom_rates_m method defined in plsql_m_r73.yml.
This example includes every required field for the method, which accepts only account and plan instance identifiers; the method removes all custom rates associated with the given plan instance in a single call, so no per-rate-tier fields exist to include or omit.
Sample call
{
"rest_call": "remove_acct_plan_custom_rates_m",
"output_format": "json",
"client_no": 66123,
"auth_key": "sample-auth-key-not-real-000111",
"acct_no": 3038219,
"plan_instance_no": 902144
}
Two groups of alternative fields appear in this method. First, acct_no and client_acct_id are alternatives for identifying the account; this example supplies the Aria-assigned acct_no. Second, plan_instance_no and client_plan_instance_id are alternatives for identifying the plan instance, which can be either a master plan or a supplemental plan; this example supplies the Aria-assigned plan_instance_no. The auth_key field is required for this method (unlike the shared, generally optional definition, this method marks auth_key as required), and, together with output_format and rest_call, the envelope fields sit outside the method's own documented arguments and are added by the REST gateway.
Sample response
{
"error_code": 0,
"error_msg": "OK"
}
An error_code value of 0 and an error_msg value of "OK" indicate that Aria successfully removed the custom rates from the specified plan instance, reverting it to standard plan rates. This method returns no fields beyond the error indicators; this example does not include the error_details field, since that field is for internal use and does not appear in a client-facing response.