Search K
Appearance
Get the current guest data for the reservation and what is the conditions are.
XS2event ID of the Reservation
Include validation conditions?
false
false
Hint for country code
NLD
curl -X GET \
'https://api.xs2event.com/v1/reservations/{reservation_id}/guestdata?include_conditions=false&country_hint=NLD' \
-H "Content-Type: application/json"
fetch('https://api.xs2event.com/v1/reservations/{reservation_id}/guestdata?include_conditions=false&country_hint=NLD', {headers:{'Content-Type':'application/json'}})
.then(response => response.json())
.then(data => console.log(data));
<?php
$url = 'https://api.xs2event.com/v1/reservations/{reservation_id}/guestdata';
$method = 'GET';
$headers = [
'Content-Type' => 'application/json',
];
$query = http_build_query([
'include_conditions' => 'false',
'country_hint' => 'NLD',
]);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url . '?' . $query);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
import requests
url = 'https://api.xs2event.com/v1/reservations/{reservation_id}/guestdata'
params = {
'include_conditions': false,
'country_hint': 'NLD'
}
headers = {
'Content-Type': 'application/json'
}
response = requests.get(url, params=params, headers=headers)
print(response.json())