{{getMsg('Help_YouAreHere')}}:
/
{{page.title}}
{{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}}
{{helpModel.downloadHelpPdfDataStatus}}
List
Returns a list of tasks created by the user. The format of the result is JSON.
GET /api/taskplanner/list
Requests a list of tasks created by the user.
RESPONSE Fields | Value Type | Description |
---|---|---|
id | string | The globally unique ID of the task |
name | string | The name of the task |
description | string | The description of the task |
owner | string | DisplayName of the task's owner |
ownerId | number | ID of the task's owner |
Example Request
# Request GET /api/taskplanner/list HTTP/1.1 Authorization: Bearer VGhpcyBpcyBqdXN0IGEgZGVtbyBhY2Nlc3MgdG9rZW4u # Response HTTP/1.1 200 OK Content-Type: application/json [ { "id": "4w8yavnk046debwrwkcg4dbqh", "name": "Daily Backup", "description": "Performs backup of user settings", "owner": "INETSOFTWARE\\Admin", "ownerId": 12 }, { "id": "8icdcmt0l203ut3dwu1paud1z", "name": "Weekly Backup", "description": "Performs full backup", "owner": "INETSOFTWARE\\Admin", "ownerId": 12 } ]
Application Example
# Browser access http://127.0.0.1:9000/api/taskplanner/list # Shell access using curl curl -LsH "Authorization: Bearer <access_token>" "http://127.0.0.1:9000/api/taskplanner/list" # Shell access using curl using username and password curl -Lsu username:password "http://127.0.0.1:9000/api/taskplanner/list"