Show Employee Payout Field
GET /services/api/v1/employee_payout_fields/{id}
Returns the requested employee payout field.
Parameters
Parameter | Type | Description |
---|---|---|
id | string | The ID of the employee payout field. |
Response
Requested employee payout field.
- Example
- Schema
{
"id": "RrB7LYD2",
"type_of": "date",
"accessor": "cf_9493",
"name_de": "Empfangsdatum",
"name_it": "Data di ricezione",
"name_en": "Date of receipt",
"hint_de": null,
"hint_it": null,
"hint_en": null,
"placeholder_de": null,
"placeholder_it": null,
"placeholder_en": null,
"values": null
}
Attribute | Type | Description |
---|---|---|
id | string | Employee payout field id. |
type_of | string | Type of the employee payout field. |
accessor | string | Accessor for the employee payout field. |
name_{locale} | string | Name of the employee payout field in all locales of the business. |
hint_{locale} | string | Hint for the employee payout field in all locales of the business. |
placeholder_{locale} | string | Placeholder for the employee payout field in all locales of the business. |
values | json[] | Possible values for the employee payout field as seen in the values table below. |
Values
"values": [
{
"id": "unknown",
"label_de": "-",
"label_it": "-",
"label_en": "-",
},
{
"id": "c1",
"label_de": "C1 (ehemals A)",
"label_it": "C1 (ex A)",
"label_en": "C1 (formerly A)",
},
...
]
Attribute | Type | Description |
---|---|---|
id | string | The identifier of the value |
label_{locale} | string | Label of the employee payout field value in all locales of the business. |
Employee Payout Field Types
Employee Payout Field Type | Type | Accessor | Description |
---|---|---|---|
text | string | cf_{number} | Short text string. |
currency | float | cf_{number} | Float number input. Rounded to 2 decimals. |
integer | integer | cf_{number} | Integer input. |
float | integer | cf_{number} | Float input. |
select_single | string | cf_{number} | Single value dropdown. Possible values are provided in the 'values' field. |
select_multiple | string[] | cf_{number} | Multi value dropdown. Possible values are provided in the 'values' field. |
select_radio | string | cf_{number} | Radio button select. Possible values are provided in the 'values' field. |
checkbox | boolean | cf_{number} | Simple checkbox. |
date | string | cf_{number} | Date field for ISO 8601 timestamps. |
datetime | string | cf_{number} | Datetime field for ISO 8601 datetime-timestamps. |
notes | string | notes | Text input field. |
gross | float | gross | Gross payout. |
net | float | net | Net payout. |