[DELETE] Delete image

Operation

Information of the operation

DELETE
http://{urlName}/tesiproPMS/api/{version}/chain/{chainId}/property/{propertyId}/maintenanceIssue/{maintenanceIssueId}/deleteFile/{maintenanceIssueImageId}


Request

PropertyTypeRequiredDefault valueDescription
chainIdIntegertrue
The id of the chain. This parameter will be in the URL. Path parameter.
propertyIdIntegertrue
The id of the property. This parameter will be in the URL. Path parameter.
maintenanceIssueIdIntegertrue
The id of the maintenanceIssue. This parameter will be in the URL. Path parameter.
maintenanceIssueImageIdIntegertrue
The id of the relation of a maintenanceIssue with an image. This parameter will be in the URL. Path parameter.

11Example request

DELETE http://81.184.0.161:9696/tesiproPMS/api/v1/chain/1/property/2/maintenanceIssue/1/deleteFile/1


Response

PropertyTypeRequiredDescription
responseApiMessageResponseApiMessagetrueSuccess or error message

Example response

{
  "httpStatus": "201",
  "userMessage": "Success",
  "technicalMessage": "Success deleted image file.jpg",
  "errorCode": "0"
}