curl --request PUT \
--url https://{tenant}.stamp.eu/rest/payroll/compensation-types/{compensationType} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"category": "<string>"
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"category": "<string>",
"is_system": true
}
}curl --request PUT \
--url https://{tenant}.stamp.eu/rest/payroll/compensation-types/{compensationType} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"category": "<string>"
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"category": "<string>",
"is_system": true
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
CompensationTypeResource
Show child attributes