Skip to Content
API ReferenceEmployees

Employment history (current + past)

GET
/api/v1/employees/{employee_id}/employments

Authorization

HttpBearerAuth
headerAuthorizationBearer <JWT>

Path Parameters

employee_id*Employee Id

Response Body

Successful Response

application/json
  1. response
[index: integer]?
Example Request
curl -X GET 'https://api.skailer.com/api/v1/employees/0/employments'
Example Response
[  {    "id": 0,    "custom_fields": [],    "date_effective_from": "string",    "date_effective_to": "string",    "employment_type": {      "id": 0,      "title": "string",      "is_archived": true,      "employees_count": 0    },    "employment_contract": {      "id": 0,      "title": "string",      "is_archived": true,      "employees_count": 0    },    "work_pattern": {      "id": 0,      "title": "string",      "monday": "string",      "tuesday": "string",      "wednesday": "string",      "thursday": "string",      "friday": "string",      "saturday": "string",      "sunday": "string",      "is_archived": true    },    "probation_ends_date": "2019-08-24",    "legal_entity": {      "id": 0,      "title": "string",      "tax_id": "string",      "currency": {        "code": "string",        "name": "string",        "name_plural": "string",        "symbol": "string",        "symbol_native": "string",        "decimal_digits": 0,        "rounding": 0      },      "location": {        "id": 0,        "title": "string",        "address_1": "string",        "address_2": "string",        "city": "string",        "state": "string",        "zip": "string",        "country": {          "id": 0,          "title": "string"        },        "timezone": "string",        "employees_count": 0,        "is_archived": true      },      "employees_count": 0,      "is_archived": true    },    "comment": "string",    "changed_by": {      "id": 0,      "first_name": "string",      "last_name": "string",      "email": "string",      "is_archived": false    },    "contractual_fte": "string"  }]