I'm have to update BusinessAttributes metadata in an entity in Azure Purview

By Purview API I have to call:

POST {Endpoint}/catalog/api/atlas/v2/entity/guid/{guid}/businessmetadata/{bmName}

And send attributes to be updated in body request:

{
  "bizAttr1": "bizAttr1"
}

Documentation for azure-sdk-for-java mentions over-loaded method addOrUpdateBusinessMetadataAttributesWithResponse:

One having parameters: (String bmName, String guid, RequestOptions requestOptions)

and: (String guid, RequestOptions requestOptions)

They have no BinaryData parameter, how should Body Request JSON object be passed?

0

There are 0 best solutions below