API reference
All operations
EQUIPMENT

Uploads one or more images to a piece of equipment.

Send 1 to 5 files as the multipart field `images`. Each file must be non-empty with content type `image/jpeg`, `image/jpg`, `image/png`, `image/webp`, `image/heic` or `image/heif` (a .heic/.heif file is also accepted when sent as another content type). HEIC/HEIF images are converted to JPEG before they are stored. The total request size is limited to about 300 MB.

POST/api/v2/equipment/{equipmentId}/images

Authentication

Choose one supported method for this request.

OAuth 2.0 client credentials

Parameters

equipmentIdpathinteger · int32required

The ID of the equipment the images are added to.

Request body

application/x-www-form-urlencodedrequired

The image files to upload.

object
  • imagesfile[]

Responses

Images uploaded successfully.

Standard response envelopeisSuccessmessageerrorsdata

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

dataEquipmentAssignedImageDTO[]

An array. Each item is a EquipmentAssignedImageDTO:

  • equipmentIDinteger · int32
  • imageIDinteger · int32
  • recordIDinteger · int32
  • recordTypestring
  • imageDescriptionstring
  • recordDisplaystring
  • inspectionDatestring · date-timenullable
  • companyNamestring
  • accountNostring
  • fileNamestring
  • blobStoragePathstring
  • imagePathstring
  • imagePathPreviewstring
  • identifierstring
  • webListingboolean