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-parentAuthentication
Choose one supported method for this request.
Parameters
recordTypequerystringRequired. 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 · int32Required. ID of the parent record. Must be greater than 0.
equipmentTypequerystringOptional filter: `All` (default), `Machine` or `Attachment`. Case-insensitive; any other value is treated as `All`.
pagequeryinteger · int32Page number, starting at 1 (default 1).
pageSizequeryinteger · int32Number of items per page (default 20, capped at 200).
Responses
Equipment retrieved successfully.
Standard response envelope
PaginatedisSuccessmessageerrorsdataRead the result from data. When isSuccess is false, errors lists what went wrong. Handling errors
totalCountinteger · int32equipmentIdinteger · int32parentTypestringmachinebooleanattachmentbooleancategorystringmakestringmodelstringserialNostringstockNostringdescriptionstringequipYearstringstartHoursnumber · doublelastSMRnumber · doublelastSMRDatestring · datenullablelongitudenumber · doublelatitudenumber · doublelastModifiedstring · date-time
pageCountinteger · int32currentPageCountinteger · int32nextPageNumberinteger · int32nullablehasNextPageboolean