How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

OneTrust Privacy Automation — Data Mapping Automation

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.)

OneTrust Privacy Automation — Data Mapping Automation is one of 37 APIs that OneTrust publishes on the 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.

This API exposes 58 operations across 42 paths, organized into 6 resource areas, and defines 78 schemas. It is described by OpenAPI 3.1.0, at version 1.0.

Requests are made against a single base URL, https://{hostname}.

58 operations 42 paths 78 schemas 8 DELETE19 GET19 POST12 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0
Base URL
https://app.onetrust.com
Authentication
OAuth 2.0
License
Resource Areas
6

Authentication & Security 1

OneTrust Privacy Automation — Data Mapping Automation declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (OAUTH2) using the clientCredentials flow, exposing 3 scopes.

Paths & Operations 58

Across 42 paths, the API surfaces 58 operations — 8 DELETE, 19 GET, 19 POST, 12 PUT. They span 6 resource areas: Personal Data, Inventory Relationships V1, Inventory, Inventory Hierarchies, inventory-management-controller, Inventory Schema. Each is listed below with its method, path, parameters, and response codes.

Personal Data 16

APIs used to list links to personal-data items for an inventory and update advanced attributes on those associations.

GET
/api/inventory/v2/data-categories
Get List of Data Categories
getDataCategoriesByPartialNameUsingGET 4 params → 200400401403404429500
POST
/api/inventory/v2/data-categories
Create Data Category
createDataCategoryUsingPOST 1 param body → 201400401403404429500
GET
/api/inventory/v2/data-categories/{id}
Get Data Category
getDataCategoryUsingGET 1 param → 200400401403404429500
DELETE
/api/inventory/v2/data-categories/{id}
Delete Data Category
deleteDataCategoryUsingDELETE 1 param → 204400401403404429500
GET
/api/inventory/v2/data-classifications
Get List of Data Classifications
listAllDataClassificationsUsingGET → 200400401403404429500
POST
/api/inventory/v2/data-classifications
Create Data Classification
createDataClassificationUsingPOST 1 param body → 201400401403404429500
GET
/api/inventory/v2/data-classifications/{id}
Get Data Classification
getDataClassificationUsingGET 1 param → 200400401403404429500
DELETE
/api/inventory/v2/data-classifications/{id}
Delete Data Classification
deleteDataClassificationUsingDELETE 1 param → 204400401403404429500
GET
/api/inventory/v2/data-elements
Get List of Data Elements
listAllDataElementsUsingGET → 200400401403404429500
POST
/api/inventory/v2/data-elements
Create Data Element
createDataElementUsingPOST 1 param body → 201400401403404429500
GET
/api/inventory/v2/data-elements/{id}
Get Data Element
getDataElementUsingGET 1 param → 200400401403404429500
DELETE
/api/inventory/v2/data-elements/{id}
Delete Data Element
deleteDataElementUsingDELETE 1 param → 204400401403404429500
GET
/api/inventory/v2/data-subjects
Get List of Data Subjects
getDataSubjectsByPartialNameUsingGET 7 params → 200400401403404429500
POST
/api/inventory/v2/data-subjects
Create Data Subject
createDataSubjectUsingPOST 1 param body → 201400401403404429500
GET
/api/inventory/v2/data-subjects/{id}
Get Data Subject
getDataSubjectUsingGET 1 param → 200400401403404429500
DELETE
/api/inventory/v2/data-subjects/{id}
Delete Data Subject
deleteDataSubjectUsingDELETE 1 param → 204400401403404429500
Inventory Relationships V1 12

APIs used to create, update, and delete bidirectional links between inventories and to manage associations to related items (including personal data).

