Заказы · Чтение
Кухонный дисплей · Этикетки · Предпросмотр · Просмотр
kds_label_preview_read
Попробуйте три запроса
Получить данные
- Вы указываетеФилиал
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Кухонный дисплей / Этикетки / Предпросмотр / Просмотр» выполни чтение по выбранной записи (филиал). Выведи кратко: companyId, результат.
- companyId
- Поле ответа
- result
- Результат
Следующая страница
- Вы указываетеПредыдущий ответ
- ПомощникПродолжение
- Вы получаетеСледующая страница
Запрос в чат
Продолжи «Кухонный дисплей / Этикетки / Предпросмотр / Просмотр» с позиции прошлого ответа. Сохрани фильтры и размер страницы 3. Покажи новые строки отдельно.
Страница 1До 3 строк
Страница 2Продолжение
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Кухонный дисплей / Этикетки / Предпросмотр / Просмотр» объясни companyId, результат. Отметь отсутствующие значения.
- companyId
- Поле ответа
- result
- Результат
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании. При постраничном чтении используйте продолжение ответа с теми же фильтрами.
Описание разработчика
Read up to 6000 bytes of the exact native label HTML as base64 using the SHA256 from kds_label_preview and identical label inputs. Concatenate decoded chunks, follow nextOffset; changed previews fail with CONFLICT.
Параметры запроса
- locationId
- Идентификатор точки из текущего подключения. обязательно по схеме · string
- productId
- Идентификатор найденного товара. обязательно по схеме · string · до символов 160
- employeeId
- Native employeeId value; use the value and type returned by the corresponding service. обязательно по схеме · string · до символов 160
- templateId
- Native templateId value; use the value and type returned by the corresponding service. обязательно по схеме · string · до символов 160
- templateRevision
- Native templateRevision value; use the value and type returned by the corresponding service. необязательно · string · до символов 64
- mode
- Native mode value; use the value and type returned by the corresponding service. обязательно по схеме · string · варианты product, defrost
- storage
- Native storage value; use the value and type returned by the corresponding service. обязательно по схеме · string · варианты fridge, freezer, ambient
- temperature
- Native temperature value; use the value and type returned by the corresponding service. обязательно по схеме · string · до символов 80
- packedAt
- Native packedAt value; use the value and type returned by the corresponding service. обязательно по схеме · integer · минимум 946684800000 · максимум 4102444800000
- shelfLife
- Native shelfLife value; use the value and type returned by the corresponding service. обязательно по схеме · number · максимум 87600
- durationUnit
- Native durationUnit value; use the value and type returned by the corresponding service. обязательно по схеме · string · варианты days, hours
- copies
- Native copies value; use the value and type returned by the corresponding service. обязательно по схеме · integer · минимум 1 · максимум 100
- language
- Язык результата или локализуемого значения согласно схеме. обязательно по схеме · string · по умолчанию "ru" · варианты ru, en
- sha256
- Native sha256 value; use the value and type returned by the corresponding service. обязательно по схеме · string
- offset
- Смещение из предыдущей страницы или начальное значение из схемы. обязательно по схеме · integer · минимум 0 · максимум 9007199254740991
- limit
- Максимальное число элементов на этой странице. обязательно по схеме · integer · по умолчанию 6000 · минимум 1 · максимум 6000
Что вернёт команда
- 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": {
"locationId": {
"type": "string",
"pattern": "^(?!\\.{1,2}$)[A-Za-z0-9_~:@+.-]{1,120}$",
"description": "Native locationId value; use the value and type returned by the corresponding service."
},
"productId": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"pattern": "^[^/\\x00-\\x1f]+$",
"description": "Native productId value; use the value and type returned by the corresponding service."
},
"employeeId": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"pattern": "^[^/\\x00-\\x1f]+$",
"description": "Native employeeId value; use the value and type returned by the corresponding service."
},
"templateId": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"pattern": "^[^/\\x00-\\x1f]+$",
"description": "Native templateId value; use the value and type returned by the corresponding service."
},
"templateRevision": {
"description": "Native templateRevision value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 64
},
"mode": {
"type": "string",
"enum": [
"product",
"defrost"
],
"description": "Native mode value; use the value and type returned by the corresponding service."
},
"storage": {
"type": "string",
"enum": [
"fridge",
"freezer",
"ambient"
],
"description": "Native storage value; use the value and type returned by the corresponding service."
},
"temperature": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "Native temperature value; use the value and type returned by the corresponding service."
},
"packedAt": {
"type": "integer",
"minimum": 946684800000,
"maximum": 4102444800000,
"description": "Native packedAt value; use the value and type returned by the corresponding service."
},
"shelfLife": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 87600,
"description": "Native shelfLife value; use the value and type returned by the corresponding service."
},
"durationUnit": {
"type": "string",
"enum": [
"days",
"hours"
],
"description": "Native durationUnit value; use the value and type returned by the corresponding service."
},
"copies": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"description": "Native copies value; use the value and type returned by the corresponding service."
},
"language": {
"default": "ru",
"description": "Native language value; use the value and type returned by the corresponding service.",
"type": "string",
"enum": [
"ru",
"en"
]
},
"sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Native sha256 value; use the value and type returned by the corresponding service."
},
"offset": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Native offset value; use the value and type returned by the corresponding service."
},
"limit": {
"default": 6000,
"description": "Native limit value; use the value and type returned by the corresponding service.",
"type": "integer",
"minimum": 1,
"maximum": 6000
}
},
"required": [
"locationId",
"productId",
"employeeId",
"templateId",
"mode",
"storage",
"temperature",
"packedAt",
"shelfLife",
"durationUnit",
"copies",
"language",
"sha256",
"offset",
"limit"
],
"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"
}
}
]
}
}
}