Skip to main content

AllRatesResponse

Response object for the all rates

sessionId string

Session ID

hotel object

All rates for the requested hotel

id string

Hotel ID

landingUrl string

Landing URL for clients to redirect

rooms object[]

All rooms for the requested hotel

  • Array [
  • id string

    Room ID

    roomName string

    Room name

    rates object[]

    All rates for the room

  • Array [
  • id string

    Rate ID

    nettPrice object

    Nett price details

    amount bigdecimal

    Nett price amount

    currency string

    Currency code

    taxes object[]

    List of taxes

  • Array [
  • amount bigdecimal

    Tax fee amount

    currency currency-code

    Currency code of the tax amount

    name string

    Tax name

    Possible values: [Taxes and Fees]

  • ]
  • additionalCharges object[]

    List of additional charges the users need to pay at the hotel

  • Array [
  • amount bigdecimal

    Additional charges amount

    currency currency-code

    Currency code of the additional charge amount

    name string

    Additional charge name

    Possible values: [VAT, City Tax, Destination Taxes, Resort Fees, Service Charges, Other Local Tax, Other Hotel Fee]

  • ]
  • isFreeCancellation boolean

    Free cancellation available

    boardBasis string

    The meals that are included in the price of the hotel booking

    Possible values: [All Inclusive, Full Board, Half Board, Breakfast, Room Only]

    cancellationPolicy object[]

    List of cancellation policies

  • Array [
  • from datetime

    Effective datetime of cancellation policy in UTC

    to datetime

    End datetime of cancellation policy in UTC

    amount bigdecimal

    Cancellation charges amount

    currency currency-code

    Currency code of the cancellation charges amount

  • ]
  • ]
  • ]
  • AllRatesResponse
    {
    "sessionId": "20240722~1~r1a2c~~0HIWKUVEQkM1R~USD~lb~~US~F~D~DW~D~en-US~0~1~0~0~103.186.69.75~1721105921906~Yd_lK",
    "hotel": {
    "id": "258278",
    "landingUrl": "https://www.wego.co.in/hotels/searches/goi/2024-07-24/2024-07-26/104921?guests=2&search_id=6e19cb14b19e7323",
    "rooms": [
    {
    "id": "12739",
    "roomName": "Family, 3 Twin",
    "rates": [
    {
    "id": "qH7RcvY3seUFGBUL6pMUj8HbsrhwsA5i2MTE1wAQvSs=",
    "nettPrice": {
    "currency": "USD",
    "amount": 133.9
    },
    "taxes": [
    {
    "name": "Taxes and Fees",
    "currency": "USD",
    "amount": 13
    }
    ],
    "additionalCharges": [
    {
    "name": "Service Charges",
    "currency": "USD",
    "amount": 14
    }
    ],
    "boardBasis": "Breakfast",
    "isFreeCancellation": false,
    "cancellationPolicy": [
    {
    "from": "2024-08-06T00:00:00",
    "to": "2024-08-08T00:00:00",
    "amount": 50,
    "currency": "USD"
    }
    ]
    }
    ]
    },
    {
    "id": "12740",
    "roomName": "Family, Suite",
    "rates": [
    {
    "nettPrice": {
    "currency": "USD",
    "amount": 180.9
    },
    "taxes": [
    {
    "name": "Taxes and Fees",
    "currency": "USD",
    "amount": 25
    }
    ],
    "additionalCharges": [
    {
    "name": "Service Charges",
    "currency": "USD",
    "amount": 20
    }
    ],
    "boardBasis": "Breakfast",
    "isFreeCancellation": false,
    "cancellationPolicy": [
    {
    "from": "2024-08-06T00:00:00",
    "to": "2024-08-08T00:00:00",
    "amount": 50,
    "currency": "USD"
    }
    ]
    }
    ]
    }
    ]
    }
    }