AVAILABLE WITH BUSINESS SUBSCRIPTION

Request: GET /task/{task_id}/status

Permissions to Run the Request

Account OwnerAccount AdministratorsDepartment Administrators, or custom roles

Department Administrators and users with custom roles can get the ID of the request sent to update the status of a course or a module assigned to the users belonging to the departments they manage and their sub-departments.

Request Headers and Parameters

Header

Description

Authorization (required)Access token. You can obtain a token by making a request.
ParameterDescription
task_id (required)The ID of the request whose status you want to get.

Response Parameters

ParameterDescription
status

The status of the request sent to edit a course's or a module's status.

Possible values:

  • complete
  • failed
  • in progress

Possible Response Codes

Code

Text

Description

200OKThe request status has been successfully received.
400Bad RequestA request error.
401UnauthorizedAn authorization error.
403Permission DeniedThe user is not allowed to handle the requested action (not enough permission).

Sample Request

GET /task/58931/status 
Host: api-learn.ispringlearn.com
Authorization: p-1sJDjmULL5DdpXPJTcbm4jVIaWVHvNmrjAxATRbNE
Content-Type:application/json
XML

Sample Response

https/1.1 200 OK

<?xml version="1.0" encoding="UTF-8"?>
<status>complete</status>
XML