- URL:
- https://<root>/<serviceName>/TopographicProductionServer/workflows/taskgroups/insertTasks
- Methods:
GETPOST- Required Capability:
- Requires a Professional or Professional Plus user type account and a Topographic Mapping server extension license.
- Version Introduced:
- 12.0
Description
The insert operation inserts operation tasks into an existing SOE task group job's product definition.
Request parameters
| Parameter | Details |
|---|---|
(Required) | The ID of the existing SOE task group job that the tasks will be inserted to. |
(Required) | The name of the product definition that contains the task operations to be inserted. |
(Required) | The string indicating where the new tasks should be inserted in the task group. Values:
|
| The response format. The default format is Values: |
JSON Response syntax
The following is the syntax of a response:
{
"insertTasks": <the count of tasks inserted>,
"success": <true | false>
}Example usage
Use the insert operation to insert tasks into an SOE task group job.
Request URL and parameter:
https://organization.example.com/<context>/rest/services/<SampleService>/TopographicProductionServer/workflows/taskgroups/insertTaskstaskGroupJobId=B1123255-CCE0-4580-B793-77C34E5121E3
productName=MGCPRework
insertAt=Next
f=jsonJSON Response example
The following example of a successful response used a product definition that contained two task operations.
{
"insertTasks": 2,
"success": true
}JSON Response example
The following is an example error response:
{
"error": {
"code": -2147211775,
"message": "No task group found with the specified parameters.",
"details": [
]
}
}