Get

[POST] ...v1/WidgetType/Get

Метод для получения типов виджетов.

Входные параметры

Метод не имеет входных параметров.

Выходные параметры

Название Тип данных Описание
result array of WidgetType Массив типов виджетов

Пример ответа

{
  "ok": true,
  "result": [
    {
      "id": 1,
      "name": "Мои цели",
      "name_key": "app_widget_type_1_name",
      "description": "app_widget_type_1_description",
      "last_update": 0
    },
    {
      "id": 2,
      "name": "Глобальные цели",
      "name_key": "app_widget_type_2_name",
      "description": "app_widget_type_2_description",
      "last_update": 0
    },
    {
      "id": 3,
      "name": "Счета",
      "name_key": "app_widget_type_3_name",
      "description": "app_widget_type_3_description",
      "last_update": 0
    },
    {
      "id": 4,
      "name": "Розничные заказы",
      "name_key": "app_widget_type_4_name",
      "description": "app_widget_type_4_description",
      "last_update": 0
    },
    {
      "id": 5,
      "name": "Кассы",
      "name_key": "app_widget_type_5_name",
      "description": "app_widget_type_5_description",
      "last_update": 0
    },
    {
      "id": 6,
      "name": "Статистика продаж",
      "name_key": "app_widget_type_6_name",
      "description": "app_widget_type_6_description",
      "last_update": 0
    },
    {
      "id": 7,
      "name": "Статистика оплат",
      "name_key": "app_widget_type_7_name",
      "description": "app_widget_type_7_description",
      "last_update": 0
    },
    {
      "id": 8,
      "name": "Продажи за неделю",
      "name_key": "app_widget_type_8_name",
      "description": "app_widget_type_8_description",
      "last_update": 0
    },
    {
      "id": 9,
      "name": "Топ - 10, по количеству продаж",
      "name_key": "app_widget_type_9_name",
      "description": "app_widget_type_9_description",
      "last_update": 0
    },
    {
      "id": 10,
      "name": "Топ - 10, по сумме продаж",
      "name_key": "app_widget_type_10_name",
      "description": "app_widget_type_10_description",
      "last_update": 0
    },
    {
      "id": 11,
      "name": "Ближайшие дни рождения",
      "name_key": "app_widget_type_11_name",
      "description": "app_widget_type_11_description",
      "last_update": 0
    },
    {
      "id": 12,
      "name": "Предпочитаемые покупки покупателей",
      "name_key": "app_widget_type_12_name",
      "description": "app_widget_type_12_description",
      "last_update": 0
    },
    {
      "id": 13,
      "name": "Контрагенты, задолженности",
      "name_key": "app_widget_type_13_name",
      "description": "app_widget_type_13_description",
      "last_update": 0
    },
    {
      "id": 14,
      "name": "Покупатели по возрастам",
      "name_key": "app_widget_type_14_name",
      "description": "app_widget_type_14_description",
      "last_update": 0
    },
    {
      "id": 15,
      "name": "Покупатели по полу",
      "name_key": "app_widget_type_15_name",
      "description": "app_widget_type_15_description",
      "last_update": 0
    }
  ]
}