API reference
All operations
EQUIPMENT

Lists equipment with search, filters, sorting, column selection and paging.

At least one of `searchTerm`, `filter` or `fields` is required. When `fields` contains conditions, `searchTerm` is ignored. Each row is returned as a set of column name/value pairs.

GET/api/v2/equipment/list

Authentication

Choose one supported method for this request.

OAuth 2.0 client credentials

Parameters

pageNumberqueryinteger · int32

The page number, starting at 1. Values below 1 are treated as 1.

pageSizequeryinteger · int32

The page size, 1 to 200. 0, negative values or values above 200 fall back to 100.

orderByquerystring

Not currently used; use `sortOrders` instead.

searchTermquerystring

Text to find in the make, model, serial number or stock number. Spaces and punctuation are ignored (for example `D6-T` matches `D6T`).

equipmentTypequerystring

Filter results by type: `All` (default), `Machine` or `Attachment`.

fieldsquerystring

Optional URL-encoded JSON array of filter conditions, each with `Field`, `FieldType`, `Operator` and `Values`. Conditions are combined with AND. Malformed JSON causes a 500 error.

filterquerystring

`MyFavorites` to show favorites or `MyAssigned` to show equipment assigned to the signed-in user.

sortOrdersquerystring

Sort expression. The words `Ascending` and `Descending` are accepted in place of `ASC` and `DESC`.

colsquerystring

Columns to include in the result.

Responses

Request successful with equipment data.

Standard response envelopeisSuccessmessageerrorsdata

Read the result from data. When isSuccess is false, errors lists what went wrong. Handling errors

Paginated
dataPaginatedResponse<Dictionary<string, object>[]>
  • totalCountinteger · int32
  • dataobject[]nullable
    • pageCountinteger · int32
    • currentPageCountinteger · int32
    • nextPageNumberinteger · int32nullable
    • hasNextPageboolean