Расчёт выплат · Чтение
Расчёт выплат · Просмотр · Профили
payroll_get_profile
Попробуйте три запроса
Получить данные
- Вы указываетеProfileid
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Расчёт выплат / Просмотр / Профили» выполни чтение по выбранной записи (profileId). Выведи кратко: profile, history.
- profile
- Поле ответа
- history
- Поле ответа
Задать параметры
- Вы указываетеProfileid
- ПомощникСверка выбора
- Вы получаетеТочный объект
Запрос в чат
Покажи, как получить «Расчёт выплат / Просмотр / Профили» на учебном примере с language = ru. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
- language
- ru
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Расчёт выплат / Просмотр / Профили» объясни profile, history. Отметь отсутствующие значения.
- profile
- Поле ответа
- history
- Поле ответа
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании.
Описание разработчика
Read safe full payroll profile metadata and latest version history. Selected configuration revision/hash are separate from current header dates/currency and lock revision. Use payroll_get_profile_configuration for bounded JSON content. No payroll changes.
Параметры запроса
- profileId
- Exact payroll profile UUID. обязательно по схеме · string
- configurationRevision
- Select an immutable configuration revision. Do not combine with effectiveAt. необязательно · integer · минимум 1 · максимум 9007199254740991
- effectiveAt
- Select the native configuration effective on this date. Current profile header fields remain current. необязательно · string
- historyLimit
- Maximum latest historical metadata rows; use payroll_get_profile_history for additional revisions. обязательно по схеме · integer · по умолчанию 10 · минимум 1 · максимум 20
- language
- Язык результата или локализуемого значения согласно схеме. обязательно по схеме · string · по умолчанию "en" · до символов 16
Что вернёт команда
- profile
- Current profile header plus selected immutable configuration identifiers; configuration content is read separately. обязательно по схеме · object
- history
- Latest immutable version metadata; these dates describe their own revisions. обязательно по схеме · array · до элементов 20
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"profileId": {
"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": "Exact payroll profile UUID."
},
"configurationRevision": {
"description": "Select an immutable configuration revision. Do not combine with effectiveAt.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"effectiveAt": {
"description": "Select the native configuration effective on this date. Current profile header fields remain current.",
"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])))$"
},
"historyLimit": {
"default": 10,
"description": "Maximum latest historical metadata rows; use payroll_get_profile_history for additional revisions.",
"type": "integer",
"minimum": 1,
"maximum": 20
},
"language": {
"default": "en",
"description": "Preferred language for display labels; stored names are not changed.",
"type": "string",
"minLength": 2,
"maxLength": 16,
"pattern": "^[A-Za-z][A-Za-z0-9-]*$"
}
},
"required": [
"profileId",
"historyLimit",
"language"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"profile": {
"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": "Canonical payroll profile UUID."
},
"employeeId": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[^\\u0000-\\u001f\\u007f/|]+$",
"description": "Canonical employee identifier."
},
"name": {
"anyOf": [
{
"type": "string",
"maxLength": 512
},
{
"type": "null"
}
],
"description": "Display name, including the native default-language fallback. Long names are shortened only in summaries."
},
"locationId": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[^\\u0000-\\u001f\\u007f/|]+$"
},
{
"type": "null"
}
],
"description": "Assigned establishment, or null for a company-wide assignment."
},
"status": {
"type": "string",
"enum": [
"draft",
"active",
"inactive",
"archived"
],
"description": "Current native profile lifecycle status."
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991,
"description": "Current lock_version; use this as expectedRevision for an update or archive."
},
"currency": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
],
"description": "Current profile currency; this does not describe a historical configuration version."
},
"effectiveFrom": {
"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": "Current profile header start date."
},
"effectiveTo": {
"anyOf": [
{
"$ref": "#/$defs/_mcp0"
},
{
"type": "null"
}
],
"description": "Current profile header end date, or null when open-ended."
},
"assignmentKey": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[^\\u0000-\\u001f\\u007f/|]+$",
"description": "Immutable assignment identity within this employee."
},
"positionId": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[^\\u0000-\\u001f\\u007f/|]+$"
},
{
"type": "null"
}
],
"description": "Current assigned position."
},
"currentRevision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991,
"description": "Latest saved configuration revision, distinct from the mutation lock revision."
},
"payrollPeriod": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
],
"description": "Current native payroll period label; no payroll calculation is performed."
},
"employmentType": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
],
"description": "Current native employment type."
},
"profileName": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"description": "Complete safe localized profile name in its native object shape."
},
"employeeName": {
"anyOf": [
{
"type": "string",
"maxLength": 300
},
{
"type": "null"
}
],
"description": "Current employee display name or the saved fallback when the employee is unavailable."
},
"locationName": {
"anyOf": [
{
"type": "string",
"maxLength": 512
},
{
"type": "null"
}
],
"description": "Current establishment display label."
},
"positionName": {
"anyOf": [
{
"type": "string",
"maxLength": 512
},
{
"type": "null"
}
],
"description": "Current position display label."
},
"configurationRevision": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
],
"description": "Selected immutable configuration revision, or null when the native lookup did not select a version."
},
"configurationHash": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
],
"description": "Native SHA256 of the selected configuration, distinct from a configuration-chunk digest."
},
"createdAt": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
],
"description": "Native profile creation timestamp."
},
"createdBy": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[^\\u0000-\\u001f\\u007f/|]+$"
},
{
"type": "null"
}
],
"description": "Actor recorded when the profile was created."
},
"updatedAt": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
],
"description": "Native current profile update timestamp."
},
"updatedBy": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[^\\u0000-\\u001f\\u007f/|]+$"
},
{
"type": "null"
}
],
"description": "Actor recorded for the current profile update."
},
"archivedAt": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
],
"description": "Native archive timestamp, or null."
},
"archivedBy": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[^\\u0000-\\u001f\\u007f/|]+$"
},
{
"type": "null"
}
],
"description": "Actor recorded for archive, or null."
}
},
"required": [
"id",
"employeeId",
"name",
"locationId",
"status",
"revision",
"currency",
"effectiveFrom",
"effectiveTo",
"assignmentKey",
"positionId",
"currentRevision",
"payrollPeriod",
"employmentType",
"profileName",
"employeeName",
"locationName",
"positionName",
"configurationRevision",
"configurationHash",
"createdAt",
"createdBy",
"updatedAt",
"updatedBy",
"archivedAt",
"archivedBy"
],
"additionalProperties": false,
"description": "Current profile header plus selected immutable configuration identifiers; configuration content is read separately."
},
"history": {
"maxItems": 20,
"type": "array",
"items": {
"type": "object",
"properties": {
"versionId": {
"anyOf": [
{
"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)$"
},
{
"type": "null"
}
],
"description": "Immutable native version UUID, or null outside the native historical metadata window."
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991,
"description": "Immutable configuration revision."
},
"configurationHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Native SHA256 for this immutable configuration."
},
"metadataAvailable": {
"type": "boolean",
"description": "Whether the native latest-100 history window included the historical metadata. False never substitutes current header values."
},
"supersedesRevision": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
],
"description": "Earlier revision superseded by this snapshot, when available."
},
"effectiveFrom": {
"anyOf": [
{
"$ref": "#/$defs/_mcp0"
},
{
"type": "null"
}
],
"description": "Historical effective start date, or null when metadata is outside the native history window."
},
"effectiveTo": {
"anyOf": [
{
"$ref": "#/$defs/_mcp0"
},
{
"type": "null"
}
],
"description": "Historical end date, or null when open-ended or metadata unavailable."
},
"currency": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
],
"description": "Historical currency, when metadata is available."
},
"payrollPeriod": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
],
"description": "Historical payroll period, when metadata is available."
},
"employmentType": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
],
"description": "Historical employment type, when metadata is available."
},
"createdAt": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
],
"description": "Historical version creation timestamp, when available."
},
"createdBy": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[^\\u0000-\\u001f\\u007f/|]+$"
},
{
"type": "null"
}
],
"description": "Historical version actor, when available."
}
},
"required": [
"versionId",
"revision",
"configurationHash",
"metadataAvailable",
"supersedesRevision",
"effectiveFrom",
"effectiveTo",
"currency",
"payrollPeriod",
"employmentType",
"createdAt",
"createdBy"
],
"additionalProperties": false
},
"description": "Latest immutable version metadata; these dates describe their own revisions."
}
},
"required": [
"profile",
"history"
],
"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"
}
}
]
},
"_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])))$"
}
}
}