younifyd
Menu

Get Mappings Configuration

Show mapping configuration

GET/rest/organizations/{organizationId}/sources/{sourceId}/mappings

Use it in a workflow

  1. Add a step and choose the Coveo connector.
  2. Pick the Get Mappings Configuration action (under Source).
  3. Fill in the fields below, then reference the result from later steps as {{getMappingsConfiguration.response.data}}.

Request

Path parameters

organizationIdstringrequired

The unique identifier of the target [organization](https://docs.coveo.com/en/185/).<br />**Example:** `mycoveocloudv2organizationg8tp8wu3`

sourceIdstringrequired

The unique identifier of the target [source](https://docs.coveo.com/en/246/).<br />**Example:** `mycoveocloudv2organizationg8tp8wu3-gravodalyysjsu34camnvxm2d2y`

Response

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

commonobject

A JSON describing the common [mappings](https://docs.coveo.com/en/217/) to update.

rulesarray<object>3 fields

The [mapping](https://docs.coveo.com/en/217/) rules.<br />See [Mapping Rule Syntax Reference](https://docs.coveo.com/en/1839/).

typesarray<object>

The specific [mappings](https://docs.coveo.com/en/217/) (i.e., the mappings that apply only to specified [item](https://docs.coveo.com/en/210/) types).

idstring

The unique identifier of the mapping.<br />**Note:** Typically matches the `type` value.<br />**Example:** `Video`

rulesarray<object>3 fields

The [mapping](https://docs.coveo.com/en/217/) rules.<br />See [Mapping Rule Syntax Reference](https://docs.coveo.com/en/1839/).

typestring

The type of [item](https://docs.coveo.com/en/210/) for which the mapping applies.<br />**Example:** `Video`

json
{
  "common": {
    "rules": [
      {
        "content": [
          "string"
        ],
        "field": "string",
        "id": "string"
      }
    ]
  },
  "types": [
    {
      "id": "string",
      "rules": [
        {
          "content": [
            "string"
          ],
          "field": "string",
          "id": "string"
        }
      ],
      "type": "string"
    }
  ]
}

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

Was this page helpful?
Get Mappings Configuration — Coveo — Documentation