Получение списка Тарифных планов всех нижестоящих Реселлеров
Метод Get a List of the Child Resellers Plans используется для получения cписка Тарифных планов всех Реселлеров, являющихся нижестоящими по отношению к текущему Реселлеру, или по отношению к его выбранному нижестоящему Реселлеру.
Доступ к текущему Реселлеру, относительно которого формируется список нижестоящих Реселлеров, определяется по токену Сотрудника, указанному в заголовке запроса.
GET {base_url}/api/v3/resellers/{reseller_id}/child_reseller_plans
Аргументы
Название | Тип параметра | Тип данных | Обязательный/ | Описание |
---|---|---|---|---|
X-Api-Token | header | string | Обязательный | API токен Сотрудника, выполняющего операцию (см. Просмотр и обновление информации о сотруднике) |
Content-Type | header | string | Обязательный | Предназначен для идентификации формата и способа представления сущности |
Accept | header | string | Обязательный | Предназначен для информирования сервера о типах данных, которые поддерживаются клиентом (браузером) |
reseller_id | path | integer | Обязательный | ID Реселлера. Возможно указать ID текущего Реселлера или ID любого из его нижестоящих Реселлеров (см. Просмотр информации о реселлере) |
page[size] | query | integer | Опциональный | Параметр постраничной навигации. Количество элементов на странице ответа (50 по умолчанию) |
page[number] | query | integer | Опциональный | Параметр постраничной навигации. Номер страницы ответа |
Модель ответа
Название | Тип данных | Описание | ||||||
---|---|---|---|---|---|---|---|---|
data | array | Данные ответа | ||||||
id | integer | ID Тарифного плана | ||||||
type | string | Тип данных | ||||||
attributes | object | Информация о Тарифном плане | ||||||
created_at | date | Дата и время создания Тарифного плана | ||||||
updated_at | date | Дата и время последнего изменения Тарифного плана | ||||||
status | string | Статус Тарифного плана (список статусов см. в Просмотр списка тарифных планов) | ||||||
name | string | Название Тарифного плана | ||||||
description | string | Дополнительная информация о Тарифном плане, которая отображается клиентам в Панели управления Клиента | ||||||
public | bool | Признак доступности Тарифного плана:
| ||||||
plan_class_id | integer | ID Правила предоставления (см. Управление правилами предоставления тарифных планов) | ||||||
product_id | integer | ID Продукта, с которым связан Тарифный план | ||||||
billing_type | string | Тип биллинга Тарифного плана | ||||||
ancestry | string | Для делегированных Тарифных планов содержит список ID родительских Тарифных планов, начиная от корневого (см. Просмотр списка делегированных тарифных планов). Для Тарифных планов, созданных Сотрудником выбранного Реселлера равен null | ||||||
reseller_id | integer | ID Реселлера, которому принадлежит Тарифный план | ||||||
plan_class | string | Название Правила предоставления | ||||||
product_category_id | integer | ID Категории продукта, с которой связан Тарифный план | ||||||
product_category | string | Название Категории продукта, с которой связан Тарифный план | ||||||
product | string | Название Продукта, с которым связан Тарифный план | ||||||
plan_resources | array of objects | Информация о Ресурсах Тарифного плана | ||||||
data | array | Данные объекта | ||||||
id | integer | ID Ресурса в Шаблоне услуги | ||||||
type | string | Тип данных | ||||||
attributes | object | Информация о Ресурсах Тарифного плана | ||||||
created_at | date | Дата и время создания Ресурса | ||||||
updated_at | date | Дата и время последнего обновления Ресурса | ||||||
name | string | Название Ресурса | ||||||
measurable | bool | Признак использования модели расчета стоимости за фактическое использование Ресурса (недоступен, если функция не поддерживается внешними службами):
| ||||||
unit_of_measure | string | Единица измерения Ресурса:
| ||||||
application_template_name | string | Название Услуги, которая предоставляется в рамках данного Тарифного плана | ||||||
included | integer | Количество Ресурса, которое включено в Тарифный план по умолчанию (включенные Ресурсы входят в стоимость Подписки) | ||||||
minimum | integer | Минимальное количество Ресурса (с учетом величины included), которое доступно для заказа (см. Ресурсы тарифного плана) | ||||||
limit | integer | Максимальное количество Ресурса, доступное для заказа. Если Ресурс безлимитный (признак unlimited_units=true), то limit принимает значение 0. Limit может быть также равен 0 когда Ресурс не является безлимитным, если minimum и limit одновременно равны 0 | ||||||
setup_fee | float | Величина платежа за установку Ресурса | ||||||
recurring_fee | float | Величина ежемесячной абонентской платы за Ресурс | ||||||
overuse_fee | float | Стоимость перерасхода Ресурсов | ||||||
renewal_fee | float | Стоимость продления использования Ресурса | ||||||
unlimited_units | bool | Признак отключения лимитов использования Ресурса:
| ||||||
public | bool | Возможные значения:
| ||||||
status | string | Статус Ресурса:
| ||||||
resource_id | integer | ID Ресурса Тарифного плана | ||||||
custom_attributes | array of objects | Информация о Дополнительных параметрах Ресурса | ||||||
plan_resources.custom_attributes.['custom-attribute-key'] | string | Значение Дополнительного параметра Ресурса | ||||||
plan_periods | array of objects | Информация о периодах Тарифного плана | ||||||
data | array | Данные объекта | ||||||
id | integer | ID периода Тарифного плана | ||||||
type | string | Тип данных | ||||||
attributes | object | Информация о периодах Тарифного плана | ||||||
created_at | date | Дата и время создания периода Тарифного плана | ||||||
updated_at | date | Дата и время последнего обновления периода Тарифного плана | ||||||
duration_value | integer | Длительность периода Тарифного плана | ||||||
duration_type | string | Единица измерения периода Тарифного плана | ||||||
setup_fee | float | Стоимость установки Тарифного плана для данного периода | ||||||
recurring_fee | float | Ежемесячная стоимость Тарифного плана для данного периода | ||||||
transfer_fee | float | Стоимость переноса Домена, если Услуги включает в себя возможность использования Доменов | ||||||
renewal_fee | float | Стоимость продления Тарифного плана для данного периода | ||||||
trial | bool | Признак того, является ли период Тарифного плана пробным:
| ||||||
public | bool | Признак доступности периода для заказа в рамках данного Тарифного плана:
| ||||||
status | string | Статус периода Тарифного плана:
| ||||||
description | string | Описание периода Тарифного плана | ||||||
available_account_types | array of objects | Информация о Типах клиентов | ||||||
id | integer | ID Типа клиента | ||||||
name | string | Имя Типа клиента | ||||||
created_at | date | Дата и время создания Типа клиента | ||||||
updated_at | date | Дата и время последнего обновления Типа клиента | ||||||
reseller_id | integer | ID Реселлера, к которому относится Тип клиента | ||||||
name_pattern | string | Шаблон отображения имени Клиента в платформе | ||||||
primary_name | string | Название поля с основным именем Клиента. Например, для Типа клиента Юридическое лицо это может быть Название компании | ||||||
key | string | Ключ Типа клиентов | ||||||
default_payment_method_id | integer | ID способа оплаты (см. Способы оплаты), который используется по умолчанию для данного Типа клиентов | ||||||
ancestry | integer | ID родительского Типа клиентов | ||||||
custom-attributes | object | Информация о Дополнительных параметрах Тарифного плана | ||||||
custom-attributes.['custom-attribute-key'] | string | Значение Дополнительного параметра Тарифного плана | ||||||
links | array | Ссылки на страницы для навигации по элементам ответа с учетом заданных параметров постраничной навигации | ||||||
self | string | Ссылка на текущую страницу | ||||||
first | string | Ссылка на первую страницу | ||||||
prev | string | Ссылка на предыдущую страницу | ||||||
next | string | Ссылка на следующую страницу | ||||||
last | string | Ссылка на последнюю страницу |
Пример запроса
GET /api/v3/resellers/1/child_reseller_plans?page[size]=2&page[number]=3
Host: test.activeplatform.com
Content-Type: application/vnd.api+json
X-Api-Token: vY5fwetestK3gJXZH5uHCw
Accept: application/vnd.api+json
Пример ответа
{
"data": [
{
"id": "36",
"type": "plans",
"attributes": {
"created_at": "2016-10-27T16:29:29.154+03:00",
"updated_at": "2019-01-09T12:11:51.357+03:00",
"status": "active",
"name": "Office 365 Enterprise E1",
"description": "",
"public": true,
"plan_class_id": 18,
"product_id": 407,
"billing_type": "reservation",
"ancestry": "24/28",
"reseller_id": 7,
"plan_class": "Default1",
"product_category_id": 293,
"product_category": "Default",
"product": "Default",
"plan_resources": {
"data": [
{
"id": "621",
"type": "plan_resources",
"attributes": {
"created_at": "2016-10-27T16:29:29.224+03:00",
"updated_at": "2016-10-27T16:29:29.224+03:00",
"name": "Licences count",
"measurable": false,
"unit_of_measure": "unit",
"application_template_name": "Office 365 Enterprise E1",
"included": 0,
"minimum": 1,
"limit": 0,
"setup_fee": "0.0",
"recurring_fee": "0.0",
"overuse_fee": "0.0",
"renewal_fee": "0.0",
"unlimited_units": true,
"public": true,
"status": "active",
"resource_id": 287,
"custom_attributes": {
"item_1c_id": "",
"item_1c_for_resellers": "",
"v_resource": ""
}
}
},
{
"id": "623",
"type": "plan_resources",
"attributes": {
"created_at": "2016-10-27T16:29:29.284+03:00",
"updated_at": "2016-10-27T16:29:29.284+03:00",
"name": "Skype for Business Cloud PBX",
"measurable": false,
"unit_of_measure": "unit",
"application_template_name": "Office 365 Enterprise E1",
"included": 0,
"minimum": 0,
"limit": 0,
"setup_fee": "0.0",
"recurring_fee": "6.4",
"overuse_fee": "0.0",
"renewal_fee": "0.0",
"unlimited_units": true,
"public": true,
"status": "active",
"resource_id": 291,
"custom_attributes": {
"item_1c_id": "",
"item_1c_for_resellers": ""
}
}
},
{
"id": "624",
"type": "plan_resources",
"attributes": {
"created_at": "2016-10-27T16:29:29.313+03:00",
"updated_at": "2016-10-27T16:29:29.313+03:00",
"name": "Exchange Online Advanced Threat Protection",
"measurable": false,
"unit_of_measure": "unit",
"application_template_name": "Office 365 Enterprise E1",
"included": 0,
"minimum": 0,
"limit": 0,
"setup_fee": "0.0",
"recurring_fee": "1.6",
"overuse_fee": "0.0",
"renewal_fee": "0.0",
"unlimited_units": true,
"public": true,
"status": "active",
"resource_id": 293,
"custom_attributes": {}
}
},
{
"id": "625",
"type": "plan_resources",
"attributes": {
"created_at": "2016-10-27T16:29:29.345+03:00",
"updated_at": "2016-10-27T16:29:29.345+03:00",
"name": "Exchange Online Archiving for Exchange Online",
"measurable": false,
"unit_of_measure": "unit",
"application_template_name": "Office 365 Enterprise E1",
"included": 0,
"minimum": 0,
"limit": 0,
"setup_fee": "0.0",
"recurring_fee": "2.4",
"overuse_fee": "0.0",
"renewal_fee": "0.0",
"unlimited_units": true,
"public": true,
"status": "active",
"resource_id": 298,
"custom_attributes": {}
}
},
{
"id": "626",
"type": "plan_resources",
"attributes": {
"created_at": "2016-10-27T16:29:29.376+03:00",
"updated_at": "2016-10-27T16:29:29.376+03:00",
"name": "Office 365 Extra File Storage",
"measurable": false,
"unit_of_measure": "unit",
"application_template_name": "Office 365 Enterprise E1",
"included": 0,
"minimum": 0,
"limit": 0,
"setup_fee": "45.0",
"recurring_fee": "30.0",
"overuse_fee": "30.0",
"renewal_fee": "0.0",
"unlimited_units": true,
"public": true,
"status": "active",
"resource_id": 299,
"custom_attributes": {}
}
},
{
"id": "627",
"type": "plan_resources",
"attributes": {
"created_at": "2016-10-27T16:29:29.405+03:00",
"updated_at": "2016-10-27T16:29:29.405+03:00",
"name": "Office 365 Equivio Analytics for eDiscovery",
"measurable": false,
"unit_of_measure": "unit",
"application_template_name": "Office 365 Enterprise E1",
"included": 0,
"minimum": 0,
"limit": 0,
"setup_fee": "0.0",
"recurring_fee": "6.4",
"overuse_fee": "0.0",
"renewal_fee": "0.0",
"unlimited_units": true,
"public": true,
"status": "active",
"resource_id": 300,
"custom_attributes": {}
}
},
{
"id": "628",
"type": "plan_resources",
"attributes": {
"created_at": "2016-10-27T16:29:29.435+03:00",
"updated_at": "2016-10-27T16:29:29.435+03:00",
"name": "Delve Analytics",
"measurable": false,
"unit_of_measure": "unit",
"application_template_name": "Office 365 Enterprise E1",
"included": 0,
"minimum": 0,
"limit": 0,
"setup_fee": "0.0",
"recurring_fee": "3.2",
"overuse_fee": "0.0",
"renewal_fee": "0.0",
"unlimited_units": true,
"public": true,
"status": "active",
"resource_id": 301,
"custom_attributes": {}
}
},
{
"id": "622",
"type": "plan_resources",
"attributes": {
"created_at": "2016-10-27T16:29:29.252+03:00",
"updated_at": "2016-10-27T16:29:29.252+03:00",
"name": "Skype for Business Plus CAL",
"measurable": false,
"unit_of_measure": "unit",
"application_template_name": "Office 365 Enterprise E1",
"included": 0,
"minimum": 0,
"limit": 0,
"setup_fee": "45.0",
"recurring_fee": "22.0",
"overuse_fee": "30.0",
"renewal_fee": "0.0",
"unlimited_units": true,
"public": true,
"status": "active",
"resource_id": 289,
"custom_attributes": {
"item_1c_id": "",
"item_1c_for_resellers": ""
}
}
},
{
"id": "629",
"type": "plan_resources",
"attributes": {
"created_at": "2016-10-27T16:29:29.477+03:00",
"updated_at": "2016-10-27T16:29:29.477+03:00",
"name": "Customer Lockbox",
"measurable": false,
"unit_of_measure": "unit",
"application_template_name": "Office 365 Enterprise E1",
"included": 0,
"minimum": 0,
"limit": 0,
"setup_fee": "0.0",
"recurring_fee": "1.6",
"overuse_fee": "0.0",
"renewal_fee": "0.0",
"unlimited_units": true,
"public": true,
"status": "active",
"resource_id": 302,
"custom_attributes": {}
}
}
]
},
"plan_periods": {
"data": [
{
"id": "179",
"type": "plan_periods",
"attributes": {
"created_at": "2016-10-27T16:29:29.192+03:00",
"updated_at": "2016-10-27T16:29:29.192+03:00",
"duration_value": 1,
"duration_type": "year",
"setup_fee": "45.0",
"recurring_fee": "30.0",
"transfer_fee": "0.0",
"renewal_fee": "30.0",
"trial": false,
"public": true,
"status": "active",
"description": ""
}
}
]
},
"available_account_types": [
{
"id": 16,
"name": "Personal BLR",
"created_at": "2016-10-27T16:24:44.322+03:00",
"updated_at": "2017-08-08T15:55:36.439+03:00",
"reseller_id": 7,
"name_pattern": "%first_name %middle_name %last_name",
"primary_name": "",
"key": "personalblr",
"default_payment_method_id": null,
"ancestry": "1/68/9"
},
{
"id": 17,
"name": "Business BLR",
"created_at": "2016-10-27T16:24:44.342+03:00",
"updated_at": "2017-05-10T19:28:56.330+03:00",
"reseller_id": 7,
"name_pattern": "%primary_name",
"primary_name": "Company name",
"key": "businessblr",
"default_payment_method_id": null,
"ancestry": "2/67/8"
}
],
"custom_attributes": {
"item_1c_id": ""
}
}
},
{
"id": "37",
"type": "plans",
"attributes": {
"created_at": "2016-10-27T17:28:34.416+03:00",
"updated_at": "2017-08-10T13:10:39.353+03:00",
"status": "active",
"name": "Auto provisioning with resources",
"description": "",
"public": true,
"plan_class_id": 21,
"product_id": 408,
"billing_type": "reservation",
"ancestry": "5/32/35",
"reseller_id": 8,
"plan_class": "Default1",
"product_category_id": 294,
"product_category": "Default",
"product": "Default",
"plan_resources": {
"data": [
{
"id": "631",
"type": "plan_resources",
"attributes": {
"created_at": "2016-10-27T17:28:34.912+03:00",
"updated_at": "2016-10-27T17:28:34.912+03:00",
"name": "Resource 5",
"measurable": false,
"unit_of_measure": "unit",
"application_template_name": "Auto provisioning",
"included": 2,
"minimum": 2,
"limit": 0,
"setup_fee": "3.0",
"recurring_fee": "2.0",
"overuse_fee": "5.0",
"renewal_fee": "3.0",
"unlimited_units": true,
"public": true,
"status": "active",
"resource_id": 273,
"custom_attributes": {
"item_1c_id": "",
"item_1c_for_resellers": ""
}
}
},
{
"id": "633",
"type": "plan_resources",
"attributes": {
"created_at": "2016-10-27T17:28:34.983+03:00",
"updated_at": "2016-10-27T17:28:34.983+03:00",
"name": "Resource 2",
"measurable": false,
"unit_of_measure": "unit",
"application_template_name": "Auto provisioning",
"included": 1,
"minimum": 1,
"limit": 0,
"setup_fee": "5.0",
"recurring_fee": "2.0",
"overuse_fee": "6.0",
"renewal_fee": "5.0",
"unlimited_units": true,
"public": true,
"status": "active",
"resource_id": 9,
"custom_attributes": {
"item_1c_id": "",
"item_1c_for_resellers": ""
}
}
},
{
"id": "630",
"type": "plan_resources",
"attributes": {
"created_at": "2016-10-27T17:28:34.867+03:00",
"updated_at": "2016-10-27T17:28:34.867+03:00",
"name": "Resource 1",
"measurable": false,
"unit_of_measure": "unit",
"application_template_name": "Auto provisioning",
"included": 3,
"minimum": 3,
"limit": 0,
"setup_fee": "2.07",
"recurring_fee": "2.07",
"overuse_fee": "2.07",
"renewal_fee": "2.07",
"unlimited_units": true,
"public": true,
"status": "active",
"resource_id": 8,
"custom_attributes": {
"item_1c_id": "",
"item_1c_for_resellers": ""
}
}
},
{
"id": "632",
"type": "plan_resources",
"attributes": {
"created_at": "2016-10-27T17:28:34.948+03:00",
"updated_at": "2016-10-27T17:28:34.948+03:00",
"name": "Resource 4",
"measurable": false,
"unit_of_measure": "unit",
"application_template_name": "Auto provisioning",
"included": 3,
"minimum": 3,
"limit": 0,
"setup_fee": "5.0",
"recurring_fee": "2.0",
"overuse_fee": "6.0",
"renewal_fee": "5.0",
"unlimited_units": true,
"public": true,
"status": "active",
"resource_id": 272,
"custom_attributes": {
"item_1c_id": "",
"item_1c_for_resellers": ""
}
}
},
{
"id": "634",
"type": "plan_resources",
"attributes": {
"created_at": "2016-10-27T17:28:35.019+03:00",
"updated_at": "2016-10-27T17:28:35.019+03:00",
"name": "Resource 3",
"measurable": false,
"unit_of_measure": "unit",
"application_template_name": "Auto provisioning",
"included": 5,
"minimum": 5,
"limit": 0,
"setup_fee": "7.0",
"recurring_fee": "2.0",
"overuse_fee": "8.0",
"renewal_fee": "7.0",
"unlimited_units": true,
"public": true,
"status": "active",
"resource_id": 10,
"custom_attributes": {
"item_1c_id": "res3",
"item_1c_for_resellers": ""
}
}
}
]
},
"plan_periods": {
"data": [
{
"id": "186",
"type": "plan_periods",
"attributes": {
"created_at": "2016-10-27T17:28:34.624+03:00",
"updated_at": "2016-10-27T17:28:34.624+03:00",
"duration_value": 5,
"duration_type": "day",
"setup_fee": "5.0",
"recurring_fee": "1.0",
"transfer_fee": "6.0",
"renewal_fee": "5.0",
"trial": false,
"public": true,
"status": "active",
"description": ""
}
},
{
"id": "187",
"type": "plan_periods",
"attributes": {
"created_at": "2016-10-27T17:28:34.651+03:00",
"updated_at": "2016-10-27T17:28:34.651+03:00",
"duration_value": 1,
"duration_type": "month",
"setup_fee": "10.0",
"recurring_fee": "1.0",
"transfer_fee": "12.0",
"renewal_fee": "10.0",
"trial": false,
"public": true,
"status": "active",
"description": ""
}
},
{
"id": "189",
"type": "plan_periods",
"attributes": {
"created_at": "2016-10-27T17:28:34.707+03:00",
"updated_at": "2016-10-27T17:28:34.707+03:00",
"duration_value": 1,
"duration_type": "year",
"setup_fee": "60.0",
"recurring_fee": "1.0",
"transfer_fee": "65.0",
"renewal_fee": "50.0",
"trial": false,
"public": true,
"status": "active",
"description": ""
}
},
{
"id": "180",
"type": "plan_periods",
"attributes": {
"created_at": "2016-10-27T17:28:34.455+03:00",
"updated_at": "2016-10-27T17:28:34.455+03:00",
"duration_value": 1,
"duration_type": "day",
"setup_fee": "1.0",
"recurring_fee": "1.0",
"transfer_fee": "2.0",
"renewal_fee": "1.0",
"trial": false,
"public": true,
"status": "active",
"description": ""
}
},
{
"id": "181",
"type": "plan_periods",
"attributes": {
"created_at": "2016-10-27T17:28:34.484+03:00",
"updated_at": "2016-10-27T17:28:34.484+03:00",
"duration_value": 2,
"duration_type": "day",
"setup_fee": "2.0",
"recurring_fee": "1.0",
"transfer_fee": "3.0",
"renewal_fee": "1.0",
"trial": false,
"public": true,
"status": "active",
"description": ""
}
},
{
"id": "183",
"type": "plan_periods",
"attributes": {
"created_at": "2016-10-27T17:28:34.537+03:00",
"updated_at": "2016-10-27T17:28:34.537+03:00",
"duration_value": 4,
"duration_type": "day",
"setup_fee": "4.0",
"recurring_fee": "1.0",
"transfer_fee": "5.0",
"renewal_fee": "1.0",
"trial": false,
"public": true,
"status": "active",
"description": ""
}
},
{
"id": "188",
"type": "plan_periods",
"attributes": {
"created_at": "2016-10-27T17:28:34.677+03:00",
"updated_at": "2016-10-27T17:28:34.677+03:00",
"duration_value": 2,
"duration_type": "month",
"setup_fee": "18.0",
"recurring_fee": "1.0",
"transfer_fee": "20.0",
"renewal_fee": "18.0",
"trial": false,
"public": true,
"status": "active",
"description": ""
}
},
{
"id": "182",
"type": "plan_periods",
"attributes": {
"created_at": "2016-10-27T17:28:34.510+03:00",
"updated_at": "2019-07-29T13:30:47.488+03:00",
"duration_value": 3,
"duration_type": "day",
"setup_fee": "3.0",
"recurring_fee": "1.0",
"transfer_fee": "4.0",
"renewal_fee": "1.0",
"trial": false,
"public": true,
"status": "active",
"description": ""
}
},
{
"id": "190",
"type": "plan_periods",
"attributes": {
"created_at": "2016-10-27T17:28:34.739+03:00",
"updated_at": "2016-10-27T17:28:34.739+03:00",
"duration_value": 3,
"duration_type": "month",
"setup_fee": "66.0",
"recurring_fee": "1.0",
"transfer_fee": "66.0",
"renewal_fee": "66.0",
"trial": false,
"public": true,
"status": "active",
"description": ""
}
},
{
"id": "184",
"type": "plan_periods",
"attributes": {
"created_at": "2016-10-27T17:28:34.564+03:00",
"updated_at": "2016-10-27T17:28:34.564+03:00",
"duration_value": 2,
"duration_type": "year",
"setup_fee": "60.0",
"recurring_fee": "1.0",
"transfer_fee": "60.0",
"renewal_fee": "65.0",
"trial": false,
"public": true,
"status": "active",
"description": ""
}
},
{
"id": "191",
"type": "plan_periods",
"attributes": {
"created_at": "2016-10-27T17:28:34.770+03:00",
"updated_at": "2016-10-27T17:28:34.770+03:00",
"duration_value": 3,
"duration_type": "year",
"setup_fee": "77.0",
"recurring_fee": "1.0",
"transfer_fee": "177.0",
"renewal_fee": "78.0",
"trial": false,
"public": true,
"status": "active",
"description": ""
}
},
{
"id": "185",
"type": "plan_periods",
"attributes": {
"created_at": "2016-10-27T17:28:34.595+03:00",
"updated_at": "2016-10-27T17:28:34.595+03:00",
"duration_value": null,
"duration_type": null,
"setup_fee": "88.0",
"recurring_fee": "0.0",
"transfer_fee": "0.0",
"renewal_fee": "0.0",
"trial": false,
"public": true,
"status": "active",
"description": ""
}
},
{
"id": "192",
"type": "plan_periods",
"attributes": {
"created_at": "2016-10-27T17:28:34.806+03:00",
"updated_at": "2016-10-27T17:28:34.806+03:00",
"duration_value": 4,
"duration_type": "month",
"setup_fee": "66.0",
"recurring_fee": "1.0",
"transfer_fee": "66.0",
"renewal_fee": "66.0",
"trial": false,
"public": true,
"status": "active",
"description": ""
}
},
{
"id": "193",
"type": "plan_periods",
"attributes": {
"created_at": "2016-10-27T17:28:34.837+03:00",
"updated_at": "2016-10-27T17:28:34.837+03:00",
"duration_value": 5,
"duration_type": "month",
"setup_fee": "0.0",
"recurring_fee": "0.0",
"transfer_fee": "0.0",
"renewal_fee": "0.0",
"trial": false,
"public": true,
"status": "active",
"description": ""
}
}
]
},
"available_account_types": [
{
"id": 18,
"name": "Business BLR",
"created_at": "2016-10-27T17:22:34.917+03:00",
"updated_at": "2017-05-10T19:28:56.351+03:00",
"reseller_id": 8,
"name_pattern": "%primary_name",
"primary_name": "Company name",
"key": "businessblr",
"default_payment_method_id": null,
"ancestry": "2/67/8/17"
},
{
"id": 19,
"name": "Personal BLR",
"created_at": "2016-10-27T17:22:34.937+03:00",
"updated_at": "2017-08-08T15:55:36.455+03:00",
"reseller_id": 8,
"name_pattern": "%first_name %middle_name %last_name",
"primary_name": "",
"key": "personalblr",
"default_payment_method_id": null,
"ancestry": "1/68/9/16"
}
],
"custom_attributes": {
"item_1c_id": "Plan1cgetCH",
"item_1c_for_resellers": "",
"vat25": "0",
"attribute_2": "plannum",
"uniqueness": "PlanCH"
}
}
}
],
"links": {
"self": "http://test.activeplatform.com/api/v3/resellers/1/child_reseller_plans?page%5Bnumber%5D=3&page%5Bsize%5D=2",
"first": "http://test.activeplatform.com/api/v3/resellers/1/child_reseller_plans?page%5Bnumber%5D=1&page%5Bsize%5D=2",
"prev": "http://test.activeplatform.com/api/v3/resellers/1/child_reseller_plans?page%5Bnumber%5D=2&page%5Bsize%5D=2",
"next": "http://test.activeplatform.com/api/v3/resellers/1/child_reseller_plans?page%5Bnumber%5D=4&page%5Bsize%5D=2",
"last": "http://test.activeplatform.com/api/v3/resellers/1/child_reseller_plans?page%5Bnumber%5D=450&page%5Bsize%5D=2"
}
}