Interface PlaceAssetQueryOptions

Mapping of available query parameters for the assets index endpoint

interface PlaceAssetQueryOptions {
    _poll?: boolean;
    barcode?: string;
    cache?: number;
    fields?: string;
    limit?: number;
    offset?: number;
    order_id?: string;
    q?: string;
    ref?: string;
    serial_number?: string;
    type_id?: string;
    zone_id?: string;
}

Hierarchy (View Summary)

Properties

_poll?: boolean

Whether the request is a API poll request

barcode?: string

Return assets that have a matching barcode

cache?: number

Number of milliseconds to cache the query response

fields?: string

Comma separated list of fields to search. Accepts wildcard expressions and boost relevance scores using caret ^ operator.

limit?: number

Number of results to return. Defaults to 20. Max 500

offset?: number

Use ref for pagination. Offset of the results to return. Max 10000

order_id?: string

Return assets that match the purchase order ID provided

q?: string
ref?: string

Token for accessing the next page of results, provided in the Link header

serial_number?: string

Return assets that have a matching serial number

type_id?: string

Return assets that match the asset type ID provided

zone_id?: string

Return assets which are in the zone provided