API reference
All operations
INVENTORY

Searches inventory equipment and returns one page of results.

All filters are optional and combined. List filters (statuses, makes, branches, group codes, classes, fleets, fleet types, in/out) accept repeated query values (repeat the parameter once per value, e.g. `makes=CAT` and `makes=JD`); use the values from the inventory lookups. `newUsed` is `New`, `Used` or `All` (default); `inventoryType` is `Machine`, `Attachment` or `All` (default). The hour range is applied only when `filterHours=true` and the year range only when `filterYears=true`. Paging uses `pageInfo.pageNumber` (default 1) and `pageInfo.pageSize` (default 20, maximum 100; values below 1 use the default). Within a page, equipment the current user has marked as a favorite is listed first. Each row is an object whose keys are the inventory column names exactly as written here (note the casing): `EquipmentID`, `ParentID`, `ParentType`, `ParentUnit`, `Machine`, `Make`, `Model`, `FullModel`, `MakeModelDescription`, `Description`, `StockNo`, `StockNoLink`, `SerialNo`, `EquipmentNo`, `BaseNo`, `EquipYear`, `Hours`, `Status`, `NewUsed`, `Branch`, `Class`, `GroupCode`, `Fleet`, `FleetType`, `FleetCombined`, `InOut`, `OnRentTo`, `RentalContractType`, `OpenWorkOrders`, `AcquisitionCost`, `AcquisitionDate`, `BookValue`, `ConfigurationBookValue`, `CurrentCost`, `PriceGuide`, `ListPrice`, `SellPrice`, `WarnSellPrice`, `AvailableForQuote`, `AvailableForAllocation`, `ExpectedReceiptDate`, `ActualReceiptDate`, `ERPCompanyCode`, `ERPCompanyDivision`, `Notes`, `HasImages` and `HeaderImage`. Your dealership's user-defined fields are added as `UDF` followed by the field name (for example `UDFWarranty`), so the set of keys varies by dealership. `Options` is a list of `{ description, cost, list }` objects and `Attachments` is a list of the machine's attachments (`equipmentId`, `parentId`, `machine`, `categoryId`, `make`, `model`, `description`, `serialNo`, `stockNo`, `equipmentNo`, `equipYear`).

GET/api/v2/inventory

Authentication

Choose one supported method for this request.

OAuth 2.0 client credentials

Parameters

PageInfo.PageNumberqueryinteger · int32
PageInfo.PageSizequeryinteger · int32
NewUsedquerystring

Condition of the equipment: `New`, `Used` or `All` (default).

Statusesquerystring[]

The statuses of the inventory equipment.

Makesquerystring[]

Optional. Only these makes; repeat the parameter once per value. Use the values from the inventory lookups.

Modelquerystring

Optional. Only equipment with this model.

InventoryTypequerystring

Machine, Attachment, or All

Branchesqueryinteger[]

Optional. Only these branch IDs; repeat the parameter once per value.

SerialNoquerystring

Optional. Only equipment with this serial number.

StockNoquerystring

Optional. Only equipment with this stock number.

GroupCodesquerystring[]

Optional. Only these group codes; repeat the parameter once per value. Use the values from the inventory lookups.

Classesquerystring[]

Optional. Only these classes; repeat the parameter once per value. Use the values from the inventory lookups.

Fleetsquerystring[]

Optional. Only these fleets; repeat the parameter once per value. Use the values from the inventory lookups.

FleetTypesquerystring[]

Optional. Only these fleet types; repeat the parameter once per value. Use the values from the inventory lookups.

InOutquerystring[]

Optional. Only these in/out values; repeat the parameter once per value. Use the values from the inventory lookups.

HourMinqueryinteger · int32

Lowest hour-meter reading. Applied only when `FilterHours` is true.

HourMaxqueryinteger · int32

Highest hour-meter reading. Applied only when `FilterHours` is true.

YearMinqueryinteger · int32

Earliest model year. Applied only when `FilterYears` is true.

YearMaxqueryinteger · int32

Latest model year. Applied only when `FilterYears` is true.

FilterYearsqueryboolean

Set to true to apply `YearMin` and `YearMax`. Default false.

FilterHoursqueryboolean

Set to true to apply `HourMin` and `HourMax`. Default false.

Responses

Search completed (the page is empty when nothing matches).

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