Inventory Relationships V1

Link Personal Data

Use this API to create a link between inventory and personal data items.

post/api/inventory/v2/inventories/{id}/personal-data

Request

  • Base URL
    https://hostname
  • URL
    https://hostname/api/inventory/v2/inventories/{id}/personal-data
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://{hostname}/api/access/v1/oauth/token scopes: INVENTORY, INVENTORY_WRITE

Path parameters

idstring uuid required

The unique identifier of an inventory record

Query parameters

generatorstring

Generator parameter

Request body

linkAttributesobject

Map of attribute names to their values for the link

associationIdstring uuid

The unique identifier of the association

Example request

[
  {
    "linkAttributes": {
      "priority": [
        {
          "id": "7e9d5f2a-8b1c-4d3e-9f6a-1a2b3c4d5e6f",
          "value": "High Risk",
          "valueKey": "HIGH_RISK",
          "colorCode": "#FF0000",
          "selectionValue": "high"
        }
      ]
    },
    "dataClassifications": [
      {
        "id": "44444444-4444-4444-4444-444444444444",
        "value": "Confidential",
        "valueKey": "confidential"
      }
    ],
    "associationId": "4374d5da-44ac-4308-a298-3efdb0f34ba4"
  }
]

Response

OK

Changes

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