CRM links
Создать задачу по записи CRM
Changed onЗадача остаётся во владении модуля tasks, CRM хранит только указатель.
post/api/v1/crm/{entity}/{id}/tasks
Request
- Base URLhttps://erp.akeda.ru
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://erp.akeda.ru/oauth2/authorizeToken URLhttps://erp.akeda.ru/oauth2/tokenScopesakeda:delegate
Path parameters
entity, 'lead' | 'deal' required
Тип записи CRM
id, string uuid required
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Request body
CRMCreate Task Link Input required
section_id, string uuid required
title, string required
description, string
due_at, string date-time nullable
executor_id, integer nullable
Исполнитель; по умолчанию — тот, кто создаёт задачу
Response
Созданная связь
CRMExternal Link required
Указатель CRM на запись другого модуля; владельцем записи остаётся тот модуль
id, string uuid required
entity_type, 'lead' | 'deal' required
entity_id, string uuid required
link_type, 'task' | 'calendar_event' | 'hub_meeting' required
external_id, string uuid required
created_at, string date-time required
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