API ReferenceEmployees
Add compensation item
POST
HttpBearerAuthheader
AuthorizationBearer <JWT>employee_id*Employee Idapplication/json- body
PUT заменяет пакет целиком: строки, причину и комментарий. currency — валюта свёрток пакета.
date_effective_from*Date Effective FromFormat
datechange_reason_id?integer|nullcomment?string|nullcurrency?string|nulllines*array<>Items
1 <= itemsSuccessful Response
application/json- response
success?SuccessDefault
truecurl -X POST 'https://api.skailer.com/api/v1/employees/0/compensations' \ -H 'Content-Type: application/json' \ -d '{ "date_effective_from": "2019-08-24", "lines": [ { "compensation_type_id": 0 } ]}'Example Response
{ "success": true}