Classrooms
Edit a classroom slot registration
Changed on🔑
Required OAuth scope: classrooms:write.
Edits specific fields of an existing classroom slot registration. Fields not included in the request payload remain unchanged.
patch/api/v2/classroom-slots/{classroomSlotId}/registrations/{slotRegistrationId}
Request
- Base URLhttps://app.360learning.com
- URLhttps://app.360learning.com/api/v2/classroom-slots/{classroomSlotId}/registrations/{slotRegistrationId}
- AuthOAuth 2Client credentialsToken URL: /api/v2/oauth2/token
Path parameters
classroomSlotIdstring ObjectId required
Example:507f1f77bcf86cd799439011
The unique ID of the classroom slot.
slotRegistrationIdstring ObjectId required
Example:507f1f77bcf86cd799439011
The unique ID of the slot registration.
Headers
360-api-version'v2.0' required
The version of the API.
Request body
Response
Returns the updated classroom slot registration.
Example response
{
"_id": "507f1f77bcf86cd799439011",
"userId": "507f1f77bcf86cd799439011",
"attendanceDuration": 60,
"pathId": "507f1f77bcf86cd799439011"
}Changes
- info
added the new optional request property
- info