POST api/ScheduledTasks/retrieve_tasks
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of scheduled_taskName | Description | Type | Additional information |
---|---|---|---|
identifier | globally unique identifier |
None. |
|
name | string |
None. |
|
interval | integer |
None. |
|
path | string |
None. |
|
import_affiliation | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "identifier": "3a227c50-4cc2-492d-b7e6-cffa0e03cb3a", "name": "sample string 2", "interval": 1, "path": "sample string 3", "import_affiliation": "sample string 4" }, { "identifier": "3a227c50-4cc2-492d-b7e6-cffa0e03cb3a", "name": "sample string 2", "interval": 1, "path": "sample string 3", "import_affiliation": "sample string 4" } ]
application/xml, text/xml
Sample:
<ArrayOfscheduled_task xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Totara.WEBAPI"> <scheduled_task> <identifier>3a227c50-4cc2-492d-b7e6-cffa0e03cb3a</identifier> <import_affiliation>sample string 4</import_affiliation> <interval>1</interval> <name>sample string 2</name> <path>sample string 3</path> </scheduled_task> <scheduled_task> <identifier>3a227c50-4cc2-492d-b7e6-cffa0e03cb3a</identifier> <import_affiliation>sample string 4</import_affiliation> <interval>1</interval> <name>sample string 2</name> <path>sample string 3</path> </scheduled_task> </ArrayOfscheduled_task>