API reference
All operations
EQUIPMENT

Lists the equipment that belongs to a company or to a parent machine, one page at a time.

Deleted equipment is excluded and results are sorted by make. An unrecognized `recordType` returns an empty page rather than an error.

GET/api/v2/equipment/by-parent

Authentication

Choose one supported method for this request.

OAuth 2.0 client credentials

Parameters

recordTypequerystring

Required. Type of the parent record, case-sensitive: `Company` (equipment owned by the company) or `Equipment` (attachments mounted on a machine). `Machine` is also accepted.

recordIdqueryinteger · int32

Required. ID of the parent record. Must be greater than 0.

equipmentTypequerystring

Optional filter: `All` (default), `Machine` or `Attachment`. Case-insensitive; any other value is treated as `All`.

pagequeryinteger · int32

Page number, starting at 1 (default 1).

pageSizequeryinteger · int32

Number of items per page (default 20, capped at 200).

Responses

Equipment retrieved successfully.

Standard response envelopeisSuccessmessageerrorsdata

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

Paginated
dataPaginatedResponse<EquipmentDetailsDto[]>
  • totalCountinteger · int32
    • equipmentIdinteger · int32
    • parentTypestring
    • machineboolean
    • attachmentboolean
    • categorystring
    • makestring
    • modelstring
    • serialNostring
    • stockNostring
    • descriptionstring
    • equipYearstring
    • startHoursnumber · double
    • lastSMRnumber · double
    • lastSMRDatestring · datenullable
    • longitudenumber · double
    • latitudenumber · double
    • lastModifiedstring · date-time
  • pageCountinteger · int32
  • currentPageCountinteger · int32
  • nextPageNumberinteger · int32nullable
  • hasNextPageboolean