[POST] Add LostItem as Destroyed
Operation
Adds an already created LostItem as destroyed in the database.
POST
http://{urlName}/tesiproPMS/api/{version}/chain/{chainId}/property/{propertyId}/lostItem/destroyed
Request
Property | Type | Required | Default value | Description |
---|---|---|---|---|
chainId | Integer | true | The id of the chain. This parameter will be in the URL. Path parameter. | |
propertyId | Integer | true | The id of the property. This parameter will be in the URL. Path parameter. | |
lostItem | LostItem | true | Body object with the LostItem to be destroyed. |
Example request
POST http://81.184.0.161:9696/tesiproPMS/api/v1/chain/1/property/2/lostItem/destroyed
Response
Property | Type | Required | Description |
---|---|---|---|
responseApiMessage | ResponseApiMessage | Success or error response. |
Example response
{ "httpStatus": "201", "userMessage": "Success lost item changed to destroyed", "technicalMessage": "Success lost item changed to destroyed", "errorCode": "0" }