Dela via


PurviewGlossaries.AssignTermToEntities Method

Definition

Assign the given term to the provided list of related objects.

public virtual Azure.Response AssignTermToEntities (string termGuid, Azure.Core.RequestContent content, Azure.RequestContext context = default);
abstract member AssignTermToEntities : string * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
override this.AssignTermToEntities : string * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
Public Overridable Function AssignTermToEntities (termGuid As String, content As RequestContent, Optional context As RequestContext = Nothing) As 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
            }

Applies to