Edit a classroom slot
Changed on🔑
Required OAuth scope: classrooms:write.
Edits specific fields of an existing classroom slot. Fields not included in the request payload remain unchanged.
Request
- Base URLhttps://app.360learning.com
- URLhttps://app.360learning.com/api/v2/classrooms/{classroomId}/slots/{classroomSlotId}
- AuthOAuth 2Client credentialsToken URL: /api/v2/oauth2/token
Path parameters
The unique ID of the classroom.
The unique ID of the classroom slot.
Headers
The version of the API.
Request body
Example request
{
"name": "My awesome classroom slot",
"location": "https://meet.google.com/kdf-zkfz-hje",
"maxCapacity": 10,
"reportedDuration": 1,
"trainerIds": [
"507f1f77bcf86cd799439011"
],
"timezone": "Europe/Paris"
}Response
Updates a specific classroom slot given its unique ID.
Example response
{
"reportedDuration": 1,
"maxCapacity": 10,
"_id": "507f1f77bcf86cd799439011",
"classroomId": "507f1f77bcf86cd799439011",
"name": "My awesome classroom slot",
"location": "https://meet.google.com/kdf-zkfz-hje",
"trainerIds": [
"507f1f77bcf86cd799439011"
],
"mediaIds": [
"507f1f77bcf86cd799439011"
],
"timezone": "Europe/Paris",
"webinarProvider": "Microsoft Teams",
"context": {
"_id": "507f1f77bcf86cd799439011"
}
}Changes
- breaking
added
subschema #3: Classroom Slot Waitlist Not Activesubschema #4: Classroom Slot Waitlist Not Allowedsubschema #5: Hide Attendees Not Activesubschema #6: Hide Attendees Requires Outlook Calendarto the response bodyoneOflist for the response status - breaking
added
subschema #4: Users Not Foundto the response bodyoneOflist for the response status - info
added the new optional request property
- info
added the new optional request property
- info
removed
subschema #5: Users Not Foundfrom the response bodyoneOflist for the response status - info
added the optional property
to the response with the status
- breaking