PATCH /api/v1/classrooms/slots/{classroomSlotId}/attendance

Updates the attendance for a list of users who are registered to a classroom slot.

Path variables

NameTypeExampleDescription
classroomSlotIdObjectId as string1a2b3c4d5e6f7a8b9c8d7e6fThe ID of the classroomSlot

Responses

Success

message: "X user(s) updated"

Errors

Status codeError bodyReason
401{ "error": "{{usual_route_authentication_errors}}" }Bad authentication (missing/unmatching/unexisting authentication)
404{ "error": "classroomSlot_not_found" }classroomSlot specified does not belong to the company
400{ "error": "user_not_found" }User doesn't belong to the company
400{ "error": "BadRequest" }The user has an invalid request body

Servers

Path parameters

Name Type Required Description
classroomSlotId String Yes

The ID of the classroom slot

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Query parameters

Name Type Required Description
company String No

(Optional) Include the company ID to authenticate calls via the API key as query parameter. For more information on the authentication methods supported by our API, see Authentication Methods.

apiKey String No

(Optional) Include the API key to authenticate calls via the API key as query parameter. For more information on the authentication methods supported by our API, see Authentication Methods.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.