Show Employee Job Field
GET /services/api/v1/employee_job_fields/{id}
Returns the requested employee job field.
Parameters
Parameter | Type | Description |
---|---|---|
id | string | The ID of the employee job field. |
Response
Requested employee job field.
- Example
- Schema
{
"id": "RrB7LYD2",
"type_of": "name",
"accessor": "name",
"name_de": "Bezeichnung",
"name_it": "Mansione",
"name_en": "Name",
"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 job field id. |
type_of | string | Type of the employee job field. |
accessor | string | Accessor for the employee job field. |
name_{locale} | string | Name of the employee job field in all locales of the business. |
hint_{locale} | string | Hint for the employee job field in all locales of the business. |
placeholder_{locale} | string | Placeholder for the employee job field in all locales of the business. |
values | json[] | Possible values for the employee job 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 field value in all locales of the business. |
Employee Job Field Types
Employee Job 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. |
name | string | name | Short text string. |
job_type | string | job_type | Select field for job types, for example "limited", "unlimited", "internship", "apprenticeship". |
classification | string | classification | Text input field for employee classification. |
time_table | string | time_table | Text input field for work times. |
time_type | string | time_type | Select field for time types. |
time_hours | integer | time_hours | Number input field for work hours. |
time_percentage | integer | time_percentage | Worktime percentage. 0-100 with 3 decimal places. |
location_id | string | location_id | Location id of the employee. |
department_id | string | department_id | Department id of the employee. |
supervisor_id | string | supervisor_id | Employee id of the supervisor. |
notes | string | notes | Text input field. |
work_days_per_week | integer | cf_{number} | Number input field for amount of work days per week. Allowed values are 1-7. |