CRM links

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

Changed on

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

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

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

Path parameters

entity, 'lead' | 'deal' required

Тип записи CRM

id, string uuid required

Headers

X-Tenant, string required

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

Request body

CRMCreateTaskLinkInput required
section_id, string uuid required
title, string required
description, string
due_at, string date-time nullable
executor_id, integer nullable

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

Response

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

CRMExternalLink 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 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

    5 more changes in this revision