Skip to Content
API ReferenceEmployees

Position history

POST
/api/v1/employees/{employee_id}/positions/search

Authorization

HttpBearerAuth
headerAuthorizationBearer <JWT>

Path Parameters

employee_id*Employee Id

Request Body

application/json
  1. body
page_number?Page Number
Range0 < value
Default1
page_size?Page Size
Range1 <= value <= 500
Default20

Response Body

Successful Response

application/json
  1. response
items*array<>
metadata*
Example Request
curl -X POST 'https://api.skailer.com/api/v1/employees/0/positions/search' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "items": [    {      "id": 0,      "custom_fields": [],      "department": {        "id": 0,        "title": "string",        "is_archived": true,        "emoji": "string",        "image_url": "string"      },      "division": {        "id": 0,        "title": "string",        "is_archived": true      },      "job_profile": {        "id": 0,        "title": "string",        "system_title": "string",        "display_title": "string",        "description": "string",        "role_id": 0,        "level_id": 0,        "is_archived": true      },      "date_effective_from": "string",      "department_manager": {        "id": 0,        "first_name": "string",        "last_name": "string",        "email": "string",        "is_archived": false      },      "manager": {        "id": 0,        "first_name": "string",        "last_name": "string",        "email": "string",        "is_archived": false      },      "legal_entity": null,      "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      },      "comment": "string",      "changed_by": {        "id": 0,        "first_name": "string",        "last_name": "string",        "email": "string",        "is_archived": false      },      "change_reason": {        "id": 0,        "title": "string",        "is_archived": true,        "is_voluntary": true      }    }  ],  "metadata": {    "page_number": 1,    "total_pages": 0,    "items": 0,    "items_per_page": 0,    "total_items": 0  }}