PUT /attendance-events

Update an existing attendance event's fields in the SkyVision dashboard.

Body Required

Update an existing attendance event

  • skyvision_id integer(int32) Required

    The unique identifier of the attendance event in SkyVision

  • external_id string

    The unique identifier of the attendance event that was generated and stored in your system. We will store this to be able to push updates to the same attendance event if needed

  • employee_id string

    The unique employee id number/code that identifies the employee in the clients' organization

  • building string

    The unique identifier of the work location/site that is stored in your system, we will store this and map it to our site location IDs internally

  • time_in string(date-time)

    The check-in/clock-in time of the employee to the work site/location in UTC.

  • time_out string(date-time)

    The check-out/clock-out time of the employee to the work site/location in UTC.

Responses

  • 404

    Attendance Event not found

  • 204

    Successfully updated the attendance event

  • 400

    Invalid or missing request parameters

  • 401

    Invalid authentication token

PUT /attendance-events
curl \
 -X PUT https://cloud.sierraonetech.com/skyvision/integrations/v1/attendance-events \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"skyvision_id":123,"external_id":"abc123","employee_id":"AZ123","building":"string","time_in":"2023-05-04T09:42:00+00:00","time_out":"2023-05-04T09:42:00+00:00"}'
Request example
{
  "skyvision_id": 123,
  "external_id": "abc123",
  "employee_id": "AZ123",
  "building": "string",
  "time_in": "2023-05-04T09:42:00+00:00",
  "time_out": "2023-05-04T09:42:00+00:00"
}
Request examples
{
  "skyvision_id": 123,
  "external_id": "abc123",
  "employee_id": "AZ123",
  "building": "string",
  "time_in": "2025-05-04T09:42:00Z",
  "time_out": "2025-05-04T09:42:00Z"
}