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.
| Parameter | Type | Description |
|---|---|---|
| token (required) | string | Access token. You can obtain a token by making a request |
| task_id (required) | string | The ID of the request whose status you want to get |
Parameter | Type | Description |
|---|---|---|
| status | string | The completion status of the request sent to edit a course or a module status Possible values:
|
| Error | Description |
|---|---|
| Unknown content item | The request ID hasn't been found |
| Permission denied | The user doesn't have permission to handle the request or can't edit the content item |
<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="https://schemas.xmlsoap.org/soap/envelope/"
xmlns="https://ispringlearn.com/go/services/api/soap">
<SOAP-ENV:Body>
<getTaskStatusRequest>
<taskId>100027</taskId>
</getTaskStatusRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope> |
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="https://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="https://ispringlearn.com/go/services/api/soap">
<SOAP-ENV:Body>
<ns1:getTaskStatusResult>
<ns1:status>complete</ns1:status>
</ns1:getTaskStatusResult>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope> |