CRM links

Создать задачу по записи CRM

Задача остаётся во владении модуля tasks, CRM хранит только указатель.

post/api/v1/crm/{entity}/{id}/tasks

Request

  • Base URL: https://erp.akeda.ru
  • URL: https://erp.akeda.ru/api/v1/crm/{entity}/{id}/tasks
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://erp.akeda.ru/oauth2/authorize, token URL https://erp.akeda.ru/oauth2/token, scopes: akeda:delegate)

Request body

section_idstring uuid required
titlestring required
descriptionstring
due_atstring date-time nullable
executor_idinteger nullable

Исполнитель; по умолчанию — тот, кто создаёт задачу

Response

Созданная связь

idstring uuid required
entity_type'lead' | 'deal' required
entity_idstring uuid required
link_type'task' | 'calendar_event' | 'hub_meeting' required
external_idstring uuid required
created_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.