Retrieves a paginated list of the inspections on a record, such as a piece of equipment.
Deleted inspections are excluded. Results are ordered newest first. Groups, items and media are not included; use `GET /api/v2/inspections/record/{assignedInspectionId}` for those.
/api/v2/inspections/record/listAuthentication
Choose one supported method for this request.
Parameters
recordIdqueryinteger · int32ID of the record whose inspections to return. Required; must be greater than zero.
recordTypequerystringType of the record: `Equipment`, `Company` or `Vehicle`. Required.
statusquerystringOptional status filter: `OnHold` or `Completed` (case-sensitive). Leave empty to return all.
pageNumberqueryinteger · int32Page number to return, starting at 1. Defaults to 1; values of 0 or less are treated as 1.
pageSizequeryinteger · int32Number of inspections per page. Defaults to 10; values of 0 or less, or greater than 200, are treated as 100.
Responses
The page of inspections.
isSuccessmessageerrorsdataRead the result from data. When isSuccess is false, errors lists what went wrong. Handling errors
totalCountinteger · int32assignedInspectionIdinteger · int32inspectionIdinteger · int32recordIdinteger · int32serviceIdinteger · int32recordTypestringmakestringmodelstringserialNostringstockNostringvehicleNostringisMachinebooleannullablecompanyIdinteger · int32companyNamestringcontactIdinteger · int32contactstringuserIdinteger · int32repstringinspectionStagestringstatusstringinspectionNamestringinspectionTypestringinspectionNostringinspectionDatestring · dateinspectionHoursnumber · doublecommentsstringcompletebooleansourcestringdeletedbooleanincludeReconditionAmountbooleanidentifierstring · uuidnullableenterByinteger · int32mobileAssignedInspectionIdstringnullablepublicViewUrlstringnullablebrokerViewUrlstringnullableisTradeValuationbooleantradeValuenumber · doublenullablecustomerOffernumber · doublenullabletradeCommentsstringnullabletradeStatusstringnullable
pageCountinteger · int32currentPageCountinteger · int32nextPageNumberinteger · int32nullablehasNextPageboolean