Поставить сотрудника в подразделение
Changed onСтавит действующего сотрудника в подразделение или убирает из оргструктуры (department пустой или «-»). Сотрудник — id, почта (с правом core.employee_requisites:read) или ФИО; подразделение — id, путь «Родитель / Имя» или однозначное название. Руководителя сотрудника вычисляет оргструктура; ответ называет его после записи.
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
- or HTTP bearer
Headers
Slug выбранного кабинета; кабинет не является юрлицом
Request body
Сотрудник: id, почта или ФИО действующего сотрудника
Подразделение: id, путь или название; пусто или «-» — убрать из оргструктуры
Response
Сотрудник после постановки
Changes
- info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status
5 more changes in this revision
- info