Menu
Validate Statement Group Operation
Validate a single statement group operation.
POST
/rest/search/v2/admin/pipelines/{pipelineId}/statementGroups/validateUse it in a workflow
- Add a step and choose the Coveo connector.
- Pick the Validate Statement Group Operation action (under Search).
- Fill in the fields below, then reference the result from later steps as
{{validateStatementGroupOperation.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"operation": {
"operationType": "CREATE",
"model": {
"campaignEnd": "2002-09-07T10:07:20-04:00",
"campaignStart": "2001-07-20T23:01:05-04:00",
"description": "Provides contextually relevant query recommendations/results to Community site users.",
"name": "Community",
"type": "campaign"
},
"resourceId": "id"
}
}
Response
Returns 200 with an object. Read it in later steps with {{validateStatementGroupOperation.response.data.<field>}}.
{
"result": {
"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?