Note Save [POST]

Operation

Creates a new company in the system.

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


Request

PropertyTypeRequiredType parameterDefault valueDescription
chainIdIntegertruepath parameter

Example request

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


Body

The body that will be sent in the operation


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",
    "priorityType": {
        "id": 3
    }
}

Response

PropertyTypeRequiredDescription
ResponseApiMessageResponseApiMessagetrueDescription of the response of the success operation

Example response

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