- Home
- API reference
- API documentation (JSON/XML)
- Tasks
- Job tasks
Workflow job list
Function
The WorkflowJobList task creates a list with certain details of jobs.
You can find more information about list queries here.
Description
Route: POST/job/_search
{
"filters": [
{
"key": "id",
"operator": "GREATER",
"value": "1234"
}
],
"view": {
"children": 1,
"limit": 10
},
"orders": [
{
"key": "created",
"type": "ASC"
}
]
}{
"stid": "20190829-app2-dev-17556",
"status": {
"code": "S300115",
"text": "Request data has been inquired successfully.",
"type": "SUCCESS"
},
"object": {
"type": "ObjectJob",
"summary": 1
},
"data": [
{
"job": {
"created": "2019-08-29T13:56:00.000+0200",
"updated": "2019-08-29T13:55:59.000+0200",
"owner": {
"context": 4,
"user": "customer"
},
"updater": {
"context": 4,
"user": "customer"
},
"status": "WAIT",
"subStatus": "pending_spool_base",
"execution": "2019-08-29T13:55:58.000+0200",
"action": "create",
"subType": "AU-TEST_au",
"id": 4297705675
},
"object": {
"type": "Domain",
"value": "example.com.au"
}
}
]
}
In XML, the order types for the respective object must be used:
- Zone Job List
- Contact Job List
<task>
<code>300115</code>
<view>
<limit>1</limit>
<offset>0</offset>
<from>2021-05-30 00:00:00</from>
<to>2022-05-30 23:59:59</to>
</view>
<where>
<key>type</key>
<operator>like</operator>
<value>zone</value>
</where>
<order>
<key>created</key>
<mode>DESC</mode>
</order>
</task> <response>
<result>
<data>
<summary>15</summary>
<workflow_job>
<job>
<id>4310644997</id>
<object>
example.com
</object>
<status>DEFERRED</status>
<execution>2022-06-14 20:56:33</execution>
<type>
<type>zone</type>
<sub_type />
<action>recovery</action>
<id>1053</id>
<created>2014-07-25 12:19:30</created>
<updated>2014-07-25 12:19:30</updated>
</type>
<owner>
<user>customer</user>
<context>4</context>
</owner>
<updater>
<user>customer</user>
<context>4</context>
</updater>
<created>2022-02-28 08:45:48</created>
<updated>2022-06-14 11:43:33</updated>
</job>
</workflow_job>
</data>
<status>
<code>S300115</code>
<text>Request data has been inquired successfully.</text>
<type>success</type>
</status>
</result>
<stid>20220614-app3-dev-5105</stid>
</response>