API reference
All operations
INSPECTION

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.

GET/api/v2/inspections/record/list

Authentication

Choose one supported method for this request.

OAuth 2.0 client credentials

Parameters

recordIdqueryinteger · int32

ID of the record whose inspections to return. Required; must be greater than zero.

recordTypequerystring

Type of the record: `Equipment`, `Company` or `Vehicle`. Required.

statusquerystring

Optional status filter: `OnHold` or `Completed` (case-sensitive). Leave empty to return all.

pageNumberqueryinteger · int32

Page number to return, starting at 1. Defaults to 1; values of 0 or less are treated as 1.

pageSizequeryinteger · int32

Number 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.

Standard response envelopeisSuccessmessageerrorsdata

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

Paginated
dataPaginatedResponse<RecordAssignedInspectionDto[]>
  • totalCountinteger · int32
    • assignedInspectionIdinteger · int32
    • inspectionIdinteger · int32
    • recordIdinteger · int32
    • serviceIdinteger · int32
    • recordTypestring
    • makestring
    • modelstring
    • serialNostring
    • stockNostring
    • vehicleNostring
    • isMachinebooleannullable
    • companyIdinteger · int32
    • companyNamestring
    • contactIdinteger · int32
    • contactstring
    • userIdinteger · int32
    • repstring
    • inspectionStagestring
    • statusstring
    • inspectionNamestring
    • inspectionTypestring
    • inspectionNostring
    • inspectionDatestring · date
    • inspectionHoursnumber · double
    • commentsstring
    • completeboolean
    • sourcestring
    • deletedboolean
    • includeReconditionAmountboolean
    • identifierstring · uuidnullable
    • enterByinteger · int32
    • mobileAssignedInspectionIdstringnullable
    • publicViewUrlstringnullable
    • brokerViewUrlstringnullable
    • isTradeValuationboolean
    • tradeValuenumber · doublenullable
    • customerOffernumber · doublenullable
    • tradeCommentsstringnullable
    • tradeStatusstringnullable
  • pageCountinteger · int32
  • currentPageCountinteger · int32
  • nextPageNumberinteger · int32nullable
  • hasNextPageboolean