AVAILABLE WITH BUSINESS SUBSCRIPTION

Request: GET /content/{content_item_id}/final_statuses

Permissions to Run the Request

 Account Owner, Account Administrators, Department Administratorsor custom roles

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

ParameterDescription
Authorization (required)Access token. You can obtain a token by making a request.

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 https/1.1
Host: api-learn.ispringlearn.com
Authorization: p-1sJDjmULL5DdpXPJTcbm4jVIaWVHvNmrjAxATRbNE
XML

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>
XML

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.