Control Implementations
Attach Files to Control Implementation
Use this API to attach a list of files to a specific control implementation.
🗒 Things to Know
- The files must first be uploaded to the OneTrust application using the Upload File API. The Id and Name parameter values returned in the Upload File API response are required in the request body for this API.
post/api/controls/v1/control-implementations/{guid}/attachments
Path parameters
guidstring required
ID of the control implementation. The value can be obtained using Get List of Control Implementations by Entity API.
Request body
Example request
{
"controlAttachmentRequests": [
{
"attachmentId": "2c2e9e4d-4d4d-4d4d-4d4d-2c2e9e4d4d4d",
"fileName": "Attachment file name",
"fileDescription": "Attachment description",
"sourceId": "2c2e9e4d-4d4d-4d4d-4d4d-2c2e9e4d4d4d",
"sourceType": "Implementation",
"sourceName": "Control Implementation"
}
]
}Response
No Content