postQuery Method

Get multiple strongly typed instances. Sends query in the request's body. This can be used for queries that are too long to fit in URL.

postQuery<T extends WsgInstance>(requestContext: AuthorizedClientRequestContext, typedConstructor: { T }, relativeUrlPath: string, queryOptions: RequestQueryOptions): Promise<T extends WsgInstance[]>

Parameter Type Description
requestContext AuthorizedClientRequestContext The client request context
typedConstructor { T } Used to construct the resulting instances from the response.
relativeUrlPath string Relative path to the REST resource.
queryOptions RequestQueryOptions Query options.

Returns - Promise<T extends WsgInstance[]>

Array of strongly typed instances.

Defined in

Last Updated: 13 June, 2024