getAsset Method

Gets a connect asset.

getAsset(requestContext: AuthorizedClientRequestContext, queryOptions?: RequestQueryOptions): Promise<Asset>

Parameter Type Description
requestContext AuthorizedClientRequestContext The client request context
queryOptions RequestQueryOptions Query options. Use the mapped EC property names in the query strings and not the TypeScript property names.

Returns - Resolves to the found asset. Rejects if no assets, or more than one asset is found.

Defined in

Last Updated: 08 January, 2020