Classrooms

List all registrations in a classroom

πŸ”‘

Required OAuth scope: classrooms:read.

πŸ“–

This endpoint is paginated with a page size of 7,000 slot registrations. For more information, see the Pagination guide.

Lists all users registered to any slot in the given classroom.

get/api/v2/classrooms/{classroomId}/registrations

Request

  • Base URL
    https://app.360learning.com
  • URL
    https://app.360learning.com/api/v2/classrooms/{classroomId}/registrations
  • Auth
    OAuth 2
    Client credentials
    Token URL: /api/v2/oauth2/token

Path parameters

classroomIdstring ObjectId required
Example:507f1f77bcf86cd799439011

The unique ID of the classroom.

Headers

360-api-version'v2.0' required

The version of the API.

Response

Returns one page of 7000 slot registrations.

_idstring ObjectId required

The unique ID of the classroom slot registration.

archivedAtstring date-time

The date and time when the slot registration was archived from the path session, in the YYYY-MM-DDThh:mm:ss.sssZ format (ISO 8601 in Coordinated Universal Time (UTC)).

userIdstring ObjectId required

The unique ID of the registered user.

attendanceDurationnumber

If the classroom is setup through a webinar integration, contains the reported duration of the attendance in milliseconds.

createdAtstring date-time

The date and time when the slot registration has been created, in the YYYY-MM-DDThh:mm:ss.sssZ format (ISO 8601 in Coordinated Universal Time (UTC)).

hasAttendedboolean

The attendance status of the registration.

modifiedAtstring date-time

The date and time when the slot registration has been modified, in the YYYY-MM-DDThh:mm:ss.sssZ format (ISO 8601 in Coordinated Universal Time (UTC)).

pathIdstring ObjectId

The ID of the path in which this registration was made (if any).

status'archived' | 'published' required

The status of the slot registration.

classroomSlotIdstring ObjectId required

The unique ID of the classroom slot.

Example response

[
  {
    "_id": "507f1f77bcf86cd799439011",
    "userId": "507f1f77bcf86cd799439011",
    "attendanceDuration": 60,
    "pathId": "507f1f77bcf86cd799439011",
    "classroomSlotId": "507f1f77bcf86cd799439011"
  }
]

Changes

No recorded changes to this operation across all 2 revisions of this API.