XML-RPC API - Get Account Minute Plans

Get Account Minute Plans
S
Written by Sergiiy
Updated 11 months ago

getAccountMinutePlans()

This application is used to get Minute Plans of an account. Only Minute Plans of account that belongs to authenticated customer can be retrieved.

Parameters:

  • i_account - i_account of account. Integer. Required.

Returns:

  • result - OK means that query was successfully. String.
  • minute_plans - an array containing structures:
    • i_service_plan - an ID of minute plan. Integer.
    • description - Description of minute plan. String.
    • price - price of minute plan. Double.
    • seconds_total - total seconds included in minute plan. Integer. Null value means Unlimited.
    • seconds_left - seconds left in minute plan. Integer. Null value means Unlimited.
    • chargeable_seconds - seconds charged over included ones in the plan. Integer.
  • XMLRPC fault in case of any error.
Did this answer your question?