Отзывы · Изменение
Отзывы · Задачи · Сохранение
reviews_workspace_task_save
Попробуйте три запроса
Подготовить
- Вы указываетеОбъект
- ПомощникПодготовка
- Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Отзывы / Задачи / Сохранение». Для изменения нужны task, archive. Покажи объект и ожидаемый эффект до выполнения.
- task
- Параметр
- archive
- Параметр
Применить
- Вы указываетеСогласованные значения
- ПомощникОдин вызов
- Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Отзывы / Задачи / Сохранение» с параметром archive = true. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
- archive
- true
Проверить итог
- Вы указываетеИсходный ответ
- ПомощникСверка результата
- Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Отзывы / Задачи / Сохранение» по исходному ответу. Покажи companyId, результат. Объясни, чем подтвердить эффект для выбранного объекта.
- ЗапросСохранить исходный ключ
- ОтветПроверить статус
- ПроверкаСверить эффект операции
Как работает действие
Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения.
Описание разработчика
Create, update, finish or archive a canonical review follow-up Task. Use its current revision for updates; preserve unrelated fields.
Параметры запроса
- requestId
- Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
- archive
- Native archive value; use the value and type returned by the corresponding service. необязательно · boolean
- task
- Native task value; use the value and type returned by the corresponding service. обязательно по схеме · object
Что вернёт команда
- 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."
},
"archive": {
"description": "Native archive value; use the value and type returned by the corresponding service.",
"type": "boolean"
},
"task": {
"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."
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Native title value; use the value and type returned by the corresponding service."
},
"description": {
"type": "string",
"maxLength": 12000,
"description": "Native description value; use the value and type returned by the corresponding service."
},
"reviewId": {
"default": "",
"description": "Native reviewId value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 200
},
"assignedTo": {
"default": "",
"description": "Native assignedTo value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 200
},
"status": {
"type": "string",
"enum": [
"open",
"progress",
"done"
],
"description": "Native status value; use the value and type returned by the corresponding service."
},
"priority": {
"type": "string",
"enum": [
"low",
"normal",
"high"
],
"description": "Native priority value; use the value and type returned by the corresponding service."
},
"dueAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"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])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
],
"description": "Native dueAt value; use the value and type returned by the corresponding service."
},
"revision": {
"description": "Native revision value; use the value and type returned by the corresponding service.",
"type": "string"
}
},
"required": [
"id",
"title",
"description",
"reviewId",
"assignedTo",
"status",
"priority",
"dueAt"
],
"additionalProperties": false,
"description": "Native task value; use the value and type returned by the corresponding service."
}
},
"required": [
"requestId",
"task"
],
"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"
}
}
]
}
}
}