Account Owner, Account Administrators, Department Administrators, or custom roles with the 'Can edit' access to the content item.
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.
Header | Description |
|---|---|
| Authorization (required) | Access token. You can obtain a token by making a request. |
| Parameter | Description |
| task_id (required) | The ID of the request whose status you want to get. |
| Parameter | Description |
|---|---|
| status | The status of the request sent to edit a course's or a module's status. Possible values:
|
Code | Text | Description |
|---|---|---|
| 200 | OK | The request status has been successfully received. |
| 400 | Bad Request | A request error. |
| 401 | Unauthorized | An authorization error. |
| 403 | Permission Denied | The user is not allowed to handle the requested action (not enough permission) or can't edit the content item. |
GET /task/58931/status Host: api-learn.ispringlearn.com Authorization: p-1sJDjmULL5DdpXPJTcbm4jVIaWVHvNmrjAxATRbNE Content-Type:application/json |
https/1.1 200 OK <?xml version="1.0" encoding="UTF-8"?> <status>complete</status> |