Tasks

Изменить порядок workflow-статусов

Changed on

Этап раздела меняет владелец или совладелец его проекта либо право «Управлять всеми проектами» (tasks:admin), открывающее проект, общий этап кабинета (без section) — только это право без ограничения области (ERP-2896); иначе 403 tasks.project_manage_forbidden или tasks.shared_catalog_forbidden (ERP-1871).

patch/api/v1/tasks/statuses/reorder

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 выбранного кабинета; кабинет не является юрлицом

Request body

StatusReorder required
items, StatusReorderItem[] required

Response

Порядок сохранён

OK required
ok, true 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 field to the response with the status

    7 more changes in this revision