MCP Control
Бронирование · Чувствительное действие

Услуги · Расписание · Создание

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

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

Подготовить
  1. Вы указываетеФилиал
  2. ПомощникПодготовка
  3. Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Услуги / Расписание / Создание». Для изменения нужны филиал, сотрудник. Покажи объект и ожидаемый эффект до выполнения.
Что входит в подготовку
establishmentId
Филиал
employeeId
Сотрудник
productIds
Параметр
Применить
  1. Вы указываетеСогласованные значения
  2. ПомощникОдин вызов
  3. Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Услуги / Расписание / Создание» с параметром establishmentId = DEMO-101. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
Фрагмент учебных параметров
establishmentId
DEMO-101
employeeId
DEMO-101
Проверить итог
  1. Вы указываетеИсходный ответ
  2. ПомощникСверка результата
  3. Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Услуги / Расписание / Создание» по исходному ответу. Покажи companyId, результат. Объясни, чем подтвердить эффект для выбранного объекта.
Как проследить одну попытку
  1. ЗапросСохранить исходный ключ
  2. ОтветПроверить статус
  3. ПроверкаСверить эффект операции
Как работает действие

Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения.

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

Create one native employee availability interval up to 24 hours with eligible products, slot step and buffer. Existing business availability rules apply; this is a schedule, not an appointment. Requires the current native Booking/Services subscription and management role. After uncertainty use services_get_operation with the original requestId; never substitute a new request.

Параметры запроса
establishmentId
Native establishmentId value; use the value and type returned by the corresponding service. обязательно по схеме · string
employeeId
Native employeeId value; use the value and type returned by the corresponding service. обязательно по схеме · string
productIds
Native productIds value; use the value and type returned by the corresponding service. обязательно по схеме · array · до элементов 30
start
Native start value; use the value and type returned by the corresponding service. обязательно по схеме · string
finish
Native finish value; use the value and type returned by the corresponding service. обязательно по схеме · string
step
Native step value; use the value and type returned by the corresponding service. обязательно по схеме · integer · минимум 5 · максимум 240
buffer
Native buffer value; use the value and type returned by the corresponding service. обязательно по схеме · integer · минимум 0 · максимум 240
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
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
Поля и технические схемы
Входные поля и поля ответа services_schedule_create
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "establishmentId": {
      "type": "string",
      "pattern": "^(?!\\.{1,2}$)[A-Za-z0-9_~:@+.-]{1,128}$",
      "description": "Native establishmentId value; use the value and type returned by the corresponding service."
    },
    "employeeId": {
      "type": "string",
      "pattern": "^(?!\\.{1,2}$)[A-Za-z0-9_~:@+.-]{1,128}$",
      "description": "Native employeeId value; use the value and type returned by the corresponding service."
    },
    "productIds": {
      "minItems": 1,
      "maxItems": 30,
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^(?!\\.{1,2}$)[A-Za-z0-9_~:@+.-]{1,128}$"
      },
      "description": "Native productIds value; use the value and type returned by the corresponding service."
    },
    "start": {
      "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": "Native start value; use the value and type returned by the corresponding service."
    },
    "finish": {
      "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": "Native finish value; use the value and type returned by the corresponding service."
    },
    "step": {
      "type": "integer",
      "minimum": 5,
      "maximum": 240,
      "description": "Native step value; use the value and type returned by the corresponding service."
    },
    "buffer": {
      "type": "integer",
      "minimum": 0,
      "maximum": 240,
      "description": "Native buffer 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": [
    "establishmentId",
    "employeeId",
    "productIds",
    "start",
    "finish",
    "step",
    "buffer",
    "requestId"
  ],
  "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"
          }
        }
      ]
    }
  }
}