Menu
Update Statement Groups Associations
Update the rules associated with a statement group
PUT
/rest/search/v2/admin/pipelines/{pipelineId}/statementGroups/{statementGroupId}/associationsUse it in a workflow
- Add a step and choose the Coveo connector.
- Pick the Update Statement Groups Associations action (under Search).
- Fill in the fields below, then reference the result from later steps as
{{updateStatementGroupsAssociations.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"toAdd": [
{
"featureType": "resultRankings",
"ruleId": "493e51a8-bc9b-462d-9534-08a0995ecd55"
}
],
"toRemove": [
{
"featureType": "resultRankings",
"ruleId": "493e51a8-bc9b-462d-9534-08a0995ecd55"
}
]
}
Response
Returns 200 with an object. Read it in later steps with {{updateStatementGroupsAssociations.response.data.<field>}}.
{
"associatedRules": [
{
"featureType": "resultRankings",
"ruleId": "493e51a8-bc9b-462d-9534-08a0995ecd55"
}
]
}
Need more? See the Coveo guide for connection setup and behaviour shared by every action.
Was this page helpful?