kronos_get_custom_fields
Retrieve the list of custom fields configured for a Kronos account, revealing their actual IDs and types to use correctly when creating or updating events.
Instructions
Получить список пользовательских полей записи, настроенных в аккаунте, GET /api/v1/custom-fields/{accountId}.
Нужно, чтобы узнать реальные id и типы кастомных полей перед тем как передавать custom_fields в kronos_create_event / kronos_update_event.
Args: params (GetCustomFieldsInput): filial_id, account_id (обязательны).
Returns: str: JSON-ответ Кронос как есть.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |