Оборудование · Чтение
Оборудование · Результат операции «отзывы»
equipment_get_review_result
Попробуйте три запроса
Получить данные
- Вы указываетеObservationid
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Оборудование / Результат операции «отзывы»» выполни чтение по выбранной записи (observationId). Выведи кратко: состояние, результат.
- state
- Состояние
- result
- Результат
После обрыва
- Вы указываетеПервоначальный ключ
- ПомощникПоиск квитанции
- Вы получаетеСостояние операции
Запрос в чат
Найди результат «Оборудование / Результат операции «отзывы»» по ключу первоначальной попытки. Покажи состояние операции и раздели подтверждённые и пока неизвестные данные.
- 1
- Взять исходный ключ
- 2
- Проверить квитанцию
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Оборудование / Результат операции «отзывы»» объясни состояние, результат. Отметь отсутствующие значения.
- state
- Состояние
- result
- Результат
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании. Для поиска результата возьмите идентификатор из первоначальной попытки. Сохраните исходные аргументы. Прочитайте актуальную версию записи перед подготовкой запроса.
Описание разработчика
Recover equipment_review_observation with exact original arguments. Rechecks current manager/observer authority, workspace/location and permission. Never repeats a review or changes an incident.
Параметры запроса
- observationId
- Native EquipmentLog ID from equipment_events_list/get. обязательно по схеме · string
- expectedRevision
- Версия, прочитанная перед изменением. обязательно по схеме · string
- action
- Вариант действия, разрешённый схемой. обязательно по схеме · string · варианты approve, corrective_action
- text
- User-provided review rationale or actually performed corrective action. Never infer physical inspection, a signature or completion. обязательно по схеме · string · до символов 4000
- requestId
- Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
- state
- Historical receipt status; not_recorded does not cancel an in-flight review. обязательно по схеме · string · варианты committed, not_recorded
- result
- Original immutable acknowledgment, or null. Current permissions and manager/observer access are rechecked. обязательно по схеме · object / null
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"observationId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Native EquipmentLog ID from equipment_events_list/get."
},
"expectedRevision": {
"type": "string",
"pattern": "^[a-f0-9]{32}$",
"description": "Current canonical xmin revision from equipment_events_get. A changed record conflicts."
},
"action": {
"type": "string",
"enum": [
"approve",
"corrective_action"
],
"description": "approve: assigned native manager reviews a waite observation and changes only its review status to done. corrective_action: original observer or current manager appends the described action; never clears a warning or approves it."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 4000,
"description": "User-provided review rationale or actually performed corrective action. Never infer physical inspection, a signature or completion."
},
"requestId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,128}$",
"description": "Stable ID for this exact review. Retry unchanged after an uncertain response; do not generate a replacement ID."
}
},
"required": [
"observationId",
"expectedRevision",
"action",
"text",
"requestId"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"state": {
"type": "string",
"enum": [
"committed",
"not_recorded"
],
"description": "Historical receipt status; not_recorded does not cancel an in-flight review."
},
"result": {
"anyOf": [
{
"type": "object",
"properties": {
"observationId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Reviewed native observation."
},
"equipmentId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Current native asset."
},
"locationId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Current authorized location."
},
"revision": {
"type": "string",
"pattern": "^[a-f0-9]{32}$",
"description": "Revision at the atomic review commit, not a later record revision."
},
"action": {
"type": "string",
"enum": [
"approve",
"corrective_action"
],
"description": "Committed review operation."
},
"status": {
"anyOf": [
{
"type": "string",
"maxLength": 80
},
{
"type": "null"
}
],
"description": "Native review status. done means manager reviewed the observation; unresolved warnings remain separate."
},
"recordedAt": {
"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)))$",
"description": "Server review timestamp."
},
"actorId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Authenticated employee; never caller selected."
},
"requiresAction": {
"description": "Unchanged native incident flag; approval or a note does not resolve an incident.",
"type": [
"boolean",
"null"
]
},
"effects": {
"type": "string",
"const": "native_review_only",
"description": "Only native review/corrective fields, audit metadata and the existing operation receipt changed. No photos, signatures, inventory, provider or Flow effects."
}
},
"required": [
"observationId",
"equipmentId",
"locationId",
"revision",
"action",
"status",
"recordedAt",
"actorId",
"requiresAction",
"effects"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Original immutable acknowledgment, or null. Current permissions and manager/observer access are rechecked."
}
},
"required": [
"state",
"result"
],
"additionalProperties": false
}