Get

[POST] …/v1/Hints/Get

Возвращает подсказки.

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

Название Тип данных Обязательность Описание
ids Array of Int64 Необязательный Массив ID подсказок
group_ids Array of Int64 Необязательный Массив ID групп подсказок
status Enum Необязательный Статус подсказки: <Default | 0> - все, <Read | 1> - только прочитанные, <Unread | 2> - только не прочитанные

Пример запроса

{
    "ids"      :[1],
    "group_ids":[1],
    "status"   :"Default"
}

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

Название Тип данных Описание
result Array of Hints Массив подсказок

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

{
  "ok": true,
  "result": [
    {
      "id": 1,
      "group_id": 1,
      "key": "main_greeting",
      "title": "app_hints_greeting_title",
      "text": "app_hints_greeting_text",
      "order": 1
    },
    {
      "id": 15,
      "group_id": 2,
      "key": "docs_purchases_operations",
      "title": "app_hints_add_title",
      "text": "app_hints_docs_purchases_operations_text",
      "order": 1
    },
    {
      "id": 2,
      "group_id": 1,
      "key": "main_partners",
      "title": "app_hints_partners_title",
      "text": "app_hints_partners_text",
      "order": 2
    },
    {
      "id": 16,
      "group_id": 2,
      "key": "docs_purchases_perform",
      "title": "app_hints_perform_title",
      "text": "app_hints_docs_purchases_perform_text",
      "order": 2
    },
    {
      "id": 3,
      "group_id": 1,
      "key": "partners_filter",
      "title": "app_hints_partners_filter_title",
      "text": "app_hints_partners_filter_text",
      "order": 3
    },
    {
      "id": 4,
      "group_id": 1,
      "key": "partners_table_settings",
      "title": "app_hints_table_settings_title",
      "text": "app_hints_table_settings_text",
      "order": 4
    },
    {
      "id": 5,
      "group_id": 1,
      "key": "partners_search",
      "title": "app_hints_search_title",
      "text": "app_hints_search_text",
      "order": 5
    },
    {
      "id": 6,
      "group_id": 1,
      "key": "partners_groups",
      "title": "app_hints_partners_groups_title",
      "text": "app_hints_partners_groups_text",
      "order": 6
    },
    {
      "id": 7,
      "group_id": 1,
      "key": "partners_add",
      "title": "app_hints_add_title",
      "text": "app_hints_partners_add_text",
      "order": 7
    },
    {
      "id": 8,
      "group_id": 1,
      "key": "main_items",
      "title": "app_hints_items_title",
      "text": "app_hints_items_text",
      "order": 8
    },
    {
      "id": 9,
      "group_id": 1,
      "key": "items_groups",
      "title": "app_hints_items_groups_title",
      "text": "app_hints_items_groups_text",
      "order": 9
    },
    {
      "id": 10,
      "group_id": 1,
      "key": "items_add",
      "title": "app_hints_add_title",
      "text": "app_hints_items_add_text",
      "order": 10
    },
    {
      "id": 11,
      "group_id": 1,
      "key": "docs_purchases",
      "title": "app_hints_docs_purchases_title",
      "text": "app_hints_docs_purchases_text",
      "order": 11
    },
    {
      "id": 12,
      "group_id": 1,
      "key": "docs_purchases_add",
      "title": "app_hints_add_title",
      "text": "app_hints_docs_purchases_add_text",
      "order": 12
    },
    {
      "id": 13,
      "group_id": 1,
      "key": "sales",
      "title": "app_hints_sales_title",
      "text": "app_hints_sales_text",
      "order": 13
    },
    {
      "id": 14,
      "group_id": 1,
      "key": "cash_report",
      "title": "app_hints_cash_report_title",
      "text": "app_hints_cash_report_text",
      "order": 14
    }
  ]
}