Terms
Create Term
Use this API to create a new term in the Glossary.
post/api/glossary/v2/terms
Request body
Example request
{
"name": "Account Number",
"type": "Data Element",
"glossaryName": "Business glossary",
"createAsApproved": true,
"shortDescription": "This is the eight-digit account number which is used to uniquely identify the bank customer",
"example": "123-423-45",
"notes": "This is the term which is used for the Banking data",
"technicalOwner": {
"userEmails": [
"mallory@ot.com"
],
"groupNames": [
"Audit group"
]
},
"businessOwner": {
"userEmails": [
"mallory@ot.com"
],
"groupNames": [
"Audit group"
]
},
"dataSteward": {
"userEmails": [
"mallory@ot.com"
],
"groupNames": [
"Audit group"
]
},
"tags": [
"Financial"
],
"customAttributes": [
{
"name": "Term other users",
"value": "User of the term",
"options": [
"alice@ot.com"
]
}
]
}Response
Created
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Sample Name",
"nameKey": "SAMPLE_NAME_KEY",
"type": "Business",
"typeKey": "BUSINESS_TYPE",
"shortDescription": "A short explanation of what this term means",
"glossary": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"value": "Sample Value",
"key": "SAMPLE_KEY"
},
"numericId": 12345,
"example": "Example usage of this term in a sentence",
"businessOwner": [
"32d50775-17c3-44f0-88da-575b8a10c9fb"
],
"technicalOwner": [
"123e4567-e89b-12d3-a456-426614174001"
],
"dataSteward": [
"123e4567-e89b-12d3-a456-426614174001"
],
"notes": "Additional information about term usage",
"source": "Internal Documentation",
"createdDate": "2023-01-01T00:00:00Z",
"lastUpdatedDate": "2023-01-02T00:00:00Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174003",
"lastUpdatedBy": "123e4567-e89b-12d3-a456-426614174004",
"status": "ACTIVE",
"associatedTags": [
"123e4567-e89b-12d3-a456-426614174001"
],
"tags": [
{
"id": "123e4567-e89b-12d3-a456-426614174001",
"tagId": 45,
"name": "Resume",
"description": "This tag is used for any information related to Resume",
"type": "CLASSIFICATION",
"createdBy": "897e4567-e89b-12d3-2345-426614174789",
"createdDate": "2023-01-01T00:00:00Z",
"updatedBy": "897e4567-e89b-12d3-2345-426614174789",
"updatedDate": "2023-01-02T00:00:00Z",
"athenaId": "754e4567-de34-12d3-a456-ddf414174777"
}
]
}