Skip to main content
PUT
/
check-in
/
clock-in
/
{time_entry_id}
Update Time Entry
curl --request PUT \
  --url https://api.decodahealth.com/check-in/clock-in/{time_entry_id} \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "startTime": "2023-11-07T05:31:56Z",
  "endTime": "2023-11-07T05:31:56Z",
  "reason": "<string>"
}
'
{
  "id": "<string>",
  "userId": "<string>",
  "startTime": "2023-11-07T05:31:56Z",
  "locationId": "<string>",
  "endTime": "2023-11-07T05:31:56Z"
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Path Parameters

time_entry_id
string
required

Body

application/json
startTime
string<date-time> | null
endTime
string<date-time> | null
reason
string | null

Response

Successful Response

id
string
required
userId
string
required
startTime
string<date-time>
required
locationId
string
required
endTime
string<date-time> | null