Note Update [PUT]

Operation

Updates a company.

PUT
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/note/{noteId}


Request

PropertyTypeRequiredType parameterDefault valueDescription
chainIdIntegertruepath parameter

noteIdIntegertruepath parameter
The note to be updated

Example request

PUT https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/note/2


Entity


FieldTypeRequiredDescription
idIntegerfalseId of the Note
chainIdIntegertrueId of the Chain
propertyIdIntegerfalseId of the Property
reservationIdIntegerfalseId of the Reservation
reservationRoomStayIdIntegerfalseId of the Stay
noteStringtrueContent of the Note
priorityTypePriorityTypetruepriority of the Note
archiveDateLocalDateTimefalsedate of the note archive

Example Body

The body that will be sent in the operation

{
    "chainId": 1,
    "propertyId": 2,
    "reservationId": null,
    "reservationRoomStayId": 7,
    "note": "This is a note update",
    "priorityType": {
        "id": 1
    }
}

Response

PropertyTypeRequiredDescription
ResponseApiMessageResponseApiMessagetrueDescription of the response of the success operation

Example response

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