PUT
/api/inventory/v2/inventories/{id}/associations/{associationId}
Update Inventory Link
updateInventoryAssociationUsingPUT 2 params body → 200400401403404429500
GET
/api/inventory/v2/inventories/{id}/personal-data
Get Personal Data Links
listPersonalDataAssociationsUsingGET 3 params → 200400401403404429500
POST
/api/inventory/v2/inventories/{id}/personal-data
Link Personal Data
linkPersonalDataUsingPOST 2 params body → 200400401403404429500
DELETE
/api/inventory/v2/inventories/{id}/personal-data
Delete Personal Data Link
removePersonalDataAssociationsUsingDELETE 1 param body → 204400401403404429500
PUT
/api/inventory/v2/inventories/{id}/relations
Link Inventory
updateRelationsUsingPUT 2 params body → 200201400401403404429500
POST
/api/inventory/v2/inventories/{id}/relations
Link Inventory
createRelationsUsingPOST 2 params body → 200400401403404429500
DELETE
/api/inventory/v2/inventories/{id}/relations
Delete Inventory Link
deleteRelationsUsingDELETE 1 param body → 200400401403404429500
GET
/api/inventory/v2/inventories/{id}/relations/{inventoryType}
Get Inventory Links
getInventoryRelationsByIdUsingGET 4 params → 200400401403404429500
GET
/api/inventory/v2/inventories/{inventoryId}/personal-data/{personalDataAssociationId}/attributes
Get Inventory Personal Data Link Attributes
getPersonalDataLinkAttributesUsingGET 2 params → 200201400401403404429500
PUT
/api/inventory/v2/inventories/{schemaName}/{id}/relations/{relatedSchemaName}/{linkId}/attributes
Update Inventory Personal Data Link Attributes
updatePersonalDataLinkAttributesUsingPUT 4 params body → 200201400401403404429500
POST
/api/inventory/v2/inventories/{type}/{inventoryId}/control-implementations
Create Control Implementation
addControlsToInventoryUsingPOST 2 params body → 201400401403404429500
PUT
/api/inventory/v2/inventories-personal-data/{personalDataAssociationId}
Update Advanced Attributes for Personal Data Association
updateAdvancedAttributesForPersonalDataAssociationUsingPUT 2 params body → 200400401403404429500
Inventory 11

APIs used to create and manage inventory records for supported schema types (processing-activities, vendors, assets, entities).

POST
/api/inventory/v2/inventories/{inventoryId}/attachments
Add Attachments to Inventory
addAttachmentsToInventoryUsingPOST 1 param body → 201400401403404429500
GET
/api/inventory/v2/inventories/{schemaName}
Get List of Inventories
getListOfInventoriesUsingGET 5 params → 200400401403404429500
POST
/api/inventory/v2/inventories/{schemaName}
Create Inventory
createInventoryUsingPOST 4 params body → 201400401403404429500
PUT
/api/inventory/v2/inventories/{schemaName}/business-key
Update Inventory by External ID
upsertInventoryUsingPUT 2 params body → 200400401403404429500
POST
/api/inventory/v2/inventories/{schemaName}/criteria
Get List of Inventories by Criteria
getListOfInventoriesByFilterCriteriaUsingPOST 4 params body → 200400401403404429500
GET
/api/inventory/v2/inventories/{schemaName}/reference/{externalId}
Get Inventory by External ID
getInventoryByExternalIdUsingGET 2 params → 200400401403404429500
GET
/api/inventory/v2/inventories/{schemaName}/{id}
Get Inventory by ID
getInventoryByIdUsingGET 2 params → 200400401403404429500
PUT
/api/inventory/v2/inventories/{schemaName}/{id}
Update Inventory by ID
updateInventoryUsingPUT 3 params body → 200400401403404429500
DELETE
/api/inventory/v2/inventories/{schemaName}/{id}
Delete Inventory
deleteInventoryUsingDELETE 4 params → 200400401403404429500
POST
/api/inventory/v2/inventories/{schemaName}/{id}/copy
Copy Inventory
copyInventoryUsingPOST 5 params body → 200400401403404429500
PUT
/api/inventory/v2/inventories/{schemaName}/{id}/status
Update Inventory Status
updateInventoryStatusByIdUsingPUT 2 params body → 200400401403404429500
Inventory Hierarchies 8

APIs used to list, link, and unlink child inventories under a root inventory to model organizational or data-flow trees.

