---
title: "Add Data Points to Targeted Data Discovery Results Summary"
method: POST
path: "/api/datasubject/v3/datadiscovery/requestqueues/{requestQueueRefId}"
tags: ["Targeted Data Discovery"]
---

# Add Data Points to Targeted Data Discovery Results Summary

`POST /api/datasubject/v3/datadiscovery/requestqueues/{requestQueueRefId}`

Use this API to add Targeted Data Discovery results that include unstructured data to a request.

## Path parameters

- `requestQueueRefId` string, required — Request queue reference Id

## Request body

- PrivacyAutomationDataSubjectRequestDSRAutomationDataDiscoveryGroupDto
  - `system` string, required — Name or identifier of the system from which this data is sourced. This will be displayed on the Results Summary.
  - `results` object — Dataset that includes list of data groups with nested name-value-pairs to capture structured data.
  - `unstructuredResults` PrivacyAutomationDataSubjectRequestDSRAutomationUnStructuredData[]
    - `type` string, required — The type of unstructured data (e.g., document, image, email).
    - `status` string — The processing status of the unstructured data.
    - `key` string, required — A unique identifier or name for the unstructured data item.
    - `value` string, required — The content or reference to the unstructured data.
    - `isRedact` boolean — Indicates whether the data should be redacted in the response.
    - `attributes` object — Additional attributes or metadata associated with the unstructured data.
  - `attachments` PrivacyAutomationDataSubjectRequestDSRAutomationDataDiscoveryAttachmentDto[] — Optional. List of name-value-pairs containing file names and IDs to attach. Use the Add File API to add file into OneTrust and retrieve the File IDs. These files will be visible in the Results Summary.
    - `fileName` string — Name of the file.
    - `fileId` string, uuid — Unique Identifier of the File.
    - `isRedact` boolean
    - `emlAttachmentMetadata` PrivacyAutomationDataSubjectRequestDSRAutomationEmlAttachmentMetadata
      - `attachmentId` string, uuid
      - `emlSubject` string
      - `senderName` string
      - `sendDate` string, date-time
    - `redact` boolean

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `429` — Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500` — Internal Server Error

---

[API](https://skmtc.net/onetrust/apis/platform-access-management.md) · [All operations](https://skmtc.net/onetrust/apis/platform-access-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onetrust/platform-access-management/versions/21de3aa0b170/schema)
