Подбор персонала · Изменение
Подбор персонала · Вакансии · Изменение
recruiting_vacancies_update
Попробуйте три запроса
Подготовить
- Вы указываетеId записи
- ПомощникПодготовка
- Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Подбор персонала / Вакансии / Изменение». Для изменения нужны ID записи, изменяемые поля. Покажи объект и ожидаемый эффект до выполнения.
- id
- Id записи
- values
- Изменяемые поля
Применить
- Вы указываетеСогласованные значения
- ПомощникОдин вызов
- Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Подбор персонала / Вакансии / Изменение» с параметром values.status = Черновик. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
- values.status
- Черновик
- values.remote
- true
- values.salaryVisible
- true
Проверить итог
- Вы указываетеИсходный ответ
- ПомощникСверка результата
- Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Подбор персонала / Вакансии / Изменение» по исходному ответу. Покажи ID записи, версия записи. Объясни, чем подтвердить эффект для выбранного объекта.
- До измененияПрочитать версию
- При записиПередать выбранную версию
- После ответаПеречитать объект
Как работает действие
Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения. Прочитайте актуальную версию записи перед подготовкой запроса.
Описание разработчика
Create or update a native recruiting vacancy through the existing Recruiter service. No duplicate people or parallel storage. Stable native request ID and revision checks apply.
Параметры запроса
- id
- Идентификатор выбранной записи. обязательно по схеме · string
- expectedRevision
- Версия, прочитанная перед изменением. обязательно по схеме · integer · максимум 9007199254740991
- values
- Значения для записи. Состав и вложенность указаны в схеме. обязательно по схеме · object
- requestId
- Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
- id
- Canonical native record ID. обязательно по схеме · string
- revision
- Native revision after the operation. обязательно по схеме · integer · максимум 9007199254740991
- values
- Native business record with credentials and internal links omitted. обязательно по схеме · object
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"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 record UUID from the list/get action."
},
"expectedRevision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Exact current native revision from get."
},
"values": {
"type": "object",
"properties": {
"title": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Native title value; use the value and type returned by the corresponding service."
},
"position": {
"description": "Native position value; use the value and type returned by the corresponding service.",
"anyOf": [
{
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
},
{
"type": "string",
"const": ""
}
]
},
"status": {
"description": "Native status value; use the value and type returned by the corresponding service.",
"type": "string",
"enum": [
"Черновик",
"Активна",
"На паузе",
"Закрыта",
"Архив"
]
},
"stages": {
"description": "Native stages value; use the value and type returned by the corresponding service.",
"minItems": 1,
"maxItems": 32,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"description": {
"description": "Native description value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 12000
},
"location": {
"description": "Native location value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 200
},
"branch": {
"description": "Native branch value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 200
},
"type": {
"description": "Native type value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 100
},
"format": {
"description": "Native format value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 100
},
"schedule": {
"description": "Native schedule value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 200
},
"salaryUnit": {
"description": "Native salaryUnit value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 100
},
"headcount": {
"description": "Native headcount value; use the value and type returned by the corresponding service.",
"type": "integer",
"minimum": 1,
"maximum": 10000
},
"department": {
"description": "Native department value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 200
},
"manager": {
"description": "Native manager value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 200
},
"skills": {
"description": "Native skills value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 12000
},
"languages": {
"description": "Native languages value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 2000
},
"remote": {
"description": "Native remote value; use the value and type returned by the corresponding service.",
"type": "boolean"
},
"salaryVisible": {
"description": "Native salaryVisible value; use the value and type returned by the corresponding service.",
"type": "boolean"
},
"salaryMin": {
"description": "Native salaryMin value; use the value and type returned by the corresponding service.",
"type": "number",
"minimum": 0
},
"salaryMax": {
"description": "Native salaryMax value; use the value and type returned by the corresponding service.",
"type": "number",
"minimum": 0
},
"currency": {
"description": "Native currency value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 12
},
"recruiter": {
"description": "Native recruiter value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 200
},
"approval": {
"description": "Native approval value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 100
},
"requirements": {
"description": "Native requirements value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 12000
},
"responsibilities": {
"description": "Native responsibilities value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 12000
},
"benefits": {
"description": "Native benefits value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 12000
},
"deadline": {
"description": "Native deadline value; use the value and type returned by the corresponding service.",
"anyOf": [
{
"$ref": "#/$defs/_mcp0"
},
{
"type": "string",
"const": ""
}
]
},
"code": {
"description": "Native code value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 128
},
"priority": {
"description": "Native priority value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 60
},
"startDate": {
"description": "Native startDate value; use the value and type returned by the corresponding service.",
"anyOf": [
{
"$ref": "#/$defs/_mcp0"
},
{
"type": "string",
"const": ""
}
]
},
"experience": {
"description": "Native experience value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 500
},
"probation": {
"description": "Native probation value; use the value and type returned by the corresponding service.",
"type": "integer",
"minimum": 0,
"maximum": 3650
},
"documents": {
"description": "Native documents value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 10000
},
"publicationLanguage": {
"description": "Native publicationLanguage value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 40
},
"utmSource": {
"description": "Native utmSource value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 200
},
"utmCampaign": {
"description": "Native utmCampaign value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 200
},
"repostDays": {
"description": "Native repostDays value; use the value and type returned by the corresponding service.",
"type": "integer",
"minimum": 0,
"maximum": 3650
},
"contactVisibility": {
"description": "Native contactVisibility value; use the value and type returned by the corresponding service.",
"type": "string",
"enum": [
"После отклика",
"Показывать",
"Скрывать"
]
},
"feedbackHours": {
"description": "Native feedbackHours value; use the value and type returned by the corresponding service.",
"type": "number",
"minimum": 0,
"maximum": 8760
},
"interviewDuration": {
"description": "Native interviewDuration value; use the value and type returned by the corresponding service.",
"type": "integer",
"minimum": 1,
"maximum": 240
},
"offerApprover": {
"description": "Native offerApprover value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 200
},
"offerExpiryDays": {
"description": "Native offerExpiryDays value; use the value and type returned by the corresponding service.",
"type": "integer",
"minimum": 0,
"maximum": 3650
},
"testEnabled": {
"description": "Native testEnabled value; use the value and type returned by the corresponding service.",
"type": "boolean"
},
"testDuration": {
"description": "Native testDuration value; use the value and type returned by the corresponding service.",
"type": "integer",
"minimum": 0,
"maximum": 3650
},
"testTitle": {
"description": "Native testTitle value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 500
},
"testReviewer": {
"description": "Native testReviewer value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 200
},
"testDescription": {
"description": "Native testDescription value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 12000
},
"channels": {
"description": "Native placement preferences only; selecting an external channel does not post a vacancy to that provider.",
"maxItems": 30,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"questions": {
"description": "Native questions value; use the value and type returned by the corresponding service.",
"maxItems": 50,
"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."
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"description": "Native title value; use the value and type returned by the corresponding service."
},
"type": {
"type": "string",
"enum": [
"Короткий текст",
"Текст",
"Число",
"Дата",
"Да / нет",
"Одиночный выбор",
"Несколько вариантов",
"Файл",
"Ссылка"
],
"description": "Native type value; use the value and type returned by the corresponding service."
},
"required": {
"description": "Native required value; use the value and type returned by the corresponding service.",
"type": "boolean"
},
"options": {
"description": "Native options value; use the value and type returned by the corresponding service.",
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
}
},
"required": [
"id",
"title",
"type"
],
"additionalProperties": false
}
},
"image": {
"description": "Vacancy cover already supplied by the user or imported from managed media. Does not fetch an arbitrary URL.",
"type": "string",
"maxLength": 1000000,
"pattern": "^(?:https:\\/\\/[^\\s]+|data:image\\/(?:png|jpeg|webp);base64,[A-Za-z0-9+/=]+|)$"
}
},
"additionalProperties": false,
"description": "Only intended native fields. Updates preserve all other stored fields. Native service validates references and workflow rules."
},
"requestId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,128}$",
"description": "Stable request ID for this exact mutation; reuse on uncertain response."
}
},
"required": [
"id",
"expectedRevision",
"values",
"requestId"
],
"additionalProperties": false,
"$defs": {
"_mcp0": {
"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])))$"
}
}
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Canonical native record ID."
},
"revision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Native revision after the operation."
},
"values": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"description": "Native business record with credentials and internal links omitted."
}
},
"required": [
"id",
"revision",
"values"
],
"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"
}
}
]
}
}
}