Data systems

Create data system attribute

Creates a new data system attribute.

POST
/organizations/{organizationId}/data-system-attributes
x-api-key<token>

In: header

Path Parameters

organizationIdstring
Formatuuid

Query Parameters

attributeNamestring
Value in"contacts" | "dataCategories" | "destinations" | "origins" | "processingActivities" | "processingPurposes" | "relationships" | "securityMeasures" | "dataSubjects"
namestring
Lengthlength <= 256
statusstring
Value in"active" | "archived" | "test"
description?string
Lengthlength <= 1042
dataSystems?array<string>
pIIType?string
Default"none"
Value in"none" | "standard" | "sensitive"
email?string
Formatemail
Lengthlength <= 256
phoneNumber?string
Lengthlength <= 256
contactType?string
Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.concord.tech/privacy-v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/data-system-attributes?attributeName=contacts" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "status": "active"  }'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "dateCreated": 0,
  "dateUpdated": 0,
  "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
  "name": "string",
  "pIIType": "string",
  "contactType": {},
  "email": "user@example.com",
  "phoneNumber": "string",
  "readOnly": false,
  "status": "active",
  "description": "string",
  "dataSystems": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "string",
      "crossBorder": false,
      "retention": "P2Y",
      "additionalNotes": "string",
      "dataSystemContacts": [],
      "dataSystemDestinations": [],
      "dataSystemRelationship": {},
      "dataSystemSecurityMeasures": [
        null
      ],
      "dataSystemOrigins": [],
      "dataSystemProcessingActivities": [],
      "dataSystemProcessingPurposes": [],
      "dataSystemDataCategories": [],
      "dataSystemDataSubjects": [],
      "icon": "string",
      "dateCreated": 0,
      "dateUpdated": 0,
      "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
      "organizationName": "string",
      "status": "string",
      "projectIds": [
        null
      ]
    }
  ],
  "globalDataSystemAttributeId": "b15a273b-6f25-4097-8d21-5bf33b05af02"
}
{
  "statusCode": 404,
  "error": "Not Found",
  "message": "string"
}
{
  "statusCode": 404,
  "error": "Not Found",
  "message": "Forbidden"
}
{
  "statusCode": 403,
  "error": "Forbidden",
  "message": "Forbidden"
}
{
  "statusCode": 404,
  "error": "Not Found",
  "message": "Not Found"
}
{
  "statusCode": 422,
  "error": "Unprocessable Entity",
  "message": "string"
}
{
  "statusCode": 500,
  "error": "Internal Server Error",
  "message": "Internal Server Error"
}