PurviewGlossaries.AssignTermToEntitiesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Assign the given term to the provided list of related objects.
public virtual System.Threading.Tasks.Task<Azure.Response> AssignTermToEntitiesAsync (string termGuid, Azure.Core.RequestContent content, Azure.RequestContext context = default);
abstract member AssignTermToEntitiesAsync : string * Azure.Core.RequestContent * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.AssignTermToEntitiesAsync : string * Azure.Core.RequestContent * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function AssignTermToEntitiesAsync (termGuid As String, content As RequestContent, Optional context As RequestContext = Nothing) As Task(Of Response)
Parameters
- termGuid
- String
The globally unique identifier for glossary term.
- content
- RequestContent
The content to send as the body of the request.
- context
- RequestContext
The request context, which can override default behaviors on the request on a per-call basis.
Returns
Exceptions
termGuid
or content
is null.
termGuid
is an empty string, and was expected to be non-empty.
Remarks
Schema for Request Body
:
{
guid: string,
typeName: string,
uniqueAttributes: Dictionary<string, AnyObject>,
displayText: string,
entityStatus: "ACTIVE" | "DELETED",
relationshipType: string,
relationshipAttributes: {
attributes: Dictionary<string, AnyObject>,
typeName: string,
lastModifiedTS: string
},
relationshipGuid: string,
relationshipStatus: "ACTIVE" | "DELETED"
}
Schema for Response Error
:
{
requestId: string,
errorCode: string,
errorMessage: string
}