MCP Control
Подбор персонала · Изменение

Подбор персонала · Смены · Пакеты · Сохранение

recruiting_shifts_batch_save
Контактные карточки и телефон

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

Подготовить
  1. Вы указываетеОбъект
  2. ПомощникПодготовка
  3. Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Подбор персонала / Смены / Пакеты / Сохранение». Для изменения нужны список позиций. Покажи объект и ожидаемый эффект до выполнения.
Что входит в подготовку
items
Список позиций
Применить
  1. Вы указываетеСогласованные значения
  2. ПомощникОдин вызов
  3. Вы получаетеОтвет операции
Запрос в чат
Выполни согласованное действие «Подбор персонала / Смены / Пакеты / Сохранение» с проверенными значениями. Покажи результат этой попытки.
Параметры примера
requestId
Ключ операции
Проверить итог
  1. Вы указываетеИсходный ответ
  2. ПомощникСверка результата
  3. Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Подбор персонала / Смены / Пакеты / Сохранение» по исходному ответу. Покажи ID записи, версия записи. Объясни, чем подтвердить эффект для выбранного объекта.
Как проследить одну попытку
  1. ЗапросСохранить исходный ключ
  2. ОтветПроверить статус
  3. ПроверкаСверить эффект операции
Как работает действие

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

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

Atomically update, publish or cancel reviewed existing Recruiter shifts and absences. Requires every current revision and complete fields. Native overlap checks remain authoritative.

Параметры запроса
items
Native items value; use the value and type returned by the corresponding service. обязательно по схеме · array · до элементов 100
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
id
Native id value; use the value and type returned by the corresponding service. необязательно · string · до символов 160
revision
Native revision value; use the value and type returned by the corresponding service. необязательно · string / integer / null
result
Bounded verified native outcome. Read full records separately after a write; no provider delivery is implied. обязательно по схеме · object
Поля и технические схемы
Входные поля и поля ответа recruiting_shifts_batch_save
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "items": {
      "minItems": 1,
      "maxItems": 100,
      "type": "array",
      "items": {
        "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."
          },
          "revision": {
            "type": "string",
            "pattern": "^\\d+:\\d+$",
            "description": "Native revision value; use the value and type returned by the corresponding service."
          },
          "values": {
            "type": "object",
            "properties": {
              "employee": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
                "description": "Native employee value; use the value and type returned by the corresponding service."
              },
              "date": {
                "type": "string",
                "format": "date",
                "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])))$",
                "description": "Native date value; use the value and type returned by the corresponding service."
              },
              "start": {
                "type": "string",
                "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
                "description": "Native start value; use the value and type returned by the corresponding service."
              },
              "end": {
                "type": "string",
                "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
                "description": "Native end value; use the value and type returned by the corresponding service."
              },
              "timezone": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100,
                "description": "Native timezone value; use the value and type returned by the corresponding service."
              },
              "breakMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 720,
                "description": "Native breakMinutes value; use the value and type returned by the corresponding service."
              },
              "type": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200,
                "description": "Native type value; use the value and type returned by the corresponding service."
              },
              "branch": {
                "type": "string",
                "maxLength": 128,
                "description": "Native branch value; use the value and type returned by the corresponding service."
              },
              "status": {
                "type": "string",
                "enum": [
                  "Черновик",
                  "Опубликовано",
                  "Отменено"
                ],
                "description": "Native status value; use the value and type returned by the corresponding service."
              },
              "notes": {
                "type": "string",
                "maxLength": 5000,
                "description": "Native notes value; use the value and type returned by the corresponding service."
              }
            },
            "required": [
              "employee",
              "date",
              "start",
              "end",
              "timezone",
              "breakMinutes",
              "type",
              "branch",
              "status",
              "notes"
            ],
            "additionalProperties": false,
            "description": "Native values value; use the value and type returned by the corresponding service."
          }
        },
        "required": [
          "id",
          "revision",
          "values"
        ],
        "additionalProperties": false
      },
      "description": "Native items 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": [
    "items",
    "requestId"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "id": {
      "description": "Native id value; use the value and type returned by the corresponding service.",
      "type": "string",
      "maxLength": 160
    },
    "revision": {
      "description": "Native revision value; use the value and type returned by the corresponding service.",
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ]
    },
    "result": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "$ref": "#/$defs/__schema0"
      },
      "description": "Bounded verified native outcome. Read full records separately after a write; no provider delivery is implied."
    }
  },
  "required": [
    "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"
          }
        }
      ]
    }
  }
}