Finance payroll

Завести кадровый приказ расстановки штата (исторический адрес)

Changed on

Исторический адрес той же операции financeCreateStaffingOrder с тем же правом finance.staffing_orders:write.

post/api/v1/bank/staffing/orders

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate

Headers

X-Tenant, string required

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

Request body

FinanceStaffingOrderCreate required
company, string

UUID юрлица в шапке документа, none или пусто

date, string date

Дата приказа; пусто — сегодня

comment, string
rows, FinanceStaffingRow[] required
new_position, FinanceStaffPositionInput

Поля позиции; названия и id в теле сервер не читает

Response

Проведённый документ расстановки; с new_position или под согласованием — номер, статус, позиция и проход согласования

union required

Документ расстановки либо, с new_position или под согласованием, его номер, статус, позиция и проход

CoreDocument required
OR
FinanceStaffingOrderWithPosition required

Changes

    • breaking

      the response property anyOf[#/components/schemas/FinanceStaffingOrderWithPosition]/position became optional for the status

    • info

      added the optional property anyOf[#/components/schemas/FinanceStaffingOrderWithPosition]/approval to the response with the status

    • info

      added the optional property anyOf[#/components/schemas/FinanceStaffingOrderWithPosition]/status to the response with the status