cloudresource

Create or update data mapping items

NOTE: Only Data Source users can create or update data mapping items.</br> Request body parameters </br>

  • project_id (optional, string) specifies the project by which you want to filter data mapping items.
  • client_id (optional, string) specifies the ID of the client by which you want to filter data mapping items. You can use a client ID only if the project belongs to an LCM segment.
post/gdc/dataload/dataSources/{dataSourceId}/dataMapping/bulk/upsert

Request

  • Base URL
    https://secure.gooddata.com
  • Auth
    none declared

Request body

Example request

{
  "dataMapping": {
    "items": [
      {
        "mappingItem": {
          "clientId": "{client_id}",
          "projectId": "{project_id}",
          "value": "{mapping_value_1}"
        }
      }
    ]
  }
}

Response

OK - create or update data mapping

Example response

{
  "dataMapping": {
    "items": [
      {
        "mappingItem": {
          "clientId": "{client_id}",
          "projectId": "{project_id}",
          "value": "{mapping_value_1}",
          "links": {
            "parent": "/gdc/dataload/dataSources/{data_source_id}/dataMapping",
            "self": "/gdc/dataload/dataSources/{data_source_id}/dataMapping?clientId={client_id}"
          }
        }
      }
    ],
    "paging": {
      "next": "/gdc/uri?offset=100"
    },
    "links": {
      "self": "/gdc/dataload/dataSources/{data_source_id}/dataMapping?offset=0&limit=100"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.