[POST] Add LostItem

Operation

Adds a LostItem to the database.

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


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.
lostItemLostItemtrue
Body object with the LostItem to be added.

Example request

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


Response

PropertyTypeRequiredDescription
responseApiMessageResponseApiMessage
Success or error response.

Example response

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