PUT
/api/inventory/v2/inventories/{inventoryId}/set-as-parent
Set Inventory as Parent
setInventoryAsParentInventoryUsingPUT 2 params → 201400401403404429500
PUT
/api/inventory/v2/inventories/{inventoryId}/unset-as-parent
Unset Inventory as Parent
unsetInventoryAsParentInventoryUsingPUT 2 params → 201400401403404429500
POST
/api/inventory/v2/inventories/{parentInventoryId}/link-assets
Add Asset Inventory as Child to Parent Inventory
linkAssetInventoryToParentAssetIdUsingPOST 1 param body → 201400401403404429500
POST
/api/inventory/v2/inventories/{parentInventoryId}/link-legal-entities
Add Legal Entity Inventory as Child to Parent Inventory
linkLegalEntityInventoryToParentLegalEntityIdUsingPOST 1 param body → 201400401403404429500
POST
/api/inventory/v2/inventories/{parentInventoryId}/link-processing-activities
Add Processing Activity Inventory as Child to Parent Inventory
linkProcessingActivityInventoryToParentProcessingActivityIdUsingPOST 1 param body → 201400401403404429500
POST
/api/inventory/v2/inventories/{parentInventoryId}/link-vendors
Add Vendor Inventory as Child to Parent Inventory
linkVendorInventoryToParentVendorIdUsingPOST 1 param body → 201400401403404429500
GET
/api/inventory/v2/inventory-hierarchies/{rootInventoryId}
Get List of Child Inventories by Root Inventory
getHierarchyForInventoryIdUsingGET 5 params → 200400401403404429500
DELETE
/api/inventory/v2/inventory-hierarchies/{rootInventoryId}
Remove Child Inventory from Root Inventory
unlinkChildInventoryFromHierarchyUsingDELETE 3 params → 204400401403404429500
inventory-management-controller 3
POST
/api/inventory/v2/inventories/{schemaName}/business-keys
Get Inventory IDs from Business Keys
getInventoryIdsFromBusinessKeysUsingPOST 2 params body → 200400401403404429500
POST
/api/inventory/v2/inventories/{schemaName}/identifiers
Get Inventory Identifiers
getInventoryIdentifiersUsingPOST 7 params body → 200400401403404429500
GET
/api/inventory/v2/vendors/search
Search Vendors by Name or Website
searchVendorsByNameOrWebsiteUsingGET 4 params → 200400401403404429500
Inventory Schema 8

APIs used to define and maintain schema attributes that shape inventory data collection and validation.

GET
/api/inventory/v2/schemas
Get List of Inventory Schemas
getAllSchemasUsingGET → 200400401403404429500
POST
/api/inventory/v2/schemas/attributes/{attributeId}/values/bulk/
Create Attribute Values
createAttributeValuesForAnAttribute 1 param body → 200400401403404429500
PUT
/api/inventory/v2/schemas/attributes/{attributeId}/values/{valueId}
Manage Attribute Options
manageAttributeOptions 2 params body → 200400401403404429500
GET
/api/inventory/v2/schemas/{schemaName}
Get Inventory Schema
getSchemaBySchemaTypeUsingGET 4 params → 200400401403404429500
POST
/api/inventory/v2/schemas/{schemaName}/attributes/
Create Attribute
createAttributeForTheInventorySchema 1 param body → 201400401403404429500
PUT
/api/inventory/v2/schemas/{schemaName}/attributes/activate
Activate Attribute Values
activateAttributesByFieldNames 1 param body → 204400401403404429500
PUT
/api/inventory/v2/schemas/{schemaName}/attributes/deactivate
Deactivate Attribute Values
deactivateAttributesByFieldNames 1 param body → 204400401403404429500
GET
/api/inventory/v2/schemas/{schemaName}/attributes/{fieldName}
Get Inventory Schema Details
getSchemaDetailsUsingFieldName 4 params → 200400401403404429500

Schemas 78

The contract defines 78 schemas that model the data the API accepts and returns. The most detailed are VendorInventory (46 properties), AssetInventory (46 properties), EntityInventory (46 properties), Inventory (45 properties). Each schema is shown below with its type and property counts.

