Assessment Actions
Launch Assessments in Bulk
Use this API to create assessments in bulk. One assessment will be created for each inventory ID passed in the request body. The assessments will be created with the details provided in the request body and assigned to the indicated respondents.
🗒 Things to Know
- The same template or different templates can be used per inventory ID in the API response body.
- The templateRootVersionId parameter can be used instead of the templateId parameter to use the latest published version of a template for the new assessment.
post/api/assessment/v2/assessments/bulk
Request body
Example request
[
{
"workflowId": "550e8400-e29b-41d4-a716-446655440000",
"name": "GDPR Assessment",
"description": "Annual GDPR compliance assessment",
"orgGroupId": "550e8400-e29b-41d4-a716-446655440000",
"orgGroupName": "Legal Department",
"approverId": "550e8400-e29b-41d4-a716-446655440000",
"approverName": "John Smith",
"approvers": [
{
"approverId": "550e8400-e29b-41d4-a716-446655440001",
"approverName": "Jane Smith",
"comment": "Primary approver"
}
],
"templateId": "550e8400-e29b-41d4-a716-446655440000",
"templateRootVersionId": "550e8400-e29b-41d4-a716-446655440000",
"templateType": "PIA",
"templateName": "One PIA 6.0",
"suggestedTemplateId": "550e8400-e29b-41d4-a716-446655440000",
"suggestedTemplateName": "GDPR Assessment Template",
"deadline": "2023-12-31T23:59:59Z",
"reminder": 7,
"reminderSchedules": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"assessmentId": "8f14e45f-ea9e-4d1b-9b5f-42d5f6a8b9c1",
"sectionId": "9a1b2c3d-4e5f-6789-abcd-ef0123456789",
"reminderInterval": 7,
"reminderReceiverEntityType": "RESPONDENT"
}
],
"respondents": [
{
"respondentId": "550e8400-e29b-41d4-a716-446655440002",
"respondentName": "John Doe",
"comment": "Primary respondent"
}
],
"approverOnlySectionRespondents": [
{
"respondentId": "550e8400-e29b-41d4-a716-446655440000",
"respondentName": "John Doe"
}
],
"respondentCreationType": "INVITED",
"inventoryDetails": {
"inventoryId": "550e8400-e29b-41d4-a716-446655440000",
"inventoryTypeId": 1,
"inventoryTypeName": "Data Processing Activity",
"inventoryNumber": 12345,
"inventoryName": "Customer Data Processing for Marketing"
},
"incidentDetails": {
"incidentId": "123e4567-e89b-12d3-a456-426614174000",
"incidentName": "Data Breach - Customer Database Compromise"
},
"controlImplementationDetails": [
{
"controlImplementationId": "550e8400-e29b-41d4-a716-446655440000"
}
],
"primaryEntityDetails": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Vendor name",
"number": 1,
"relationshipResponseDetails": [
{
"relationshipNodeType": "ASSESSMENT",
"entityId": "123e4567-e89b-12d3-a456-426614174000",
"entityDisplayName": "Customer Data Assessment",
"entityType": {
"id": 1,
"name": "Privacy Impact Assessment",
"description": "Assessment type for privacy impact evaluation"
}
}
],
"displayName": "Vendor display name",
"entityBusinessKey": "Vendor business key"
}
],
"primaryRecordTypeReference": "INVENTORY",
"engagementLink": {
"engagementId": "987e6543-e21b-12d3-a456-426614174000",
"engagementName": "Q4 2024 Vendor Risk Assessment Engagement",
"number": 2024001
},
"ruleId": "550e8400-e29b-41d4-a716-446655440000",
"triggeredByAssessmentId": "550e8400-e29b-41d4-a716-446655440000",
"triggeredByAssessmentName": "Parent GDPR Assessment",
"tags": [
"tag1",
"tag2"
],
"userAssignmentMode": "ASSESSMENT",
"creationSource": "DEFAULT",
"labels": [
"label1",
"label2"
],
"entityLabels": [
{
"name": "Personal Data Processing",
"nameKey": "label.personal.data.processing",
"referenceEntity": "DATA_CATEGORY",
"valueRefId": "123e4567-e89b-12d3-a456-426614174000",
"valueKey": "data.category.personal.information"
}
],
"attachmentRequests": [
{
"attachmentId": "456e7890-e89b-12d3-a456-426614174000",
"fileName": "Privacy_Impact_Assessment_Report.pdf",
"fileDescription": "Comprehensive privacy impact assessment report for customer data processing activities"
}
]
}
]Response
Accepted