Request: GET /content/{content_item_id}/final_statuses
Permissions to Run the Request
Account Owner, Account Administrators, Department Administrators, and custom roles with the 'Can edit' access to the content item.
Department Administrators, and users with a custom role can get statuses only of the users belonging to the departments they manage and their sub-departments.
Request Headers
| Parameter | Description |
|---|---|
| Authorization (required) | Access token. You can obtain a token by making a request. |
Possible Response Codes
| Code | Text | Description |
|---|---|---|
| 200 | OK | The request has been processed successfully. |
| 404 | Unknown content item | Can't find the course with the specified ID. |
| 403 | Permission denied | The user is not allowed to handle the requested action (not enough permissions) or can't edit the content item. |
Sample Request
GET /content/123/final_statuses https/1.1 Host: api-learn.ispringlearn.com Authorization: p-1sJDjmULL5DdpXPJTcbm4jVIaWVHvNmrjAxATRbNE
Sample Response
https/1.1 200 OK
<?xml version="1.0" encoding="UTF-8"?>
<statuses>
<status>
<userId>28199714-a7e4-11e9-bcd3-4289493f2b99</userId>
<status>Passed</status>
<progress>90.91</progress>
<completionDate>2019-10-26T12:35:10+00:00</completionDate>
<lastViewDate>2019-10-26T12:33:21+00:00</lastViewDate>
</status>
<status>
<userId>2820942e-a7e4-11e9-abaa-4289493f2b99</userId>
<status>In progress</status>
<progress>20</progress>
<lastViewDate>2019-10-23T14:14:13+00:00</lastViewDate>
</status>
</statuses>
The 'completionDate' value will be included in the xml for completed courses only.
The 'lastViewDate' value appears in the xml if a content items was viewed.