ReferenceRate [GET]

Operation

Returns the Reference Rate configured in Property Preferences.

GET
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/rate/referenceRate


Request

PropertyTypeRequiredType parameterDefault valueDescription
chainIdIntegertruepath parameter

propertyIdIntegertruepath parameter

productIdIntegerfalserequest parameter

adultIntegerfalserequest parameter

juniorIntegerfalserequest parameter

childIntegerfalserequest parameter

infantIntegerfalserequest parameter

offsetLocalDatefalserequest parameter

limitIntegerfalserequest parameter10

Example request

GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/2/rate/referenceRate?offset=2023-08-01&limit=25


Response


FieldTypeRequiredDescription
chainProductIdIntegerfalseId of the chainRoomType.
chainProductCodeStringfalseCode of the chainRoomType.
productNameStringfalseName  of the productName.
productIdIntegerfalseId of the productId.
ProductOccupancySetList<ProductOccupancy>falseList of entities Product Occupancy

Example response

[
  {
    "chainProductId": 47,
    "chainProductCode": "SGL",
    "productName": "Single",
    "productId": 692,
    "productOccupancySet": [
      {
        "id": 1,
        "product": {
          "id": 692,
          "chainProductId": 47,
          "code": "SGL",
          "name": "Single",
          "nameI18n": "Single",
          "productType": {
            "id": 1,
            "code": "ACC",
            "name": "Accommodation",
            "nameI18n": "Accommodation"
          }
        },
        "adult": 1,
        "junior": 0,
        "child": 0,
        "infant": 0,
        "rateProductOccupancySet": [
          {
            "id": 1,
            "rateId": 2,
            "productOccupancyId": 1,
            "rateProductOccupancyAvailabilitySet": [
              {
                "id": 920,
                "rateProductOccupancyId": 1,
                "date": "2023-01-01",
                "amountAfterTax": 193,
                "closed": false,
                "minStay": 0,
                "maxStay": 0,
                "closedToArrival": false,
                "closedToDeparture": false,
                "percentDiscount": null,
                "amountDiscount": null
              }
            ]
          }
        ]
      }
    ]
  }
]