Update Reservation Situation [PUT]

Operation

Information of the operation

PUT
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/reservation/{reservationId}/situation


Request

PropertyTypeRequiredType parameterDefault valueDescription

chainId

Integertruepath parameter

propertyIdInteger
path parameter

reservationIdInteger
path parameter

Example request

PUT https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/1/reservation/1/situation


Body

An array of elements of type ReservationSituationType.

Example body

{
	"code": "PRO"
}

Other example body, when you want to leave void this field:

{
}

Response

A success or error message.

Example response

{
  "httpStatus": "201",
  "userMessage": "Success",
  "technicalMessage": "Success Reservation Situation updated",
  "errorCode": "0",
  "id": 1	
}