# OneTrust Privacy Automation — Data Mapping Automation

**Canonical:** https://apis.io/apis/onetrust/privacy-automation-data-mapping-automation/  
**Provider:** OneTrust — https://apis.io/providers/onetrust/  
**Base URL:** https://app.onetrust.com  
**Documentation:** https://developer.onetrust.com/onetrust/reference/inventory

OneTrust Privacy Automation — Data Mapping Automation is one of 37 APIs that [OneTrust](https://apis.io/providers/onetrust/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Inventory, Inventory Hierarchies, Inventory Relationships V1, Inventory Schema, and Personal Data. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

The Data Mapping Automation APIs are used to manage structured records (assets, vendors, processing activities, and legal entities), define schema attributes, traverse parent–child hierarchies, and cr eate cross-record relationships—including links to personal data. (58 operations.)

## Operations (58)

| Method | Path | Summary |
|---|---|---|
| GET | `/api/inventory/v2/data-categories` | Get List of Data Categories |
| POST | `/api/inventory/v2/data-categories` | Create Data Category |
| GET | `/api/inventory/v2/data-categories/{id}` | Get Data Category |
| DELETE | `/api/inventory/v2/data-categories/{id}` | Delete Data Category |
| GET | `/api/inventory/v2/data-classifications` | Get List of Data Classifications |
| POST | `/api/inventory/v2/data-classifications` | Create Data Classification |
| GET | `/api/inventory/v2/data-classifications/{id}` | Get Data Classification |
| DELETE | `/api/inventory/v2/data-classifications/{id}` | Delete Data Classification |
| GET | `/api/inventory/v2/data-elements` | Get List of Data Elements |
| POST | `/api/inventory/v2/data-elements` | Create Data Element |
| GET | `/api/inventory/v2/data-elements/{id}` | Get Data Element |
| DELETE | `/api/inventory/v2/data-elements/{id}` | Delete Data Element |
| GET | `/api/inventory/v2/data-subjects` | Get List of Data Subjects |
| POST | `/api/inventory/v2/data-subjects` | Create Data Subject |
| GET | `/api/inventory/v2/data-subjects/{id}` | Get Data Subject |
| DELETE | `/api/inventory/v2/data-subjects/{id}` | Delete Data Subject |
| PUT | `/api/inventory/v2/inventories/{id}/associations/{associationId}` | Update Inventory Link |
| GET | `/api/inventory/v2/inventories/{id}/personal-data` | Get Personal Data Links |
| POST | `/api/inventory/v2/inventories/{id}/personal-data` | Link Personal Data |
| DELETE | `/api/inventory/v2/inventories/{id}/personal-data` | Delete Personal Data Link |
| PUT | `/api/inventory/v2/inventories/{id}/relations` | Link Inventory |
| POST | `/api/inventory/v2/inventories/{id}/relations` | Link Inventory |
| DELETE | `/api/inventory/v2/inventories/{id}/relations` | Delete Inventory Link |
| GET | `/api/inventory/v2/inventories/{id}/relations/{inventoryType}` | Get Inventory Links |
| POST | `/api/inventory/v2/inventories/{inventoryId}/attachments` | Add Attachments to Inventory |
| GET | `/api/inventory/v2/inventories/{inventoryId}/personal-data/{personalDataAssociationId}/attributes` | Get Inventory Personal Data Link Attributes |
| PUT | `/api/inventory/v2/inventories/{inventoryId}/set-as-parent` | Set Inventory as Parent |
| PUT | `/api/inventory/v2/inventories/{inventoryId}/unset-as-parent` | Unset Inventory as Parent |
| POST | `/api/inventory/v2/inventories/{parentInventoryId}/link-assets` | Add Asset Inventory as Child to Parent Inventory |
| POST | `/api/inventory/v2/inventories/{parentInventoryId}/link-legal-entities` | Add Legal Entity Inventory as Child to Parent Inventory |
| POST | `/api/inventory/v2/inventories/{parentInventoryId}/link-processing-activities` | Add Processing Activity Inventory as Child to Parent Inventory |
| POST | `/api/inventory/v2/inventories/{parentInventoryId}/link-vendors` | Add Vendor Inventory as Child to Parent Inventory |
| GET | `/api/inventory/v2/inventories/{schemaName}` | Get List of Inventories |
| POST | `/api/inventory/v2/inventories/{schemaName}` | Create Inventory |
| PUT | `/api/inventory/v2/inventories/{schemaName}/business-key` | Update Inventory by External ID |
| POST | `/api/inventory/v2/inventories/{schemaName}/business-keys` | Get Inventory IDs from Business Keys |
| POST | `/api/inventory/v2/inventories/{schemaName}/criteria` | Get List of Inventories by Criteria |
| POST | `/api/inventory/v2/inventories/{schemaName}/identifiers` | Get Inventory Identifiers |
| GET | `/api/inventory/v2/inventories/{schemaName}/reference/{externalId}` | Get Inventory by External ID |
| GET | `/api/inventory/v2/inventories/{schemaName}/{id}` | Get Inventory by ID |
| PUT | `/api/inventory/v2/inventories/{schemaName}/{id}` | Update Inventory by ID |
| DELETE | `/api/inventory/v2/inventories/{schemaName}/{id}` | Delete Inventory |
| POST | `/api/inventory/v2/inventories/{schemaName}/{id}/copy` | Copy Inventory |
| PUT | `/api/inventory/v2/inventories/{schemaName}/{id}/relations/{relatedSchemaName}/{linkId}/attributes` | Update Inventory Personal Data Link Attributes |
| PUT | `/api/inventory/v2/inventories/{schemaName}/{id}/status` | Update Inventory Status |
| POST | `/api/inventory/v2/inventories/{type}/{inventoryId}/control-implementations` | Create Control Implementation |
| PUT | `/api/inventory/v2/inventories-personal-data/{personalDataAssociationId}` | Update Advanced Attributes for Personal Data Association |
| GET | `/api/inventory/v2/inventory-hierarchies/{rootInventoryId}` | Get List of Child Inventories by Root Inventory |
| DELETE | `/api/inventory/v2/inventory-hierarchies/{rootInventoryId}` | Remove Child Inventory from Root Inventory |
| GET | `/api/inventory/v2/schemas` | Get List of Inventory Schemas |
| POST | `/api/inventory/v2/schemas/attributes/{attributeId}/values/bulk/` | Create Attribute Values |
| PUT | `/api/inventory/v2/schemas/attributes/{attributeId}/values/{valueId}` | Manage Attribute Options |
| GET | `/api/inventory/v2/schemas/{schemaName}` | Get Inventory Schema |
| POST | `/api/inventory/v2/schemas/{schemaName}/attributes/` | Create Attribute |
| PUT | `/api/inventory/v2/schemas/{schemaName}/attributes/activate` | Activate Attribute Values |
| PUT | `/api/inventory/v2/schemas/{schemaName}/attributes/deactivate` | Deactivate Attribute Values |
| GET | `/api/inventory/v2/schemas/{schemaName}/attributes/{fieldName}` | Get Inventory Schema Details |
| GET | `/api/inventory/v2/vendors/search` | Search Vendors by Name or Website |

## Machine-readable artifacts (3)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/onetrust/refs/heads/main/openapi/onetrust-privacy-automation-data-mapping-automation-openapi.json
- **Documentation** — https://developer.onetrust.com/onetrust/reference/inventory
- **Overlay** — https://raw.githubusercontent.com/api-evangelist/onetrust/refs/heads/main/overlays/onetrust-privacy-automation-data-mapping-automation-overlay.yaml

## Other OneTrust APIs (12)

- [OneTrust AI Governance — AI Governance](https://apis.io/apis/onetrust/ai-governance-ai-governance/)
- [OneTrust Platform — Global Activity](https://apis.io/apis/onetrust/platform-global-activity/)
- [OneTrust Consent & Preferences — Consent Interfaces](https://apis.io/apis/onetrust/consent-and-preferences-consent-interfaces/)
- [OneTrust Consent & Preferences — Consent Management Platform (CMP)](https://apis.io/apis/onetrust/consent-and-preferences-consent-management-platform-cmp/)
- [OneTrust Consent & Preferences — Consent Receipts](https://apis.io/apis/onetrust/consent-and-preferences-consent-receipts/)
- [OneTrust Consent & Preferences — Cookie Consent](https://apis.io/apis/onetrust/consent-and-preferences-cookie-consent/)
- [OneTrust Consent & Preferences — Cookie Consent (Swagger)](https://apis.io/apis/onetrust/consent-and-preferences-cookie-consent-swagger/)
- [OneTrust Consent & Preferences — Cookie Domain Data](https://apis.io/apis/onetrust/consent-and-preferences-cookie-domain-data/)
- [OneTrust Consent & Preferences — Cross-Device Consent](https://apis.io/apis/onetrust/consent-and-preferences-cross-device-consent/)
- [OneTrust Consent & Preferences — Mobile App Consent](https://apis.io/apis/onetrust/consent-and-preferences-mobile-app-consent/)
- [OneTrust Consent & Preferences — Policy & Notice Management](https://apis.io/apis/onetrust/consent-and-preferences-policy-and-notice-management/)
- [OneTrust Consent & Preferences — Universal Consent & Preference Management (OAS)](https://apis.io/apis/onetrust/consent-and-preferences-universal-consent-and-preference-management-oas/)

## Tags

Inventory, Inventory Hierarchies, Inventory Relationships V1, Inventory Schema, Personal Data, inventory-management-controller

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/onetrust/privacy-automation-data-mapping-automation/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/onetrust/.
