Подбор персонала · Чувствительное действие
Подбор персонала · Опции · Создание
recruiting_option_create
Попробуйте три запроса
Подготовить
- Вы указываетеНазвание
- ПомощникПодготовка
- Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Подбор персонала / Опции / Создание». Для изменения нужны вид, название. Покажи объект и ожидаемый эффект до выполнения.
- kind
- Вид
- name
- Название
- timezone
- Часовой пояс
Применить
- Вы указываетеСогласованные значения
- ПомощникОдин вызов
- Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Подбор персонала / Опции / Создание» с параметром kind = department. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
- kind
- department
- name
- Осенняя коллекция
- timezone
- America/Tijuana
Проверить итог
- Вы указываетеИсходный ответ
- ПомощникСверка результата
- Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Подбор персонала / Опции / Создание» по исходному ответу. Покажи ID записи, версия записи. Объясни, чем подтвердить эффект для выбранного объекта.
- ЗапросСохранить исходный ключ
- ОтветПроверить статус
- ПроверкаСверить эффект операции
Как работает действие
Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения.
Описание разработчика
Create or resolve a native Recruiter department or business branch by normalized name. Requires the existing native administrator role. Branches use canonical company locations; no duplicate data store or invitation is created.
Параметры запроса
- kind
- Native kind value; use the value and type returned by the corresponding service. обязательно по схеме · string · варианты department, branch
- name
- Native name value; use the value and type returned by the corresponding service. обязательно по схеме · string · до символов 128
- timezone
- Native timezone value; use the value and type returned by the corresponding service. обязательно по схеме · string · по умолчанию "UTC" · до символов 80
- 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
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"department",
"branch"
],
"description": "Native kind value; use the value and type returned by the corresponding service."
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Native name value; use the value and type returned by the corresponding service."
},
"timezone": {
"default": "UTC",
"description": "Native timezone value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 80
},
"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": [
"kind",
"name",
"timezone",
"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"
}
}
]
}
}
}