Sign in

Update clock event

documented

Update an existing clock event.

PUT /clock/{clockId}Clockin/Clockoutno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.servicetrade.com/api/clock/{{$clockId}}" \
  -X PUT \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Cookie: PHPSESSID={{SERVICETRADE_SESSION}}" \
  -d '{"activity": "{{$activity}}", "eventTime": {{$eventTime}}, "lat": {{$lat}}, "lon": {{$lon}}, "source": "{{$source}}", "userId": {{$userId}}, "appointmentId": {{$appointmentId}} }'
Update clock event · ServiceTrade · OpenIntegrations