Core employees

Получить оргструктуру

Changed on

Дерево действующих подразделений одним ответом: вид, родитель, путь «Родитель / Имя», бизнес, руководитель, заместитель, ЦФО по умолчанию и действующие сотрудники каждого подразделения; отдельно — сотрудники вне структуры (unassigned). Почта чужих карточек без права core.employee_requisites:read приходит пустой строкой.

get/api/v1/core/org-structure

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
    • or HTTP bearer

Headers

X-Tenant, string required

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

Response

Оргструктура кабинета

CoreOrgStructure required
businesses, object[] required
departments, CoreOrgDepartmentNode[] required
unassigned, CoreOrgMember[] required

Действующие сотрудники вне оргструктуры

totals, object required

Changes

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    • info

      added the optional property reason to the response with the status

    1 more change in this revision