Gets rates descriptions.
curl --request GET \
--url https://{apiBaseUrl}/v2/{sessionId}/description/ratesconst url = 'https://{apiBaseUrl}/v2/{sessionId}/description/rates';
const options = {method: 'GET'};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://{apiBaseUrl}/v2/{sessionId}/description/rates"
response = requests.get(url)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{apiBaseUrl}/v2/{sessionId}/description/rates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}using RestSharp;
var options = new RestClientOptions("https://{apiBaseUrl}/v2/{sessionId}/description/rates");
var client = new RestClient(options);
var request = new RestRequest("");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
HttpResponse<String> response = Unirest.get("https://{apiBaseUrl}/v2/{sessionId}/description/rates")
.asString();{
"rates": [
{
"rateId": 12345,
"hotelId": "12345",
"code": "RACKPRI",
"name": "Default rate",
"currencyCode": "EUR",
"forceDisplayName": false,
"information": {
"type": {
"text": "Prix public",
"value": "PublicPrice"
},
"qualifier": {
"text": "Petit déjeuner inclus",
"value": "BreakfastIncluded"
},
"currency": "",
"summary": [
{
"text": "Description du prix public",
"value": "PlainText"
}
],
"pictures": [
{
"templates": [
{
"name": "TEMPLATE1",
"url": "http://url/to/template1/image1"
},
{
"name": "TEMPLATE2",
"url": "http://url/to/template2/image1"
}
],
"sortOrder": 1
},
{
"templates": [
{
"name": "TEMPLATE1",
"url": "http://url/to/template1/image2"
},
{
"name": "TEMPLATE2",
"url": "http://url/to/template2/image2"
}
],
"sortOrder": 2
}
],
"isPrivate": false,
"sortOrder": 1
},
"gratuitounessPeriods": [
{
"period": {
"start": "2026-06-09",
"end": "2026-06-10"
},
"paidNightCount": 1,
"freeNightCount": 1
}
],
"stay": {
"lastMinuteDayCount": 2,
"earlyBookingDayCount": 20,
"periods": [
{
"daysOfWeek": "All"
}
]
},
"salePeriods": [
{
"period": {
"start": "2026-06-09",
"end": "2026-06-12"
},
"daysOfWeek": "All"
}
],
"sellingConditions": {
"deposit": {
"depositType": "CreditCardNumber",
"percent": 100
},
"useOnlinePayment": true,
"bookingFees": {
"percent": 0,
"nominal": 0
},
"allowFullOnlinePayment": true,
"allowCallOption": true,
"paymentBalance": [
{
"text": "Paiement intégral à la réservation",
"value": "PlainText"
}
]
},
"cancelConditions": {
"cancelConditions": [
{
"delay": 0,
"nightCount": 3,
"nominal": 0,
"percent": 100,
"hour": "22:00:00"
},
{
"delay": 3,
"nightCount": 0,
"nominal": 0,
"percent": 0,
"hour": "00:00:00"
}
],
"description": [
{
"text": "Annulation gratuite 3 jours avant la date d'arrivée",
"value": "PlainText"
}
],
"usePlanningConditions": true,
"isGuestModificationEnabled": false,
"isModificationEnabled": false
},
"roomIds": [
1111,
2222,
3333
],
"occupancyIds": [
1111,
2222,
3333
],
"extraIds": [
1111,
2222,
3333
]
}
]
}{
"code": "InvalidSessionId"
}{
"code": "InvalidUserAuthentication",
"message": "<string>"
}Description
Gets rates descriptions
Gets rates descriptions
GET
/
v2
/
{sessionId}
/
description
/
rates
Gets rates descriptions.
curl --request GET \
--url https://{apiBaseUrl}/v2/{sessionId}/description/ratesconst url = 'https://{apiBaseUrl}/v2/{sessionId}/description/rates';
const options = {method: 'GET'};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://{apiBaseUrl}/v2/{sessionId}/description/rates"
response = requests.get(url)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{apiBaseUrl}/v2/{sessionId}/description/rates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}using RestSharp;
var options = new RestClientOptions("https://{apiBaseUrl}/v2/{sessionId}/description/rates");
var client = new RestClient(options);
var request = new RestRequest("");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
HttpResponse<String> response = Unirest.get("https://{apiBaseUrl}/v2/{sessionId}/description/rates")
.asString();{
"rates": [
{
"rateId": 12345,
"hotelId": "12345",
"code": "RACKPRI",
"name": "Default rate",
"currencyCode": "EUR",
"forceDisplayName": false,
"information": {
"type": {
"text": "Prix public",
"value": "PublicPrice"
},
"qualifier": {
"text": "Petit déjeuner inclus",
"value": "BreakfastIncluded"
},
"currency": "",
"summary": [
{
"text": "Description du prix public",
"value": "PlainText"
}
],
"pictures": [
{
"templates": [
{
"name": "TEMPLATE1",
"url": "http://url/to/template1/image1"
},
{
"name": "TEMPLATE2",
"url": "http://url/to/template2/image1"
}
],
"sortOrder": 1
},
{
"templates": [
{
"name": "TEMPLATE1",
"url": "http://url/to/template1/image2"
},
{
"name": "TEMPLATE2",
"url": "http://url/to/template2/image2"
}
],
"sortOrder": 2
}
],
"isPrivate": false,
"sortOrder": 1
},
"gratuitounessPeriods": [
{
"period": {
"start": "2026-06-09",
"end": "2026-06-10"
},
"paidNightCount": 1,
"freeNightCount": 1
}
],
"stay": {
"lastMinuteDayCount": 2,
"earlyBookingDayCount": 20,
"periods": [
{
"daysOfWeek": "All"
}
]
},
"salePeriods": [
{
"period": {
"start": "2026-06-09",
"end": "2026-06-12"
},
"daysOfWeek": "All"
}
],
"sellingConditions": {
"deposit": {
"depositType": "CreditCardNumber",
"percent": 100
},
"useOnlinePayment": true,
"bookingFees": {
"percent": 0,
"nominal": 0
},
"allowFullOnlinePayment": true,
"allowCallOption": true,
"paymentBalance": [
{
"text": "Paiement intégral à la réservation",
"value": "PlainText"
}
]
},
"cancelConditions": {
"cancelConditions": [
{
"delay": 0,
"nightCount": 3,
"nominal": 0,
"percent": 100,
"hour": "22:00:00"
},
{
"delay": 3,
"nightCount": 0,
"nominal": 0,
"percent": 0,
"hour": "00:00:00"
}
],
"description": [
{
"text": "Annulation gratuite 3 jours avant la date d'arrivée",
"value": "PlainText"
}
],
"usePlanningConditions": true,
"isGuestModificationEnabled": false,
"isModificationEnabled": false
},
"roomIds": [
1111,
2222,
3333
],
"occupancyIds": [
1111,
2222,
3333
],
"extraIds": [
1111,
2222,
3333
]
}
]
}{
"code": "InvalidSessionId"
}{
"code": "InvalidUserAuthentication",
"message": "<string>"
}Was this page helpful?