API reference
All operations
INSPECTION

Uploads up to 5 images for inspection items in one request.

Send each image as indexed form fields, for example `requests[0].AssignedInspectionId`, `requests[0].AssignedItemId`, `requests[0].MobileImageId` and `requests[0].ImageFile`. Only `.jpg`, `.jpeg` and `.png` files are accepted, and the request can be up to 300 MB. Every file is checked before any is saved; each image otherwise behaves as in the single image upload.

POST/api/v2/inspections/record/images/bulk-upload

Authentication

Choose one supported method for this request.

OAuth 2.0 client credentials

Request body

application/x-www-form-urlencodedrequired

Cancellation token for the request.

object

Responses

All images uploaded successfully.

Standard response envelopeisSuccessmessageerrorsdata

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

dataInspectionImageUploadResult[]

An array. Each item is a InspectionImageUploadResult:

  • assignedInspectionIdinteger · int32
  • assignedItemIdinteger · int32
  • imageIdinteger · int32
  • mobileImageIdstring
  • fullUrlstring
  • cloudinaryUrlstringnullable
  • previewUrlstringnullable