Settings roles

Получить роли кабинета

Changed on

Отдаёт роли кабинета без страниц. Без параметра status в выдачу попадают только действующие роли.

get/api/v1/settings/roles

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate

Query parameters

status, 'active' | 'disabled' | 'all'

Умолчание — active; disabled отдаёт только отключённые роли

Headers

X-Tenant, string required

Slug выбранного кабинета; кабинет не является юрлицом

Response

Роли кабинета

SettingsRolePage required
count, integer required

Число строк в results, а не общее число ролей кабинета

results, SettingsRole[] required

Changes

    • warning

      added the new participants enum value to the results/items/record_rules/additionalProperties response property for the response status

    • warning

      added the new cfo enum value to the results/items/record_rules/additionalProperties response property for the response status

    • warning

      added the new clients enum value to the results/items/record_rules/additionalProperties response property for the response status