BulkAttributeStatusUpdateRequest
object
1 property
AttributeContext
object
1 property
AttributeValueUpdateRequest
object
7 properties 2 required
AttributeValueResponse
object
10 properties
JsonNode
object
UpdateInventoryRequest
object
2 properties
InventoryValue
object
5 properties
InventoryWorkflowStageDto
object
2 properties
KeyNameDto
object
2 properties 1 required
ObjectReference
object
3 properties
OneTrustResponseOfVendorInventory
object
1 property
SimilarRecordDetail
object
5 properties
VendorInventory
object
46 properties
AssetInventory
object
46 properties
OneTrustResponseOfAssetInventory
object
1 property
EntityInventory
object
46 properties
OneTrustResponseOfEntityInventory
object
1 property
Inventory
object
45 properties
OneTrustResponseOfInventory
object
1 property
PersonalDataLinkAttributesRequest
object
1 property
AssetInventoryCreateRequest
object
3 properties 3 required
InventoryTypeReference
object
6 properties
VendorInventoryCreateRequest
object
3 properties 3 required
EntityInventoryCreateRequest
object
3 properties 3 required
PAInventoryCreateRequest
object
2 properties 2 required
BulkUpsertInventoryResponse
object
10 properties 2 required
InventoryAssociationUpdateRequest
object
3 properties 2 required
InventoryAssociationRequest
object
1 property
AbacAssignmentAssociation
object
2 properties
AbacBasicAssignmentInfo
object
3 properties
AssociatedAttribute
object
6 properties 1 required
AssociatedAttributeRequest
object
1 property
AttributeCreateRequest
object
16 properties 3 required
AttributeOptionMetadata
object
2 properties
AttributeOptionRequest
object
5 properties 1 required
AssociatedAttributeResponse
object
14 properties 1 required
AttributeDataSourceDto
object
3 properties 3 required
AttributeResponse
object
27 properties
IntakeQuestion
object
4 properties
AttributeValueCreateRequest
object
6 properties 1 required
InventoryControlImplementationsRequest
object
2 properties 1 required
OneTrustMetadata
object
1 property
OneTrustPage
object
7 properties
OneTrustResponse
object
3 properties
OneTrustSort
object
2 properties
Pageable
object
3 properties
CriteriaDefinition
object
5 properties
DateDto
object
2 properties 1 required
InventoryFilterRequest
object
3 properties
InventoriesPaginatedListResponseMeta
object
1 property
InventoriesPaginatedListResponsePage
object
7 properties
InventoriesPaginatedListResponseSort
object
2 properties
VendorInventoriesPaginatedListResponse
object
2 properties
AssetInventoriesPaginatedListResponse
object
2 properties
EntityInventoriesPaginatedListResponse
object
2 properties
InventoriesPaginatedListResponse
object
2 properties
BasicInventoryFilterRequest
object
1 property
KeyIdDto
object
2 properties 1 required
BasicInventoryAttachmentRequest
object
2 properties 1 required
InventoryAssociationCreateRequest
object
3 properties 1 required
BaseInventoryAssociationDto
object
2 properties
PersonalDataLinkRequest
object
7 properties
PersonalDataMetadataRequest
object
13 properties 2 required
DataSubjectResponse
object
7 properties 3 required
DataSubjectCreateUpdateRequest
object
5 properties 1 required
BasePersonalDataResponse
object
5 properties 3 required
DataCategoryResponse
object
6 properties 3 required
DataClassificationResponse
object
6 properties 3 required
DataElementDetailedResponse
object
11 properties 4 required
DataElementCreateRequest
object
9 properties 2 required
DataClassificationCreateUpdateRequest
object
5 properties 1 required
DataCategoryCreateUpdateRequest
object
5 properties 1 required
VendorSearchResult
object
5 properties
SchemaSummaryDto
object
5 properties
AttributeDetailResponse
object
31 properties
OneTrustResponseListDataSubjectResponse
object
3 properties
OneTrustResponseListDataCategoryResponse
object
3 properties
InventoryAssociationRemoveRequest
object
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

onetrust-privacy-automation-data-mapping-automation-openapi.json Raw ↑

Other APIs OneTrust publishes across the network.

OneTrust AI Governance — AI Governance
OneTrust Platform — Global Activity
OneTrust Consent & Preferences — Consent Interfaces
OneTrust Consent & Preferences — Consent Management Platform (CMP)
OneTrust Consent & Preferences — Consent Receipts
OneTrust Consent & Preferences — Cookie Consent
OneTrust Consent & Preferences — Cookie Consent (Swagger)
OneTrust Consent & Preferences — Cookie Domain Data
OneTrust Consent & Preferences — Cross-Device Consent
OneTrust Consent & Preferences — Mobile App Consent
OneTrust Consent & Preferences — Policy & Notice Management
OneTrust Consent & Preferences — Universal Consent & Preference Management (OAS)
Where this information came from

This is an independent, third-party profile of OneTrust Privacy Automation — Data Mapping Automation, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.