Operation_Post (Post)
- Last UpdatedNov 06, 2025
- 1 minute read
| Post | Operation_Post |
Resource Path:/api/operation
You can use this endpoint to add an operation or, optionally, add an operation created from a standard operation. Both endpoint uses return the Operation model in the response body.
To add an operation not created from a standard operation: Include the OperationConfiguration model properties in the call's request body with no other parameters.
To add an operation created from a standard operation: Include the processId parameter and include the OperationFromStandardOperation model properties in the call's request body as described below.
standardOperationId (string)
Required. The ID of the standard operation on which the new operation will be based.
opFromStdOp (request body)
Required. The property information for the operation. The body is of type OperationFromStandardOperation.
OperationFromStandardOperation Model Properties
The OperationFromStandardOperation model properties are described below.
ProcessId (string)
Required. The ID of the process to which the new operation belongs.
OperationId (string)
Required. The ID of the new operation.
OperationDescription (string)
The description of the new operation.
DisplaySequence (integer)
Required. The display sequence number for the new operation, which determines the order in which operations are listed in the user interface.
StandardOperationId (string)
This property is ignored because the standard operation is identified by the standardOperationId parameter that is provided in the call's URL.
The request body is of type Mes.WebApi.Models.OperationConfiguration.
The response body is of type Mes.WebApi.Models.Operation.