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
classificationName
path True

string

The name of the classification.

endpoint
path True

string

guid
path True

string

The globally unique identifier of the entity.

Responses

Name Type Description
200 OK

AtlasClassification

The request has succeeded.

Other Status Codes

AtlasErrorResponse

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
AtlasClassification

An instance of a classification; it doesn't have an identity, this object exists only when associated with an entity.

AtlasErrorResponse

An error response from the service

EntityStatus

Status - can be active or deleted

TimeBoundary

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

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

TimeBoundary[]

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

The request ID.

EntityStatus

Status - can be active or deleted

Name Type Description
ACTIVE

string

The status is active.

DELETED

string

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.