Note List [GET]

Operation

Information of the ReservationRoomStay Notes.

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


Request


PropertyTypeRequiredType parameterDefault valueDescription
chainIdIntegertruepath parameter
Unique identificator of the chain.
propertyIdIntegerefalserequest parameter
id of the Property
reservationIdIntegerfalserequest parameter
Id of the Reservation
reservationRoomStayIdIntegerfalserequest parameter
Id of the Stay
archivedBooleanfalserequest parameter
true/false to get the list with/without archived notes.
offsetIntegerfalserequest  parameter0Offset of the array of results.
limitIntegerfalserequest parameter10Limit of results.
sortstringfalserequest parameteridProperty of the entity to sort by.
sortModestringfalserequest parameterAscMode of sorting.

Example request

GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/note?reservationRoomStayId=7


Response

PropertyTypeRequiredDescription
PagePagetrueDescription of the response of the success operation

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 response

{
    "count": 3,
    "offset": 0,
    "limit": 10,
    "list": [
        {
            "id": 4,
            "chainId": 1,
            "propertyId": 2,
            "reservationId": null,
            "reservationRoomStayId": 7,
            "note": "This is a note",
            "priorityType": {
                "id": 3,
                "code": "MEDIUM",
                "name": "Medium",
                "nameI18nId": null,
                "nameI18n": null,
                "colorCode": "#546E7A",
                "order": 2
            },
            "archiveDate": null,
            "archiveByUser": null,
            "userName": "Administrator"
        }...