---
title: "Get employment term"
method: GET
path: "/employment-terms/{id}"
tags: ["employment-terms"]
---

# Get employment term

`GET /employment-terms/{id}`

## Request

- Base URL: `https://api.hoorayhr.io`
- URL: `https://api.hoorayhr.io/employment-terms/{id}`
- Auth: API key in header `authorization`

Retrieves a single resource with the given id from the service.

## Path parameters

- `id` integer, required

## Response `200`

success

- EmploymentTerms
  - `id` integer: Unique id of the employment term
  - `title` string: Title of the employment term. For system terms, this cannot be changed by users
  - `type` 'TEXT' | 'CURRENCY' | 'NUMBER' | 'BOOLEAN': Determines the type of the values for assignments for this employment term
  - `frequency` 'CONTINUOUS' | 'ONE_OFF': Frequency of the employment term
  - `systemType` 'SALARY' | 'WORKING_HOURS' | 'WAGE_TAX', nullable: System type of the employment term.
  - `createdAt` string, date-time: Creation date of the employment term
  - `updatedAt` string, date-time: Last updated date of the employment term
  - `salarySubTypes` object[]: A list of the salary sub types (only set for the employment term with system type "SALARY")
    - `id` integer: Unique id of the employment term salary sub type
    - `name` string: Name of the salary sub type. System types have the same name as the system type and cannot be changed by users
    - `systemType` 'FULLTIME_GROSS' | 'PARTTIME_GROSS' | 'HOURLY_GROSS', nullable: System type of the salary sub type. A company always has at least these system types: "FULLTIME_GROSS", "PARTTIME_GROSS", "HOURLY_GROSS"
    - `createdAt` string, date-time: Creation date of the employment term salary sub type
    - `updatedAt` string, date-time: Last updated date of the employment term salary sub type

## Other responses

- `401`: not authenticated
- `404`: not found
- `500`: general error

---

[API](https://skmtc.dev/hoorayhr/apis/hoorayhr-api-documentation.md) · [All operations](https://skmtc.dev/hoorayhr/apis/hoorayhr-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/hoorayhr/apis/hoorayhr-api-documentation/revisions/3adcd47cd827?raw)
