Getting Session Details
AVAILABLE WITH BUSINESS SUBSCRIPTION
POST /job-training/sessions/result/list
Permissions to Run the Request
Account Owner and Account Administrators
Request Headers
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 |
checklistId (optional) | Checklist ID (can be more than one) |
sessionIds (optional) | Session ID (can be more than one) |
sessionStatus (optional) | Status of the session:
|
Response Parameters
Header | Description |
---|---|
checklistId | Checklist ID |
checklistTitle | Checklist name |
sessionId | Session ID |
sessionStatus | Status of the session:
|
startDate | Scheduled start date |
actualStartDate | Actual start date |
completionDate | Completion date |
result | Session result (%) |
totalPoints | Total points |
points | Earned points |
employeeId | An employee ID |
observerId | An observer ID |
Skipped metrics won't be counted toward the final score.
Example: A observation checklist includes three criteria. If the observer skips one criterion, the totalPoints parameter will be equal to 2, not 3.
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. |
Sample Request
POST /job-training/sessions/result/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
{
"checklistId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sessionIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}
CODE
Sample Response
[
{
"checklistId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"checklistTitle": "Floor Sales Representative",
"sessionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sessionStatus": "PASSED",
"startDate": "05-08-2024, 23:57:49",
"actualStartDate": "02-08-2024, 13:57:49",
"completionDate": "05-08-2024, 23:57:49",
"result": 60,
"totalPoints": 30,
"points": 18,
"employeeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"observerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
]
CODE