Request: GET /content/{content_item_id}/final_statuses

Permissions to Run the Request

 Account Owner, Account Administrators, Department Administrators, Publishers, or custom roles

Department Administrators, Publishers, 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

ParameterDescription
X-Auth-Account-Url (required)The base URL of the account, e.g. http://myaccount.ispringlearn.com
X-Auth-Email (required)The login of Account Owner, Account AdministratorDepartment Administrator, Publisher, or a user with a custom role. 
X-Auth-Password (required)The password of Account Owner, Account AdministratorDepartment Administrator, Publisher, or a user with a custom role. 

Possible Response Codes

CodeTextDescription
200OkThe request has been processed successfully.
404Unknown content itemCan't find the course with the specified ID.
403Permission deniedThe user is not allowed to handle the requested action (not enough permissions).

Sample Request

GET /content/123/final_statuses HTTP/1.1
Host: api-learn.ispringlearn.com
X-Auth-Account-Url: http://myaccount.ispringlearn.com
X-Auth-Email: email@email.com
X-Auth-Password: password

Sample Response

<?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.