All operations
INSPECTION
Creates an inspection on a record from an inspection template, with its groups, items and responses.
When `UserId` is 0 the calling user becomes the inspector. When `CompanyId` is 0 and `RecordType` is `Equipment`, the company that owns the equipment is used. When `InventoryRequestID` is set, the inspection is also linked to that inventory request. Images and videos are added afterwards with the image and video upload endpoints.
POST
/api/v2/inspections/recordAuthentication
Choose one supported method for this request.
Request body
Cancellation token for the request.
recordTypestringrecordIdinteger · int32inspectionIdinteger · int32companyIdinteger · int32mobileAssignedInspectionIdstringcontactIdinteger · int32userIdinteger · int32inspectionNamestringinspectionTypestringinspectionNostringnullableinspectionDatestring · dateinspectionHoursstringcommentsstringnullablecompletebooleanstatusstringsourcestringserviceIdinteger · int32inventoryRequestIDinteger · int32nullable
Responses
Inspection created successfully.
Standard response envelope
isSuccessmessageerrorsdataRead the result from data. When isSuccess is false, errors lists what went wrong. Handling errors
assignedInspectionIdinteger · int32inspectionIdinteger · int32recordIdinteger · int32serviceIdinteger · int32recordTypestringmakestringmodelstringserialNostringstockNostringvehicleNostringisMachinebooleannullablecompanyIdinteger · int32companyNamestringcontactIdinteger · int32contactstringuserIdinteger · int32repstringinspectionStagestringstatusstringinspectionNamestringinspectionTypestringinspectionNostringinspectionDatestring · dateinspectionHoursnumber · doublecommentsstringcompletebooleansourcestringdeletedbooleanincludeReconditionAmountbooleanidentifierstring · uuidnullableenterByinteger · int32mobileAssignedInspectionIdstringnullablepublicViewUrlstringnullablebrokerViewUrlstringnullableisTradeValuationbooleantradeValuenumber · doublenullablecustomerOffernumber · doublenullabletradeCommentsstringnullabletradeStatusstringnullable