API ReferenceEmployees
Compensation history
POST
HttpBearerAuthheader
AuthorizationBearer <JWT>employee_id*Employee Idapplication/json- body
page_number?Page NumberRange
0 < valueDefault
1page_size?Page SizeRange
1 <= value <= 500Default
20Successful Response
application/json- response
items*array<>metadata*curl -X POST 'https://api.skailer.com/api/v1/employees/0/compensations/search' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "items": [ { "id": 0, "date_effective_from": "string", "date_effective_to": "string", "change_reason": { "id": 0, "title": "string" }, "base_salary_gross": "string", "base_salary_net": "string", "currency": "string", "comment": "string", "per_type": "hourly", "changed_by": { "id": 0, "first_name": "string", "last_name": "string", "email": "string", "is_archived": false }, "lines": [ { "id": 0, "compensation_type": { "id": 0, "title": "string", "is_archived": true }, "amount_gross": "string", "amount_net": "string", "currency": "string", "per_type": "hourly", "description": "string", "kind": "earning", "is_included_in_gross": true, "is_payable_to_employee": true, "is_included_in_total_cost": true, "rate_type": "fixed_amount", "percent": "string", "is_off_payroll": true } ], "rollups": { "currency_code": "string", "per_type": "hourly", "date_fx_rate": "string", "gross_amount": "string", "net_official_amount": "string", "net_actual_amount": "string", "total_cost_official_amount": "string", "total_cost_actual_amount": "string", "implied_deductions": "string" } } ], "metadata": { "page_number": 1, "total_pages": 0, "items": 0, "items_per_page": 0, "total_items": 0 }}