curl --request PUT \
--url https://{tenant}.stamp.eu/rest/employees/{employee}/compensations/{compensation} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"compensation_type_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"value": 1,
"currency": "<string>",
"effective_from": "2023-12-25",
"interval": "<string>",
"weekly_working_hours": 84.05,
"full_time_weekly_working_hours": 84.05,
"comment": "<string>"
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"employee_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"compensation_type_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"value": 123,
"effective_from": "2023-12-25",
"compensation_type": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"category": "<string>",
"is_system": true
},
"currency": "EUR",
"interval": "<string>",
"weekly_working_hours": 123,
"full_time_weekly_working_hours": 123,
"suggested_weekly_hours": 123,
"hours_mismatch": true,
"schedule_model_weekly_hours": 123,
"comment": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}curl --request PUT \
--url https://{tenant}.stamp.eu/rest/employees/{employee}/compensations/{compensation} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"compensation_type_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"value": 1,
"currency": "<string>",
"effective_from": "2023-12-25",
"interval": "<string>",
"weekly_working_hours": 84.05,
"full_time_weekly_working_hours": 84.05,
"comment": "<string>"
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"employee_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"compensation_type_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"value": 123,
"effective_from": "2023-12-25",
"compensation_type": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"category": "<string>",
"is_system": true
},
"currency": "EUR",
"interval": "<string>",
"weekly_working_hours": 123,
"full_time_weekly_working_hours": 123,
"suggested_weekly_hours": 123,
"hours_mismatch": true,
"schedule_model_weekly_hours": 123,
"comment": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
x >= 030.1 <= x <= 1680.1 <= x <= 1681000EmployeeCompensationResource
Show child attributes