Returns the list of Basic or Premium account plans

Request Information

Headers

NameDescriptionTypeAdditional information
Authentication

Authentication token

string

Required

URI Parameters

NameDescriptionTypeAdditional information
accounttype

Requested account plan type.

string (Enumeration value of AccountType )

Required

Possible values: Basic, Premium.

Note: access to create Premium accounts is not available by default. If you don't have that access, please contact our support for details on how to enable Premium accounts under your main account.

accountid

Account id of the parent Premium account. Should be specified for the reseller API.

globally unique identifier

Optional

Body Parameters

None.

Response Information

Resource Description

NameDescriptionTypeAdditional information
Data

Collection of AccountPlan

None.

Success

boolean

None.

Messages

Collection of ErrorMessage

None.

Response Formats

application/json

Samples:
Premium account plans:
{
  "Data": [
    {
      "Id": 1,
      "Type": "Premium",
      "Name": "Plan1",
      "Description": "Description1",
      "PremiumAccountPlanInfo": {
        "SitesLimit": 3,
        "AdminsLimit": 1,
        "SubAccountsLimit": -1
      }
    },
    {
      "Id": 2,
      "Type": "Premium",
      "Name": "Plan2",
      "Description": "Description2",
      "PremiumAccountPlanInfo": {
        "SitesLimit": 10,
        "AdminsLimit": 1,
        "SubAccountsLimit": -1
      }
    }
  ],
  "Success": true,
  "Messages": []
}
Basic account plans:
{
  "Data": [
    {
      "Id": 1,
      "Type": "Basic",
      "Name": "Plan1",
      "Description": "Description1",
      "BasicAccountPlanInfo": {
        "PagesLimit": 3,
        "SitesLimit": 1
      }
    },
    {
      "Id": 2,
      "Type": "Basic",
      "Name": "Plan2",
      "Description": "Description2",
      "BasicAccountPlanInfo": {
        "PagesLimit": 10,
        "SitesLimit": 1
      }
    }
  ],
  "Success": true,
  "Messages": []
}