CRM · Изменение
CRM · Чаты · Создание
crm_workspace_chat_create
Попробуйте три запроса
Подготовить
- Вы указываетеContactid
- ПомощникПодготовка
- Вы получаетеПредпросмотр
Запрос в чат
Подготовь «CRM / Чаты / Создание». Для изменения нужны название, тип. Покажи объект и ожидаемый эффект до выполнения.
- name
- Название
- type
- Тип
- value
- Значение
Применить
- Вы указываетеСогласованные значения
- ПомощникОдин вызов
- Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «CRM / Чаты / Создание» с параметром contactId = DEMO-101. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
- contactId
- DEMO-101
- name
- Осенняя коллекция
- integrationId
- DEMO-101
Проверить итог
- Вы указываетеИсходный ответ
- ПомощникСверка результата
- Вы получаетеПодтверждение
Запрос в чат
Проверь результат «CRM / Чаты / Создание» по исходному ответу. Покажи companyId, результат. Объясни, чем подтвердить эффект для выбранного объекта.
- ЗапросСохранить исходный ключ
- ОтветПроверить статус
- ПроверкаСверить эффект операции
Как работает действие
Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения.
Описание разработчика
Create the explicitly requested native customer conversation through its connected channel. May create a CRM contact but sends no message.
Параметры запроса
- requestId
- Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
- contactId
- Native contactId value; use the value and type returned by the corresponding service. необязательно · string
- name
- Native name value; use the value and type returned by the corresponding service. обязательно по схеме · string · по умолчанию "" · до символов 200
- type
- Native type value; use the value and type returned by the corresponding service. обязательно по схеме · string · до символов 120
- value
- Native value value; use the value and type returned by the corresponding service. обязательно по схеме · string · до символов 512
- integrationId
- Native integrationId value; use the value and type returned by the corresponding service. обязательно по схеме · string
Что вернёт команда
- companyId
- Native companyId value; use the value and type returned by the corresponding service. обязательно по схеме · string
- result
- Native result value; use the value and type returned by the corresponding service. обязательно по схеме · object
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"requestId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,128}$",
"description": "Stable request ID for these exact arguments. Keep it if the response is uncertain."
},
"contactId": {
"description": "Native contactId value; use the value and type returned by the corresponding service.",
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
},
"name": {
"default": "",
"description": "Native name value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 200
},
"type": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "Native type value; use the value and type returned by the corresponding service."
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 512,
"description": "Native value value; use the value and type returned by the corresponding service."
},
"integrationId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Native integrationId value; use the value and type returned by the corresponding service."
}
},
"required": [
"requestId",
"name",
"type",
"value",
"integrationId"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"companyId": {
"type": "string",
"description": "Native companyId value; use the value and type returned by the corresponding service."
},
"result": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"description": "Native result value; use the value and type returned by the corresponding service."
}
},
"required": [
"companyId",
"result"
],
"additionalProperties": false,
"$defs": {
"__schema0": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/__schema0"
}
},
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
}
}
]
}
}
}