Paths
Create a path session
Changed on🔑
Required OAuth scope: paths:write.
Creates a path session for the given path.
post/api/v2/paths/{pathId}/sessions
Request
- Base URLhttps://app.360learning.com
- URLhttps://app.360learning.com/api/v2/paths/{pathId}/sessions
- AuthOAuth 2Client credentialsToken URL: /api/v2/oauth2/token
Path parameters
pathIdstring ObjectId required
Example:507f1f77bcf86cd799439011
The unique ID of the path.
Headers
360-api-version'v2.0' required
The version of the API.
Request body
Example request
{
"mainInstructorId": "507f1f77bcf86cd799439011",
"automaticReenrollment": {
"delayDays": 90
},
"name": "Employee Onboarding October Session.",
"additionalInformation": "A0015221",
"instructorIds": [
"507f1f77bcf86cd799439011"
]
}Response
Returns the information about the created session.
Example response
{
"mainInstructorId": "507f1f77bcf86cd799439011",
"automaticReenrollment": {
"delayDays": 90
},
"_id": "507f1f77bcf86cd799439011",
"groupId": "507f1f77bcf86cd799439011",
"instructorIds": [
"507f1f77bcf86cd799439011"
],
"name": "Employee Onboarding October Session.",
"pathId": "507f1f77bcf86cd799439011",
"additionalInformation": "A0015221",
"rootSessionId": "507f1f77bcf86cd799439011",
"translations": [
{
"lang": "fr",
"translatorIds": [
"507f1f77bcf86cd799439011"
],
"translatedFields": {
"name": "Accueil des employés Session d'Octobre"
}
}
]
}Changes
- breaking
added
subschema #5: Registration Request Assessors Missingsubschema #6: Registration Request Assessors Not Allowedsubschema #7: Registration Request Configuration Missingsubschema #9: Unenrollment Request Feature Disabledto the response bodyoneOflist for the response status - info
added the new optional request property
- info
the request property
became optional - info
request property
deprecated - info
response property
registrationRequestValidationdeprecated - info
added the required property
to the response with the status
- breaking