curl --location -g --request POST 'https://stage-hotels.etm-system.ru/api/hotels/v2/requests' \
--header 'Accept: application/json' \
--header 'Cookie: etmsessid=8Pwz9vY4oXUDj7ojfR5u1VdXsMW6xOVYosNxo08d' \
--header 'Content-Type: text/plain' \
--data-raw '{
"checkin_date": "{{checkin_date}}", // formated as YYYY-MM-DD
"checkout_date": "{{checkout_date}}", // formated as YYYY-MM-DD
"poi_name": "{{name}}", // take this value from /api/hotels/v2/dictionaries/destinations
"destination_id": {{destination_id}}, // take this value from /api/hotels/v2/dictionaries/destinations
"poi_latitude": "{{latitude}}", // take this value from /api/hotels/v2/dictionaries/destinations
"poi_longitude": "{{longitude}}", // take this value from /api/hotels/v2/dictionaries/destinations
"providers": [
{{provider_id}} // unique provider id (must be a number)
],
"radius": 50000,
"residency": "RU",
"rooms": [
{
"adult_qty": 1, // example search for 1 ADT
"children": []
}
]
}'