younifyd
Menu

Duplicate Result Ranking Rule

Duplicate a result ranking rule

POST/rest/search/v2/admin/pipelines/{pipelineId}/resultRankings/duplicate/{resultRankingId}

Use it in a workflow

  1. Add a step and choose the Coveo connector.
  2. Pick the Duplicate Result Ranking Rule action (under Search).
  3. Fill in the fields below, then reference the result from later steps as {{duplicateResultRankingRule.response.data}}.

Request

Path parameters

pipelineIdstringrequired

The unique identifier of the target query pipeline.

resultRankingIdstringrequired

The unique identifier of the result ranking.

Query parameters

organizationIdstring

The unique identifier of the target Coveo Cloud organization. Specifying a value for this parameter is only necessary when you are authenticating the API call with an OAuth2 token.

Response

Returns 200 with an object. Read it in later steps with {{duplicateResultRankingRule.response.data.<field>}}.

associatedGroupobject
idstringrequired

The unique identifier of the associated statement group.

namestringrequired

The unique name of the associated statement group.

statusstring

The status of the campaign.

One ofactiveinactiveexpirednotStarted

idstring

The identifier of the result ranking rule

resultRankingoneOf
json
{
  "id": "string",
  "resultRanking": null,
  "associatedGroup": {
    "id": "679adb80-444e-11ea-b77f-2e728ce88125",
    "name": "Community",
    "status": "active"
  }
}

Need more? See the Coveo guide for connection setup and behaviour shared by every action.

Duplicate Result Ranking Rule — Coveo — Documentation