Skip to main content
PUT
/
short_work
/
{shortWork}
Kurzarbeit aktualisieren
curl --request PUT \
  --url https://{tenant}.stamp.eu/rest/short_work/{shortWork} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "employee_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "start_date": "2023-12-25",
  "end_date": "2023-12-25",
  "reduction_percent": 50
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "employee_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "start_date": "2023-12-25",
    "end_date": "2023-12-25",
    "reduction_percent": 50,
    "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

shortWork
string<uuid>
required

Body

application/json
employee_id
string<uuid>
required
start_date
string<date>
required
end_date
string<date>
required
reduction_percent
number
required
Required range: 0 <= x <= 100

Response

ShortWorkResource

data
object
required