Add Digital Asset

POST http://api.boomandbucket.com/inspectionservice/inspection/{inspectionId}/digitalasset/external

This endpoint allows you to upload a digital asset (image) externally for an inspection.

The inspectionId for an equipment can be retrieved using the [Get Equipment] endpoint. The response includes the inspectionId of the inspection tied to that equipment.

Request Body

  • the url of digital assest as a JSON string in the body of the request (please make sure the url is wrapped in double quotes)

Response:

  • Successful response: HTTP Status 200 OK with the id of the digital asset that was posted.
  • Error response: HTTP Status 400 Bad Request with details in the response body.

Request Body

["<", "u", "r", "l", "_", "o", "f", "_", "d", "i", "g", "i", "t", "a", "_", "a", "s", "s", "e", "t", ">"]

RESPONSES

status: OK

&quot;{{$guid}}&quot;