MCP Control
Валет-паркинг · Чтение

Валет-паркинг · Фотографии · Просмотр

valet_photo_get
Часы и календарь у стойки записи

Попробуйте три запроса

Получить данные
  1. Вы указываетеФилиал
  2. ПомощникЧтение
  3. Вы получаетеПоля ответа
Запрос в чат
Для задачи «Валет-паркинг / Фотографии / Просмотр» выполни чтение по выбранной записи (филиал). Выведи кратко: photoId, visitId.
Что искать в ответе
photoId
Поле ответа
visitId
Поле ответа
locationId
Филиал
Задать параметры
  1. Вы указываетеФилиал
  2. ПомощникСверка выбора
  3. Вы получаетеТочный объект
Запрос в чат
Покажи, как получить «Валет-паркинг / Фотографии / Просмотр» на учебном примере с locationId = DEMO-101. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
Фрагмент учебных параметров
locationId
DEMO-101
Разобрать ответ
  1. Вы указываетеПолученный ответ
  2. ПомощникРазбор значений
  3. Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Валет-паркинг / Фотографии / Просмотр» объясни photoId, visitId. Отметь отсутствующие значения.
Поля для проверки
photoId
Поле ответа
visitId
Поле ответа
locationId
Филиал
Как работает действие

Это чтение. Выберите запись или задайте фильтры в доступной компании.

Описание разработчика

Read original parking photo metadata and its Control OAuth download URL. Company, establishment, current Valet read permission and attachment to the selected visit are checked again on download. Does not copy, publish or alter the photo.

Параметры запроса
locationId
Идентификатор точки из текущего подключения. обязательно по схеме · string
visitId
Native visitId value; use the value and type returned by the corresponding service. обязательно по схеме · string
photoId
Native photoId value; use the value and type returned by the corresponding service. обязательно по схеме · string
Что вернёт команда
photoId
Native photoId value; use the value and type returned by the corresponding service. обязательно по схеме · string
visitId
Native visitId value; use the value and type returned by the corresponding service. обязательно по схеме · string
locationId
Native locationId value; use the value and type returned by the corresponding service. обязательно по схеме · string
fileName
Native fileName value; use the value and type returned by the corresponding service. обязательно по схеме · string
mimeType
Native mimeType value; use the value and type returned by the corresponding service. обязательно по схеме · string · варианты image/jpeg, image/png, image/webp
byteLength
Native byteLength value; use the value and type returned by the corresponding service. обязательно по схеме · integer · максимум 5242880
url
Download original photo bytes using the same Control MCP OAuth bearer. This URL contains no access credential and is not public. обязательно по схеме · string
Поля и технические схемы
Входные поля и поля ответа valet_photo_get
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "locationId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
      "description": "Native locationId value; use the value and type returned by the corresponding service."
    },
    "visitId": {
      "type": "string",
      "pattern": "^V-\\d{1,12}$",
      "description": "Native visitId value; use the value and type returned by the corresponding service."
    },
    "photoId": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      "description": "Native photoId value; use the value and type returned by the corresponding service."
    }
  },
  "required": [
    "locationId",
    "visitId",
    "photoId"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "photoId": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      "description": "Native photoId value; use the value and type returned by the corresponding service."
    },
    "visitId": {
      "type": "string",
      "pattern": "^V-\\d{1,12}$",
      "description": "Native visitId value; use the value and type returned by the corresponding service."
    },
    "locationId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
      "description": "Native locationId value; use the value and type returned by the corresponding service."
    },
    "fileName": {
      "type": "string",
      "description": "Native fileName value; use the value and type returned by the corresponding service."
    },
    "mimeType": {
      "type": "string",
      "enum": [
        "image/jpeg",
        "image/png",
        "image/webp"
      ],
      "description": "Native mimeType value; use the value and type returned by the corresponding service."
    },
    "byteLength": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 5242880,
      "description": "Native byteLength value; use the value and type returned by the corresponding service."
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Download original photo bytes using the same Control MCP OAuth bearer. This URL contains no access credential and is not public."
    }
  },
  "required": [
    "photoId",
    "visitId",
    "locationId",
    "fileName",
    "mimeType",
    "byteLength",
    "url"
  ],
  "additionalProperties": false
}