API reference
All operations
EQUIPMENT

Uploads one or more image files and assigns them to the specified equipment.

Only image files with content types 'image/jpeg', 'image/jpg', 'image/png', or 'image/webp' are accepted. Each file must have a non-zero length. A bad request response is returned if no images are provided, any file is empty, or a file type is invalid.

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

Authentication

Choose one supported method for this request.

OAuth 2.0 client credentials

Parameters

equipmentIdpathinteger · int32required

The unique identifier of the equipment to which the images will be assigned.

Request body

application/x-www-form-urlencodedrequired

A collection of image files to upload. Each file must be a non-empty JPEG, PNG, or WEBP image.

object
  • imagesfile[]

Responses

OK

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