Menu
Validate Pipeline Condition Operations
Validate batch of pipeline condition operations.
POST
/rest/search/v1/admin/pipelines/statements/validate/batchUse it in a workflow
- Add a step and choose the Coveo connector.
- Pick the Validate Pipeline Condition Operations action (under Search).
- Fill in the fields below, then reference the result from later steps as
{{validatePipelineConditionOperations.response.data}}.
Request
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"operations": [
{
"model": {},
"operationType": "CREATE"
},
{
"model": {},
"operationType": "UPDATE",
"resourceId": "resource-id"
},
{
"operationType": "DELETE",
"resourceId": "resource-id"
}
]
}
Response
Returns 200 with an object. Read it in later steps with {{validatePipelineConditionOperations.response.data.<field>}}.
{
"results": [
{
"operationType": "CREATE",
"operationValid": true,
"resourceId": "id",
"validationErrors": "Access Denied. You don't have the required privileges to perform this operation."
}
]
}
Need more? See the Coveo guide for connection setup and behaviour shared by every action.
Was this page helpful?