Anchor | ||||
---|---|---|---|---|
|
...
GET (Using Query Parameters)
This GET service will return a list of scheduled tasks in the form of JSON objects based on a query parameter for the display name. Scheduled tasks are only returned if they contain the specified parameter. If no query parameters are given this request will return the entire list of scheduled tasks.
Info | ||
---|---|---|
| ||
http://host:port/flexdeploy/rest/tasks/scheduled? Append the following character sequences to the above URL to specify Query parameters.workflowRequestId = {workflowRequestId} folderRequestId = {folderRequestId} pipelineStageGateExecId = {pipelineStageGateExecId} pipelineStageStepExecId = {pipelineStageStepExecId} projectId = {projectId} applicationId = {applicationId} environmentId = {environmentId} Examples:To return all of the scheduled tasks:http://host:port/flexdeploy/rest/tasks/scheduled To search by project Id only:http://host:port/flexdeploy/rest/tasks/scheduled?projectid=11001 |
...
Attributes | Type | Required | Description |
---|---|---|---|
Id | Long | Yes | The Id that is used to run a scheduled task with the same scheduled task Id.of the scheduled task you wish to run |
Example
If we had a scheduled task in our database with the following attributes
...
Attributes | Type | Required | Description |
---|---|---|---|
Id | Long | Yes | The Id that is used to cancel a scheduled task with the same task Id.of the scheduled task you wish to cancel |
Example
If we had a scheduled task in our database with the following attributes
...