Guest Ledger [GET]

Operation


This endpoint will give as a result the collection of folios opened that will help to calculate the total amount due for a given date
GET
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/propertyManagement/guestLedger


Request


PropertyTypeRequiredType parameterDefault valueDescription
chainIdIntegertruepath parameter
Unique identificator of the chain.
propertyIdIntegertruepath parameter
property identificator.

Example request

GET https://publicapi-providers.ulysescloud.com/public/api/v1/con/chain/1/property/2/propertyManagement/guestLedger


Response

Entity


FieldTypeRequiredDescription
propertyCodeString

folioIdInteger

roomIdInteger

folioNameString

roomCodeString

reservationRoomStaySummaryIdInteger

arrivalLocalDate

departureLocalDate

adultInteger

bookerNameString

totalAccommodationAmountAfterTaxBigDecimal

totalBoardAmountAfterTaxBigDecimal

totalServiceAmountAfterTaxBigDecimal

totalFeeAmountAfterTaxBigDecimal

totalAmountAfterTaxBigDecimal

paidAmountAfterTaxBigDecimal

balanceAmountAfterTaxBigDecimal

Example response

[
    {
        "propertyCode": "ALI",
        "folioId": 210,
        "roomId": 1,
        "folioName": "Loïs Powell, Matthew",
        "roomCode": "101",
        "reservationRoomStaySummaryId": 98,
        "arrival": "2020-11-09",
        "departure": "2020-11-19",
        "adult": 2,
        "bookerName": null,
        "totalAccommodationAmountAfterTax": 758.550000,
        "totalBoardAmountAfterTax": 0.000000,
        "totalServiceAmountAfterTax": 600.000000,
        "totalFeeAmountAfterTax": 18.000000,
        "totalAmountAfterTax": 1376.550000,
        "paidAmountAfterTax": 0.000000,
        "balanceAmountAfterTax": 1376.550000,
        "creditLimitExceeded": false
    },
...
]