Panel | ||||
---|---|---|---|---|
|
...
The following web services are common to all Task types:
- 63544797
- 63544797
- 63544797
- 63544797
- 63544797Delete a Task
- Launch a Task
- List All Workflows That a Task Belongs To
- List Tasks
- List Tasks - Advanced
Detailed information for each of these web services is provided on this page.
...
Description | |
---|---|
URI | http://host_name/uc/resources/task |
HTTP Method | DELETE |
Description | Deletes the specified task. |
URI Parameters | See Delete a Task: URI Parameters, below. |
Example URI | |
Authentication | HTTP Basic |
Example Response |
|
...
Description | |||||||
---|---|---|---|---|---|---|---|
URI | http://host_name/uc/resources/task/ops-task-launch | ||||||
HTTP Method | POST | ||||||
Description | Launches the specified task. | ||||||
Example URI | http://localhost:8080/uc/resources/task/ops-task-launch | ||||||
Authentication | HTTP Basic | ||||||
Consumes Content-Type | application/xml, application/json | ||||||
Produces Content-Type | application/xml, application/json | ||||||
Example Request | |||||||
| |||||||
Request Properties | |||||||
Request Task-Related Records Properties | |||||||
Example Response |
Anchor | ||||
---|---|---|---|---|
|
...
Examples | XML | JSON | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Example Request for Task |
|
| ||||||||||||||||||||||||||||||
Example Request for Task-Related Records |
| |||||||||||||||||||||||||||||||
Example Response |
|
|
...
Property | UI Field Name | Description | Specifications | Required | ||||||
---|---|---|---|---|---|---|---|---|---|---|
hold | Hold on Start | Indicates that when the task is launched, it appears in the Activity Monitor with a status of Held. The task runs when the user releases it. | Valid values = Yes,Y,true | N | ||||||
holdReason | Hold Reason | Information about why the task will be put on hold when it starts. | N | |||||||
launchReason | Launch Reason | Reason for the task launch | N (Y if | |||||||
name | Task Name | Name of the task. | Y | |||||||
timeZone | Time Zone | Time Zone in the which the task is launched. | N | |||||||
virtualResourcePriority | Virtual Resource Priority | Priority for acquiring a resource when two or more tasks are waiting for the resource; applies to all resources required by the task. | Integer; Valid values: 1 (high) to 20 (low). Default is 10. | N |
...
Description | |
---|---|
URI | http://host_name/uc/resources/task/parent/list |
HTTP Method | GET |
Description | Retrieves a list of parent workflows that a task belongs to. |
URI Parameters | See List All Workflows That a Task Belongs To: URI Parameters, below. |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
Example Response | See List All Workflows That a Task Belongs To: XML and JSON Examples. |
Response Properties | See List All Workflows That a Task Belongs To: Response Properties. |
Anchor | ||||
---|---|---|---|---|
|
...
Description | |
---|---|
URI | http://host_name/uc/resources/task/list |
HTTP Method | POST |
Description | Retrieves information on tasks matching specific search criteria. |
Example URI | http://localhost:8080/uc/resources/task/list |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | application/xml, application/json |
Example Request | |
Request Properties | |
Example Response |
Anchor | ||||
---|---|---|---|---|
|
...
Property | UI Field Name | Description | Specifications | Required | Mutually Exclusive With | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
agentName | Agent | Agent on which this task was run. | N | |||||||||||||
businessServices | Member of Business Services | Business Services that this task belongs to. | Comma-separated list. | N | ||||||||||||
name | Task Name | Name or partial name of one or more tasks. | Wildcards are supported. | N | ||||||||||||
templateId | n/a | ID used within the controller to identify a template. | If a templateId or templateName is specified, List task returns a list of tasks associated with the Universal template. | N | templateName | |||||||||||
templateName | Template Name | Name of a template. | If a templateId or templateName is specified, List task returns a list of tasks associated with the Universal template. | N | templateId | |||||||||||
type | n/a | Task Type of tasks to list. | Valid values: One of the following (not case sensitive):
To list tasks for all task types, enter | N | ||||||||||||
updatedTime | n/a | If | Valid values:
Default is d.
| Y | ||||||||||||
updatedTimeType | n/a | Type of | Valid values:
| N | ||||||||||||
workflowid | n/a | ID used within the Controller to identify a workflow. | If | N |
| |||||||||||
workflowname | Task Name | Name of a workflow. | If | N |
|
...
Description | |
---|---|
URI | |
HTTP Method | GET |
Description | Retrieve task details using specific query parameter(s). |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
URI Properties | |
Example Response |
Anchor | ||||
---|---|---|---|---|
|
...
Property | UI Field Name | Description | Specifications | Required | Mutually Exclusive With | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
agentname | Agent | Agent on which this task was run. | N | |||||||||||||
businessServices | Member of Business Services | Business Services that this task belongs to. | Comma-separated list. | N | ||||||||||||
taskname | Task Name | Name or partial name of one or more tasks. | /wiki/spaces/UC71x/pages/5215217 are supported. | N | ||||||||||||
templateId | n/a | ID used within the controller to identify a template. | If a templateId or templateName is specified, List task returns a list of tasks associated with the Universal template. | N | templateName | |||||||||||
templateName | Template Name | Name of a template. | If a templateId or templateName is specified, List task returns a list of tasks associated with the Universal template. | N | templateId | |||||||||||
type | n/a | Task Type of tasks to list. | Valid values: One of the following (not case sensitive):
To list tasks for all task types, enter | N | ||||||||||||
updatedTime | n/a | If | Valid values:
Default is d.
| Y | ||||||||||||
updatedTimeType | n/a | Type of | Valid values:
| N | ||||||||||||
workflowid | n/a | ID used within the Controller to identify a workflow. | If | N |
| |||||||||||
workflowname | Task Name | Name of a workflow. | If | N |
|
...