Entity - Get Classification
Get classification for a given entity represented by a GUID.
GET {endpoint}/datamap/api/atlas/v2/entity/guid/{guid}/classification/{classificationName}
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
classification
|
path | True |
string |
The name of the classification. |
|
endpoint
|
path | True |
string (uri) |
|
|
guid
|
path | True |
string |
The globally unique identifier of the entity. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
The request has succeeded. |
|
| Other Status Codes |
An unexpected error response. |
Security
OAuth2Auth
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
| Name | Description |
|---|---|
| https://purview.azure.net/.default |
Examples
Entity_GetClassification
Sample request
GET {endpoint}/datamap/api/atlas/v2/entity/guid/9347abc5-7b86-4b82-a1e2-ad77c7c3cac3/classification/MICROSOFT.PERSONAL.DATE_OF_BIRTH
Sample response
{
"typeName": "MICROSOFT.PERSONAL.DATE_OF_BIRTH",
"lastModifiedTS": "1",
"entityGuid": "9347abc5-7b86-4b82-a1e2-ad77c7c3cac3",
"entityStatus": "ACTIVE"
}
Definitions
| Name | Description |
|---|---|
|
Atlas |
An instance of a classification; it doesn't have an identity, this object exists only when associated with an entity. |
|
Atlas |
An error response from the service |
|
Entity |
Status - can be active or deleted |
|
Time |
Captures time-boundary details |
AtlasClassification
An instance of a classification; it doesn't have an identity, this object exists only when associated with an entity.
| Name | Type | Description |
|---|---|---|
| attributes |
|
The attributes of the struct. |
| entityGuid |
string |
The GUID of the entity. |
| entityStatus |
Status of the entity - can be active or deleted. Deleted entities are not removed. |
|
| lastModifiedTS |
string |
ETag for concurrency control. |
| removePropagationsOnEntityDelete |
boolean |
Determines if propagations will be removed on entity deletion. |
| typeName |
string |
The name of the type. |
| validityPeriods |
An array of time boundaries indicating validity periods. |
AtlasErrorResponse
An error response from the service
| Name | Type | Description |
|---|---|---|
| errorCode |
string |
The error code. |
| errorMessage |
string |
The error message. |
| requestId |
string (uuid) |
The request ID. |
EntityStatus
Status - can be active or deleted
| Value | Description |
|---|---|
| ACTIVE |
The status is active. |
| DELETED |
The status is deleted. |
TimeBoundary
Captures time-boundary details
| Name | Type | Description |
|---|---|---|
| endTime |
string |
The end of the time boundary. |
| startTime |
string |
The start of the time boundary. |
| timeZone |
string |
The timezone of the time boundary. |