Menu
Copy Result Ranking Rule
Copy result rankings rules to a pipeline.
POST
/rest/search/v2/admin/pipelines/{pipelineId}/resultRankings/copyUse it in a workflow
- Add a step and choose the Coveo connector.
- Pick the Copy Result Ranking Rule action (under Search).
- Fill in the fields below, then reference the result from later steps as
{{copyResultRankingRule.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"destinationPipelineId": "120deecf-7822-4d7b-885f-53f184a3a76",
"resultRankingIds": [
"4f0a9531-4fab-45fd-a1e3-eb07a5aceccb"
]
}
Response
Returns 201 with an object. Read it in later steps with {{copyResultRankingRule.response.data.<field>}}.
{
"resultRankings": [
{
"id": "string",
"resultRanking": null
}
]
}
Need more? See the Coveo guide for connection setup and behaviour shared by every action.
Was this page helpful?