...
Examples | XML | JSON |
---|
Example Request for Task | |
Expand |
---|
| {
"variables": null,
"virtual-resources": null,
"name": "Timer 0",
"timeZone": "America/Halifax",
"virtualResourcePriority": 10,
"hold": "yes",
"holdReason": "Waiting for input"
} |
|
Example Request for Task-Related Records |
Expand |
---|
| Anchor |
---|
| Variables for Task-Related Records |
---|
| Variables for Task-Related Records |
---|
| Variables<variables>
<variable>
<name>testVar</name><name>testVar</name>
<value>value</value><value>value</value>
</variable>
</variables> Anchor |
---|
| Virtual Resources for Task-Related Records |
---|
| Virtual Resources for Task-Related Records |
---|
| Virtual Resources<virtual-resources>
<virtual-resource>
<name>uc<name>uc - Solo</name>name>
<limit>2</limit><limit>2</limit>
</virtual-resource>
</virtual-resources> |
|
Expand |
---|
| {
"variables": [{
"name": "testvar",
"value": "abc"
}],
"virtualResources": [ {
"name": "aaaaa",
"limit": 2
} ],
"name": "Timer 0",
"virtualResourcePriority": 10,
"hold": "yes"
} |
|
Example Response |
Expand |
---|
|
Panel |
---|
html<command- bobswift<pre>
<command-response>response>
<type>launch</type><type>launch</type>
<success>true</success><success>true</success>
<info>Successfully<info>Successfully launched the Timer task Timer 0. </info></info>
<sysId>1484021712811013671DQNWR5P2F9846</sysId><sysId>1484021712811013671DQNWR5P2F9846</sysId>
<errors<errors / >
<>
</command- response>
</pre>response> |
|
|
Expand |
---|
|
Panel | html-bobswift |
---|
<pre>
{
"type": "launch",
"success": true,
"info": "Successfully launched the Timer task "Timer 0" with task instance sys_id 15136440261151733518FCQUD1BNHITA with hold on start.",
"errors": "",
"sysId": "15136440261151733518FCQUD1BNHITA"
}
</pre> |
|
|
Anchor |
---|
| Launch a Task Request Properties |
---|
| Launch a Task Request Properties |
---|
|
Launch a Task: Request Properties
...
Examples | XML | JSON |
---|
Example Request |
Expand |
---|
| <generic-query-filter>
<name>*</name>
<type>Timer</type>
<updatedTimeType>offset</updatedTimeType>
<updatedTime>-10d</updatedTime> <agentName>SBUS30 - AGNT0005</agentName>
<businessServices>bService1,bService2</businessServices>
</generic-query-filter>
or<generic-query-filter>
<name>*</name>
<workflowid>1463438057231012663TP5JP5EA8O1YS</workflowid>
</generic-query-filter>
|
|
Expand |
---|
| All tasks in the last three minutes.
{
"name": "*",
"updatedTimeType": "offset",
"updatedTime": "-3mn", "agentName": "SBUS30 - AGNT0005"
}
Or
{
"name": "*",
"workflowid": "a21c68bba02c43919d5a6d6042a3f082"
} |
|
Example Response |
Expand |
---|
| <tasks>
<task>
<description>description</description>
<name>test task 1</name>
<sysID>410d6c0bc0a801c901838d8ac43b3279</sysID>
<type>Windows</type>
<version>2</version>
</task>
<task>
<description>description</description>
<name>test task 2</name>
<sysID>410d6880c0a801c90196685fcc1ecb47</sysID>
<type>Windows</type>
<version>9</version>
</task>
</tasks> |
|
Expand |
---|
| [ {
"description": "Description",
"name": "test task 1",
"sysId": "371be743130a4b18a9fc49961650593c",
"type": "Timer",
"version": 23
}, {
"description": "Description",
"name": "test task 2",
"sysId": "10d58f96ab2b42e69d7e9bdde2ed21a7",
"type": "Timer",
"version": 2
} ] |
|
...