- URL:
- https://<root>/<serviceName>/TopographicProductionServer/workflows/tasks/updateTask
- 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 update operation updates the properties of an existing single SOE task operation.
Request parameters
| Parameter | Details |
|---|---|
(Required) | The ID of the existing task group job that the task operation is associated with. |
(Required) | The ID of the task operation to update. |
(Optional) | The numerical value associated with the status of the task operation after the Unknown = |
(Optional) | A |
| The response format. The default format is Values: |
JSON Response syntax
The following is the syntax of a response:
{
"taskOperationId": "<The ID associated with the task operation to update.>",
"success": <true | false>
}Example usage
Update a task operation using the update REST operation.
Request URL and parameters:
https://organization.example.com/<context>/rest/services/SampleService/TopographicProductionServer/workflows/tasks/updateTasktaskGroupJobId=150BFC70-EA45-4327-908D-D6E622CD8B93
taskOperationId=5F109F09-DF73-4A82-A5B9-0FAACF8200F5
status=1
onFailureCancelTasks=trueJSON Response example
The following is an example of a successful response:
{
"taskOperationId": "5F109F09-DF73-4A82-A5B9-0FAACF8200F5",
"success": true
}