Classrooms
Add a slot to a classroom
Changed on🔑
Required OAuth scope: classrooms:write.
Adds a slot to a given classroom.
post/api/v2/classrooms/{classroomId}/slots
Request
- Base URLhttps://app.360learning.com
- URLhttps://app.360learning.com/api/v2/classrooms/{classroomId}/slots
- AuthOAuth 2Client credentialsToken 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.
Request body
Example request
{
"reportedDuration": 1,
"maxCapacity": 10,
"name": "My awesome classroom slot",
"context": {
"_id": "507f1f77bcf86cd799439011"
},
"location": "https://meet.google.com/kdf-zkfz-hje",
"trainerIds": [
"507f1f77bcf86cd799439011"
],
"mediaIds": [
"507f1f77bcf86cd799439011"
],
"timezone": "Europe/Paris",
"authorId": "507f1f77bcf86cd799439011"
}Response
Returns the created classroom slot.
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 #1: Classroom Slot Waitlist Not Activesubschema #2: Classroom Slot Waitlist Not Allowedsubschema #6: Author Not Allowedsubschema #7: Hide Attendees Not Activesubschema #8: Hide Attendees Requires Outlook Calendarto the response bodyoneOflist for the response status - breaking
added
subschema #1: User Not Foundto the response bodyoneOflist for the response status - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
to the response with the status
- breaking