[PUT] Update LostItem

Operation

Allows the user to change values of LostItem and save them.

PUT
http://{urlName}/tesiproPMS/api/{version}/chain/{chainId}/property/{propertyId}/lostItem/{lostItemId}


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.
lostItemIdIntegertrue
The id of the lostItem. This parameter will be in the URL.  Path parameter.
lostItemLostItemtrue
Body object with the LostItem to be added.

Example request

PUT http://81.184.0.161:9696/tesiproPMS/api/v1/chain/1/property/2/lostItem/1


Response

PropertyTypeRequiredDescription
responseApiMessageResponseApiMessagetrueSuccess or error message

Example response

{
  "httpStatus": "201",
  "userMessage": "Success",
  "technicalMessage": "Success lostItem updated",
  "errorCode": "0"
}