Operation

Information of the operation

GET

https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/availability/summary


Request

Property

Type

Required

Type parameter

Default value

Description

chainId

Integer

true

path parameter


Unique identificator of the chain.

propertyId

Integer

true

path parameter


Unique identificator of the property.

endDate

LocalDate

true

request parameter


endDate

startDate

LocalDate

true

request parameter


satrtDate

adult

int

true

request parameter

adult

junior

int

false

request parameter

junior

child

int

false

request parameter

child

infant

int

false

request parameter

infant

promotionCode

String

false

request parameter

promotionCode


Example request

GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/2/availability/summary?startDate=2023-10-15&endDate=2023-10-21&adult=2



Response

Property

Type

Required

Description

availavility

Availability

true

availavility

Entity

Example response

{
    "propertyId": 2,
    "propertyName": "Sepulveda",
    "primaryAddress": "Barcelona",
    "primaryPhone": "1-(941)319-6609",
    "primaryEmail": "ftuckerjc@hp.com",
    "primaryLongitude": null,
    "primaryLatitude": null,
    "product": {
        "id": 722,
        "chainProductId": 49,
        "code": "DBL",
        "name": "Double",
        "productType": {
            "id": 1,
            "code": "ACC",
            "name": "Accommodation",
            "nameI18n": "Accommodation"
        }
    },
    "adult": 2,
    "junior": 0,
    "child": 0,
    "infant": 0,
    "quantityAvailable": 2,
    "board": {
        "id": 5,
        "chainBoardId": 1,
        "code": "RO",
        "name": "Room Only",
        "serviceList": null
    },
    "differentPropertyPolicy": true,
    "avgPrice": 137.50,
    "totalPrice": 825.000000000000
}