CRM links

Создать событие календаря по записи CRM

Changed on

Создаёт событие календаря, связанное с указанной записью CRM.

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

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' | 'customer' required

Тип записи CRM, у которой есть лента, заметки и дела: лид, сделка или клиент

id, string uuid required

Headers

X-Tenant, string required

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

Request body

CRMCreateEventLinkInput required
title, string required
description, string
starts_at, string date-time required
ends_at, string date-time required
timezone, string

IANA-зона события

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