PurviewGlossaries.GetRelatedTermsAsync 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.
Get all related terms for a specific term by its GUID. Limit, offset, and sort parameters are currently not being enabled and won't work even they are passed.
public virtual System.Threading.Tasks.Task<Azure.Response> GetRelatedTermsAsync (string termGuid, int? limit = default, int? offset = default, string sort = default, Azure.RequestContext context = default);
abstract member GetRelatedTermsAsync : string * Nullable<int> * Nullable<int> * string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.GetRelatedTermsAsync : string * Nullable<int> * Nullable<int> * string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetRelatedTermsAsync (termGuid As String, Optional limit As Nullable(Of Integer) = Nothing, Optional offset As Nullable(Of Integer) = Nothing, Optional sort As String = Nothing, Optional context As RequestContext = Nothing) As Task(Of Response)
Parameters
- termGuid
- String
The globally unique identifier for glossary term.
- sort
- String
The sort order, ASC (default) or DESC.
- context
- RequestContext
The request context, which can override default behaviors on the request on a per-call basis.
Returns
Exceptions
termGuid
is null.
termGuid
is an empty string, and was expected to be non-empty.
Remarks
Schema for Response Body
:
{
description: string,
displayText: string,
expression: string,
relationGuid: string,
source: string,
status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER",
steward: string,
termGuid: string
}
Schema for Response Error
:
{
requestId: string,
errorCode: string,
errorMessage: string
}