Материалы авторов · Чувствительное действие
Авторы · Сотрудничество · Книга
creator_collaboration_book
Попробуйте три запроса
Подготовить
- Вы указываетеТовар
- ПомощникПодготовка
- Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Авторы / Сотрудничество / Книга». Для изменения нужны ID записи, текущая версия. Покажи объект и ожидаемый эффект до выполнения.
- id
- Id записи
- expectedVersion
- Текущая версия
- employeeId
- Сотрудник
Применить
- Вы указываетеСогласованные значения
- ПомощникОдин вызов
- Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Авторы / Сотрудничество / Книга» с параметром id = DEMO-101. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
- id
- DEMO-101
- expectedVersion
- 4
- productId
- DEMO-101
Проверить итог
- Вы указываетеИсходный ответ
- ПомощникСверка результата
- Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Авторы / Сотрудничество / Книга» по исходному ответу. Покажи результат. Объясни, чем подтвердить эффект для выбранного объекта.
- До измененияПрочитать версию
- При записиПередать выбранную версию
- После ответаПеречитать объект
Как работает действие
Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения.
Описание разработчика
Create the reviewed service appointment for the accepted collaboration using a current slot and expected total. Native availability and pricing are rechecked; applies accepted collaboration discount and binds the order. This creates a real appointment and requires user intent.
Параметры запроса
- id
- Идентификатор выбранной записи. обязательно по схеме · string
- expectedVersion
- Native expectedVersion value; use the value and type returned by the corresponding service. обязательно по схеме · integer · максимум 9007199254740991
- productId
- Идентификатор найденного товара. необязательно · string
- employeeId
- Native employeeId value; use the value and type returned by the corresponding service. обязательно по схеме · string
- date
- Native date value; use the value and type returned by the corresponding service. обязательно по схеме · string
- durationMinutes
- Native durationMinutes value; use the value and type returned by the corresponding service. обязательно по схеме · integer · минимум 5 · максимум 1440
- modifiers
- Native modifiers value; use the value and type returned by the corresponding service. обязательно по схеме · array · по умолчанию [] · до элементов 100
- start
- Native start value; use the value and type returned by the corresponding service. обязательно по схеме · string · до символов 40
- expectedTotal
- Native expectedTotal value; use the value and type returned by the corresponding service. обязательно по схеме · number · минимум 0
- requestId
- Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
- result
- Bounded native Collaboration workflow outcome; provider payment or shipment is never inferred from saved records. обязательно по схеме · object
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,128}$",
"description": "Native id value; use the value and type returned by the corresponding service."
},
"expectedVersion": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Native expectedVersion value; use the value and type returned by the corresponding service."
},
"productId": {
"description": "Native productId value; use the value and type returned by the corresponding service.",
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,128}$"
},
"employeeId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,128}$",
"description": "Native employeeId value; use the value and type returned by the corresponding service."
},
"date": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "Native date value; use the value and type returned by the corresponding service."
},
"durationMinutes": {
"type": "integer",
"minimum": 5,
"maximum": 1440,
"description": "Native durationMinutes value; use the value and type returned by the corresponding service."
},
"modifiers": {
"default": [],
"description": "Native modifiers value; use the value and type returned by the corresponding service.",
"maxItems": 100,
"type": "array",
"items": {
"$ref": "#/$defs/__schema0"
}
},
"start": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"description": "Native start value; use the value and type returned by the corresponding service."
},
"expectedTotal": {
"type": "number",
"minimum": 0,
"description": "Native expectedTotal value; use the value and type returned by the corresponding service."
},
"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."
}
},
"required": [
"id",
"expectedVersion",
"employeeId",
"date",
"durationMinutes",
"modifiers",
"start",
"expectedTotal",
"requestId"
],
"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"
}
}
]
}
}
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"result": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"description": "Bounded native Collaboration workflow outcome; provider payment or shipment is never inferred from saved records."
}
},
"required": [
"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"
}
}
]
}
}
}