v1

latestOpenAPI 3.1.0Apache 2.02026-07-245981,1853.0 MB
Personal Data

Get List of Data Elements

Use this API to retrieve the list of all existing Data Elements.

Example Request

GET https://{hostname}/api/inventory/v2/data-elements

GET https://trial.onetrust.com/api/inventory/v2/data-elements

get/inventory/v2/data-elements

Query parameters

pagenumber required

The result page to be returned.

sizestring

The number of elements to be returned in a page. (Note: The maximum size value may differ by API and is subject to change. If a number greater than the maximum is requested, the API will return the maximum allowed value.)

Response

OK

errorsobject[]

Example response

{
  "data": [
    {
      "categories": [
        {
          "description": "Academic Background",
          "descriptionKey": "DataCategoriesAcademicBackgroundDesc",
          "id": "43fd3a8d-3f6b-464e-bf43-3f0c6c592442",
          "name": "Academic Background",
          "nameKey": "DataCategoriesAcademicBackground"
        }
      ],
      "classifications": [
        {
          "description": "Personal Data",
          "descriptionKey": "DataClassificationsPersonalDataDesc",
          "id": "9fad637c-8548-438e-9a6f-6e38eb2692de",
          "name": "Personal Data",
          "nameKey": "DataClassificationsPersonalData"
        }
      ],
      "description": "Age",
      "descriptionKey": "DataElementsAgeDesc",
      "id": "54432905-eac2-4088-a48e-c02b0d66359b",
      "name": "Age",
      "nameKey": "DataElementsAge"
    }
  ]
}