Skip to main content
PUT
/
employees
/
{employee}
/
compensations
/
{compensation}
Vergütung aktualisieren
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"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

employee
string<uuid>
required

Mitarbeiter-ID (UUID)

compensation
string<uuid>
required

Body

application/json
compensation_type_id
string<uuid>
value
number
Required range: x >= 0
currency
string
Required string length: 3
effective_from
string<date>
interval
string
weekly_working_hours
number
Required range: 0.1 <= x <= 168
full_time_weekly_working_hours
number
Required range: 0.1 <= x <= 168
comment
string
Maximum string length: 1000

Response

EmployeeCompensationResource

data
object
required