Settings roles
Получить роли кабинета
Changed onОтдаёт роли кабинета без страниц. Без параметра status в выдачу попадают только действующие роли.
get/api/v1/settings/roles
Request
- Base URLhttps://erp.akeda.ru
- Auth
- HTTP bearer
- or API key in header X-Api-Key
- or OAuth 2Authorization codehttps://erp.akeda.ru/oauth2/authorizeToken URLhttps://erp.akeda.ru/oauth2/tokenScopesakeda:delegate
Query parameters
status, 'active' | 'disabled' | 'all'
Умолчание — active; disabled отдаёт только отключённые роли
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Response
Роли кабинета
Settings Role Page required
count, integer required
Число строк в results, а не общее число ролей кабинета
results, Settings Role[] required
Changes
- warning
added the new
participantsenum value to theresults/items/record_rules/additionalPropertiesresponse property for the response status
- warning
- warning
added the new
cfoenum value to theresults/items/record_rules/additionalPropertiesresponse property for the response status - warning
added the new
clientsenum value to theresults/items/record_rules/additionalPropertiesresponse property for the response status
- warning