POST /job-training/checklist/sessions/list
Permissions to Run the Request
Account Owner and Account Administrators
Request Headers and Parameters
Header | Description |
---|
Authorization (required) | Access token. You can obtain a token by making a request |
Content-Type: application/json (required)
| Property for processing a request in JSON |
Accept: application/json (required)
| Property for processing a request in JSON |
Parameter | Description |
checklistIds (optional) | Checklist ID (can be more than one) |
sessionIds (optional) | Session ID (can be more than one) |
Response Parameters
Parameter | Description |
---|
checklistId | Checklist ID |
checklistTitle | Checklist name |
checklistStatus | Status of the checklist:
- PUBLISHED — published
- HIDDEN — hidden
|
sessionIds | Session ID |
Response Codes
Code | Text | Description |
---|
200 | ОК | The request has been successfully processed. |
400 | Bad Request | A request error
|
401 | Unauthorized | An authorization error |
403 | Permission Denied | No permission to run this request. Only the Account Owner and Account Administrators can run this request. |
Sample Request
POST /job-training/checklist/sessions/list
Host: api-learn.ispringlearn.com
Content-Type: application/json
Accept: application/json
X-Auth-Account-Url: https://myaccount.ispringlearn.com
Authorization: Bearer N3Hk5sds1_DVj1JFTqJKFWjGHf94DWp1YSffLxeZX8co
{
"checklistIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"sessionIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}
CODE
Sample Response
[
{
"checklistId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"checklistTitle": "On-the-Job Training Checklist",
"checklistStatus": "PUBLISHED",
"sessionIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}
]
CODE