Reschedule
Moves a user's enrollment from one course session to another. Supply the current course, the replacement course, and optionally a user ID to override the path parameter
Moves a user's enrollment from one course session to another. Supply the current course, the replacement course, and optionally a user ID to override the path parameter.
PUT
https://example.thoughtindustries.com/incoming/v2/users/:id/rescheduleExample request
curl -X PUT "https://example.thoughtindustries.com/incoming/v2/users/:id/reschedule" \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"currentCourseId": "00000000-0000-0000-0000-000000000000",
"newCourseId": "00000000-0000-0000-0000-000000000000",
"userId": "00000000-0000-0000-0000-000000000000"
}'Parameters
| Name | Type | Required | Location | Description |
|---|---|---|---|---|
id | string | Yes | path | The id identifier. |
currentCourseId | uuid | Yes | body | The UUID of the course session the user is currently enrolled in. |
newCourseId | uuid | Yes | body | The UUID of the course session to move the user into. |
userId | uuid | No | body | The UUID of the user to reschedule. When provided, overrides the id path parameter. |
Example response
"00000000-0000-0000-0000-000000000000"