GET /api/v1/paths/sessions/{pathSessionId}/classrooms/{classroomId}/slots
This route returns the list of classroom slots for a path session.
Returns
An array with for each slot:
_id: unique identifier for the classroom slotendDate: end date of the session, expressed in ISO 8601 format — example: 2022-05-16T22:00:00.000Z.location: location of the classroom slotname: title of the classroom slotstartDate: start date of the session, expressed in ISO 8601 format — example: 2022-05-16T22:00:00.000Z.team: array of the user IDs of trainers in charge of the slottimezone: time zone of the slot in the format Continent/Country (TZ database)virtual: set totruewhen the slot is a virtual Classroom. Set tofalsewhen the slot is an on-site Classroom.reportedDuration: reported duration of the classroom slot, in hours
Changelog
- January 11, 2023: creation of the route
Servers
- https://app.360learning.com
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
pathSessionId |
String | Yes |
ID of the path session. |
classroomId |
String | Yes |
ID of the classroom (not the slot). |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
company |
String | No |
(Optional) Include the company ID to authenticate calls via the API key as query parameter. For more information on the authentication methods supported by our API, see Authentication Methods. |
apiKey |
String | No |
(Optional) Include the API key to authenticate calls via the API key as query parameter. For more information on the authentication methods supported by our API, see Authentication Methods. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.