My Business Lodging API
GET
mybusinesslodging.locations.getLodging
{{baseUrl}}/v1/:name
QUERY PARAMS
name
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/v1/:name");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/v1/:name")
require "http/client"
url = "{{baseUrl}}/v1/:name"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/v1/:name"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/v1/:name");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/v1/:name"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/v1/:name HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/v1/:name")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/v1/:name"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/v1/:name")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/v1/:name")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/v1/:name');
xhr.send(data);
import axios from 'axios';
const options = {method: 'GET', url: '{{baseUrl}}/v1/:name'};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/v1/:name';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/v1/:name',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/v1/:name")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/v1/:name',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {method: 'GET', url: '{{baseUrl}}/v1/:name'};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/v1/:name');
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {method: 'GET', url: '{{baseUrl}}/v1/:name'};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/v1/:name';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/v1/:name"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/v1/:name" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/v1/:name",
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;
}
request('GET', '{{baseUrl}}/v1/:name');
echo $response->getBody();
setUrl('{{baseUrl}}/v1/:name');
$request->setMethod(HTTP_METH_GET);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/v1/:name');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/v1/:name' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/v1/:name' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/v1/:name")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/v1/:name"
response = requests.get(url)
print(response.json())
library(httr)
url <- "{{baseUrl}}/v1/:name"
response <- VERB("GET", url, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/v1/:name")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/v1/:name') do |req|
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/v1/:name";
let client = reqwest::Client::new();
let response = client.get(url)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url {{baseUrl}}/v1/:name
http GET {{baseUrl}}/v1/:name
wget --quiet \
--method GET \
--output-document \
- {{baseUrl}}/v1/:name
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/v1/:name")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
mybusinesslodging.locations.lodging.getGoogleUpdated
{{baseUrl}}/v1/:name:getGoogleUpdated
QUERY PARAMS
name
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/v1/:name:getGoogleUpdated");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/v1/:name:getGoogleUpdated")
require "http/client"
url = "{{baseUrl}}/v1/:name:getGoogleUpdated"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/v1/:name:getGoogleUpdated"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/v1/:name:getGoogleUpdated");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/v1/:name:getGoogleUpdated"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/v1/:name:getGoogleUpdated HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/v1/:name:getGoogleUpdated")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/v1/:name:getGoogleUpdated"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/v1/:name:getGoogleUpdated")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/v1/:name:getGoogleUpdated")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/v1/:name:getGoogleUpdated');
xhr.send(data);
import axios from 'axios';
const options = {method: 'GET', url: '{{baseUrl}}/v1/:name:getGoogleUpdated'};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/v1/:name:getGoogleUpdated';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/v1/:name:getGoogleUpdated',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/v1/:name:getGoogleUpdated")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/v1/:name:getGoogleUpdated',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {method: 'GET', url: '{{baseUrl}}/v1/:name:getGoogleUpdated'};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/v1/:name:getGoogleUpdated');
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {method: 'GET', url: '{{baseUrl}}/v1/:name:getGoogleUpdated'};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/v1/:name:getGoogleUpdated';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/v1/:name:getGoogleUpdated"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/v1/:name:getGoogleUpdated" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/v1/:name:getGoogleUpdated",
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;
}
request('GET', '{{baseUrl}}/v1/:name:getGoogleUpdated');
echo $response->getBody();
setUrl('{{baseUrl}}/v1/:name:getGoogleUpdated');
$request->setMethod(HTTP_METH_GET);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/v1/:name:getGoogleUpdated');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/v1/:name:getGoogleUpdated' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/v1/:name:getGoogleUpdated' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/v1/:name:getGoogleUpdated")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/v1/:name:getGoogleUpdated"
response = requests.get(url)
print(response.json())
library(httr)
url <- "{{baseUrl}}/v1/:name:getGoogleUpdated"
response <- VERB("GET", url, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/v1/:name:getGoogleUpdated")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/v1/:name:getGoogleUpdated') do |req|
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/v1/:name:getGoogleUpdated";
let client = reqwest::Client::new();
let response = client.get(url)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url {{baseUrl}}/v1/:name:getGoogleUpdated
http GET {{baseUrl}}/v1/:name:getGoogleUpdated
wget --quiet \
--method GET \
--output-document \
- {{baseUrl}}/v1/:name:getGoogleUpdated
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/v1/:name:getGoogleUpdated")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
PATCH
mybusinesslodging.locations.updateLodging
{{baseUrl}}/v1/:name
QUERY PARAMS
name
BODY json
{
"accessibility": {
"mobilityAccessible": false,
"mobilityAccessibleElevator": false,
"mobilityAccessibleElevatorException": "",
"mobilityAccessibleException": "",
"mobilityAccessibleParking": false,
"mobilityAccessibleParkingException": "",
"mobilityAccessiblePool": false,
"mobilityAccessiblePoolException": ""
},
"activities": {
"beachAccess": false,
"beachAccessException": "",
"beachFront": false,
"beachFrontException": "",
"bicycleRental": false,
"bicycleRentalException": "",
"boutiqueStores": false,
"boutiqueStoresException": "",
"casino": false,
"casinoException": "",
"freeBicycleRental": false,
"freeBicycleRentalException": "",
"freeWatercraftRental": false,
"freeWatercraftRentalException": "",
"gameRoom": false,
"gameRoomException": "",
"golf": false,
"golfException": "",
"horsebackRiding": false,
"horsebackRidingException": "",
"nightclub": false,
"nightclubException": "",
"privateBeach": false,
"privateBeachException": "",
"scuba": false,
"scubaException": "",
"snorkeling": false,
"snorkelingException": "",
"tennis": false,
"tennisException": "",
"waterSkiing": false,
"waterSkiingException": "",
"watercraftRental": false,
"watercraftRentalException": ""
},
"allUnits": {
"bungalowOrVilla": false,
"bungalowOrVillaException": "",
"connectingUnitAvailable": false,
"connectingUnitAvailableException": "",
"executiveFloor": false,
"executiveFloorException": "",
"maxAdultOccupantsCount": 0,
"maxAdultOccupantsCountException": "",
"maxChildOccupantsCount": 0,
"maxChildOccupantsCountException": "",
"maxOccupantsCount": 0,
"maxOccupantsCountException": "",
"privateHome": false,
"privateHomeException": "",
"suite": false,
"suiteException": "",
"tier": "",
"tierException": "",
"totalLivingAreas": {
"accessibility": {
"adaCompliantUnit": false,
"adaCompliantUnitException": "",
"hearingAccessibleDoorbell": false,
"hearingAccessibleDoorbellException": "",
"hearingAccessibleFireAlarm": false,
"hearingAccessibleFireAlarmException": "",
"hearingAccessibleUnit": false,
"hearingAccessibleUnitException": "",
"mobilityAccessibleBathtub": false,
"mobilityAccessibleBathtubException": "",
"mobilityAccessibleShower": false,
"mobilityAccessibleShowerException": "",
"mobilityAccessibleToilet": false,
"mobilityAccessibleToiletException": "",
"mobilityAccessibleUnit": false,
"mobilityAccessibleUnitException": ""
},
"eating": {
"coffeeMaker": false,
"coffeeMakerException": "",
"cookware": false,
"cookwareException": "",
"dishwasher": false,
"dishwasherException": "",
"indoorGrill": false,
"indoorGrillException": "",
"kettle": false,
"kettleException": "",
"kitchenAvailable": false,
"kitchenAvailableException": "",
"microwave": false,
"microwaveException": "",
"minibar": false,
"minibarException": "",
"outdoorGrill": false,
"outdoorGrillException": "",
"oven": false,
"ovenException": "",
"refrigerator": false,
"refrigeratorException": "",
"sink": false,
"sinkException": "",
"snackbar": false,
"snackbarException": "",
"stove": false,
"stoveException": "",
"teaStation": false,
"teaStationException": "",
"toaster": false,
"toasterException": ""
},
"features": {
"airConditioning": false,
"airConditioningException": "",
"bathtub": false,
"bathtubException": "",
"bidet": false,
"bidetException": "",
"dryer": false,
"dryerException": "",
"electronicRoomKey": false,
"electronicRoomKeyException": "",
"fireplace": false,
"fireplaceException": "",
"hairdryer": false,
"hairdryerException": "",
"heating": false,
"heatingException": "",
"inunitSafe": false,
"inunitSafeException": "",
"inunitWifiAvailable": false,
"inunitWifiAvailableException": "",
"ironingEquipment": false,
"ironingEquipmentException": "",
"payPerViewMovies": false,
"payPerViewMoviesException": "",
"privateBathroom": false,
"privateBathroomException": "",
"shower": false,
"showerException": "",
"toilet": false,
"toiletException": "",
"tv": false,
"tvCasting": false,
"tvCastingException": "",
"tvException": "",
"tvStreaming": false,
"tvStreamingException": "",
"universalPowerAdapters": false,
"universalPowerAdaptersException": "",
"washer": false,
"washerException": ""
},
"layout": {
"balcony": false,
"balconyException": "",
"livingAreaSqMeters": "",
"livingAreaSqMetersException": "",
"loft": false,
"loftException": "",
"nonSmoking": false,
"nonSmokingException": "",
"patio": false,
"patioException": "",
"stairs": false,
"stairsException": ""
},
"sleeping": {
"bedsCount": 0,
"bedsCountException": "",
"bunkBedsCount": 0,
"bunkBedsCountException": "",
"cribsCount": 0,
"cribsCountException": "",
"doubleBedsCount": 0,
"doubleBedsCountException": "",
"featherPillows": false,
"featherPillowsException": "",
"hypoallergenicBedding": false,
"hypoallergenicBeddingException": "",
"kingBedsCount": 0,
"kingBedsCountException": "",
"memoryFoamPillows": false,
"memoryFoamPillowsException": "",
"otherBedsCount": 0,
"otherBedsCountException": "",
"queenBedsCount": 0,
"queenBedsCountException": "",
"rollAwayBedsCount": 0,
"rollAwayBedsCountException": "",
"singleOrTwinBedsCount": 0,
"singleOrTwinBedsCountException": "",
"sofaBedsCount": 0,
"sofaBedsCountException": "",
"syntheticPillows": false,
"syntheticPillowsException": ""
}
},
"views": {
"beachView": false,
"beachViewException": "",
"cityView": false,
"cityViewException": "",
"gardenView": false,
"gardenViewException": "",
"lakeView": false,
"lakeViewException": "",
"landmarkView": false,
"landmarkViewException": "",
"oceanView": false,
"oceanViewException": "",
"poolView": false,
"poolViewException": "",
"valleyView": false,
"valleyViewException": ""
}
},
"business": {
"businessCenter": false,
"businessCenterException": "",
"meetingRooms": false,
"meetingRoomsCount": 0,
"meetingRoomsCountException": "",
"meetingRoomsException": ""
},
"commonLivingArea": {},
"connectivity": {
"freeWifi": false,
"freeWifiException": "",
"publicAreaWifiAvailable": false,
"publicAreaWifiAvailableException": "",
"publicInternetTerminal": false,
"publicInternetTerminalException": "",
"wifiAvailable": false,
"wifiAvailableException": ""
},
"families": {
"babysitting": false,
"babysittingException": "",
"kidsActivities": false,
"kidsActivitiesException": "",
"kidsClub": false,
"kidsClubException": "",
"kidsFriendly": false,
"kidsFriendlyException": ""
},
"foodAndDrink": {
"bar": false,
"barException": "",
"breakfastAvailable": false,
"breakfastAvailableException": "",
"breakfastBuffet": false,
"breakfastBuffetException": "",
"buffet": false,
"buffetException": "",
"dinnerBuffet": false,
"dinnerBuffetException": "",
"freeBreakfast": false,
"freeBreakfastException": "",
"restaurant": false,
"restaurantException": "",
"restaurantsCount": 0,
"restaurantsCountException": "",
"roomService": false,
"roomServiceException": "",
"tableService": false,
"tableServiceException": "",
"twentyFourHourRoomService": false,
"twentyFourHourRoomServiceException": "",
"vendingMachine": false,
"vendingMachineException": ""
},
"guestUnits": [
{
"codes": [],
"features": {},
"label": ""
}
],
"healthAndSafety": {
"enhancedCleaning": {
"commercialGradeDisinfectantCleaning": false,
"commercialGradeDisinfectantCleaningException": "",
"commonAreasEnhancedCleaning": false,
"commonAreasEnhancedCleaningException": "",
"employeesTrainedCleaningProcedures": false,
"employeesTrainedCleaningProceduresException": "",
"employeesTrainedThoroughHandWashing": false,
"employeesTrainedThoroughHandWashingException": "",
"employeesWearProtectiveEquipment": false,
"employeesWearProtectiveEquipmentException": "",
"guestRoomsEnhancedCleaning": false,
"guestRoomsEnhancedCleaningException": ""
},
"increasedFoodSafety": {
"diningAreasAdditionalSanitation": false,
"diningAreasAdditionalSanitationException": "",
"disposableFlatware": false,
"disposableFlatwareException": "",
"foodPreparationAndServingAdditionalSafety": false,
"foodPreparationAndServingAdditionalSafetyException": "",
"individualPackagedMeals": false,
"individualPackagedMealsException": "",
"singleUseFoodMenus": false,
"singleUseFoodMenusException": ""
},
"minimizedContact": {
"contactlessCheckinCheckout": false,
"contactlessCheckinCheckoutException": "",
"digitalGuestRoomKeys": false,
"digitalGuestRoomKeysException": "",
"housekeepingScheduledRequestOnly": false,
"housekeepingScheduledRequestOnlyException": "",
"noHighTouchItemsCommonAreas": false,
"noHighTouchItemsCommonAreasException": "",
"noHighTouchItemsGuestRooms": false,
"noHighTouchItemsGuestRoomsException": "",
"plasticKeycardsDisinfected": false,
"plasticKeycardsDisinfectedException": "",
"roomBookingsBuffer": false,
"roomBookingsBufferException": ""
},
"personalProtection": {
"commonAreasOfferSanitizingItems": false,
"commonAreasOfferSanitizingItemsException": "",
"faceMaskRequired": false,
"faceMaskRequiredException": "",
"guestRoomHygieneKitsAvailable": false,
"guestRoomHygieneKitsAvailableException": "",
"protectiveEquipmentAvailable": false,
"protectiveEquipmentAvailableException": ""
},
"physicalDistancing": {
"commonAreasPhysicalDistancingArranged": false,
"commonAreasPhysicalDistancingArrangedException": "",
"physicalDistancingRequired": false,
"physicalDistancingRequiredException": "",
"safetyDividers": false,
"safetyDividersException": "",
"sharedAreasLimitedOccupancy": false,
"sharedAreasLimitedOccupancyException": "",
"wellnessAreasHavePrivateSpaces": false,
"wellnessAreasHavePrivateSpacesException": ""
}
},
"housekeeping": {
"dailyHousekeeping": false,
"dailyHousekeepingException": "",
"housekeepingAvailable": false,
"housekeepingAvailableException": "",
"turndownService": false,
"turndownServiceException": ""
},
"metadata": {
"updateTime": ""
},
"name": "",
"parking": {
"electricCarChargingStations": false,
"electricCarChargingStationsException": "",
"freeParking": false,
"freeParkingException": "",
"freeSelfParking": false,
"freeSelfParkingException": "",
"freeValetParking": false,
"freeValetParkingException": "",
"parkingAvailable": false,
"parkingAvailableException": "",
"selfParkingAvailable": false,
"selfParkingAvailableException": "",
"valetParkingAvailable": false,
"valetParkingAvailableException": ""
},
"pets": {
"catsAllowed": false,
"catsAllowedException": "",
"dogsAllowed": false,
"dogsAllowedException": "",
"petsAllowed": false,
"petsAllowedException": "",
"petsAllowedFree": false,
"petsAllowedFreeException": ""
},
"policies": {
"allInclusiveAvailable": false,
"allInclusiveAvailableException": "",
"allInclusiveOnly": false,
"allInclusiveOnlyException": "",
"checkinTime": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0
},
"checkinTimeException": "",
"checkoutTime": {},
"checkoutTimeException": "",
"kidsStayFree": false,
"kidsStayFreeException": "",
"maxChildAge": 0,
"maxChildAgeException": "",
"maxKidsStayFreeCount": 0,
"maxKidsStayFreeCountException": "",
"paymentOptions": {
"cash": false,
"cashException": "",
"cheque": false,
"chequeException": "",
"creditCard": false,
"creditCardException": "",
"debitCard": false,
"debitCardException": "",
"mobileNfc": false,
"mobileNfcException": ""
},
"smokeFreeProperty": false,
"smokeFreePropertyException": ""
},
"pools": {
"adultPool": false,
"adultPoolException": "",
"hotTub": false,
"hotTubException": "",
"indoorPool": false,
"indoorPoolException": "",
"indoorPoolsCount": 0,
"indoorPoolsCountException": "",
"lazyRiver": false,
"lazyRiverException": "",
"lifeguard": false,
"lifeguardException": "",
"outdoorPool": false,
"outdoorPoolException": "",
"outdoorPoolsCount": 0,
"outdoorPoolsCountException": "",
"pool": false,
"poolException": "",
"poolsCount": 0,
"poolsCountException": "",
"wadingPool": false,
"wadingPoolException": "",
"waterPark": false,
"waterParkException": "",
"waterslide": false,
"waterslideException": "",
"wavePool": false,
"wavePoolException": ""
},
"property": {
"builtYear": 0,
"builtYearException": "",
"floorsCount": 0,
"floorsCountException": "",
"lastRenovatedYear": 0,
"lastRenovatedYearException": "",
"roomsCount": 0,
"roomsCountException": ""
},
"services": {
"baggageStorage": false,
"baggageStorageException": "",
"concierge": false,
"conciergeException": "",
"convenienceStore": false,
"convenienceStoreException": "",
"currencyExchange": false,
"currencyExchangeException": "",
"elevator": false,
"elevatorException": "",
"frontDesk": false,
"frontDeskException": "",
"fullServiceLaundry": false,
"fullServiceLaundryException": "",
"giftShop": false,
"giftShopException": "",
"languagesSpoken": [
{
"languageCode": "",
"spoken": false,
"spokenException": ""
}
],
"selfServiceLaundry": false,
"selfServiceLaundryException": "",
"socialHour": false,
"socialHourException": "",
"twentyFourHourFrontDesk": false,
"twentyFourHourFrontDeskException": "",
"wakeUpCalls": false,
"wakeUpCallsException": ""
},
"someUnits": {},
"sustainability": {
"energyEfficiency": {
"carbonFreeEnergySources": false,
"carbonFreeEnergySourcesException": "",
"energyConservationProgram": false,
"energyConservationProgramException": "",
"energyEfficientHeatingAndCoolingSystems": false,
"energyEfficientHeatingAndCoolingSystemsException": "",
"energyEfficientLighting": false,
"energyEfficientLightingException": "",
"energySavingThermostats": false,
"energySavingThermostatsException": "",
"greenBuildingDesign": false,
"greenBuildingDesignException": "",
"independentOrganizationAuditsEnergyUse": false,
"independentOrganizationAuditsEnergyUseException": ""
},
"sustainabilityCertifications": {
"breeamCertification": "",
"breeamCertificationException": "",
"ecoCertifications": [
{
"awarded": false,
"awardedException": "",
"ecoCertificate": ""
}
],
"leedCertification": "",
"leedCertificationException": ""
},
"sustainableSourcing": {
"ecoFriendlyToiletries": false,
"ecoFriendlyToiletriesException": "",
"locallySourcedFoodAndBeverages": false,
"locallySourcedFoodAndBeveragesException": "",
"organicCageFreeEggs": false,
"organicCageFreeEggsException": "",
"organicFoodAndBeverages": false,
"organicFoodAndBeveragesException": "",
"responsiblePurchasingPolicy": false,
"responsiblePurchasingPolicyException": "",
"responsiblySourcesSeafood": false,
"responsiblySourcesSeafoodException": "",
"veganMeals": false,
"veganMealsException": "",
"vegetarianMeals": false,
"vegetarianMealsException": ""
},
"wasteReduction": {
"compostableFoodContainersAndCutlery": false,
"compostableFoodContainersAndCutleryException": "",
"compostsExcessFood": false,
"compostsExcessFoodException": "",
"donatesExcessFood": false,
"donatesExcessFoodException": "",
"foodWasteReductionProgram": false,
"foodWasteReductionProgramException": "",
"noSingleUsePlasticStraws": false,
"noSingleUsePlasticStrawsException": "",
"noSingleUsePlasticWaterBottles": false,
"noSingleUsePlasticWaterBottlesException": "",
"noStyrofoamFoodContainers": false,
"noStyrofoamFoodContainersException": "",
"recyclingProgram": false,
"recyclingProgramException": "",
"refillableToiletryContainers": false,
"refillableToiletryContainersException": "",
"safelyDisposesBatteries": false,
"safelyDisposesBatteriesException": "",
"safelyDisposesElectronics": false,
"safelyDisposesElectronicsException": "",
"safelyDisposesLightbulbs": false,
"safelyDisposesLightbulbsException": "",
"safelyHandlesHazardousSubstances": false,
"safelyHandlesHazardousSubstancesException": "",
"soapDonationProgram": false,
"soapDonationProgramException": "",
"toiletryDonationProgram": false,
"toiletryDonationProgramException": "",
"waterBottleFillingStations": false,
"waterBottleFillingStationsException": ""
},
"waterConservation": {
"independentOrganizationAuditsWaterUse": false,
"independentOrganizationAuditsWaterUseException": "",
"linenReuseProgram": false,
"linenReuseProgramException": "",
"towelReuseProgram": false,
"towelReuseProgramException": "",
"waterSavingShowers": false,
"waterSavingShowersException": "",
"waterSavingSinks": false,
"waterSavingSinksException": "",
"waterSavingToilets": false,
"waterSavingToiletsException": ""
}
},
"transportation": {
"airportShuttle": false,
"airportShuttleException": "",
"carRentalOnProperty": false,
"carRentalOnPropertyException": "",
"freeAirportShuttle": false,
"freeAirportShuttleException": "",
"freePrivateCarService": false,
"freePrivateCarServiceException": "",
"localShuttle": false,
"localShuttleException": "",
"privateCarService": false,
"privateCarServiceException": "",
"transfer": false,
"transferException": ""
},
"wellness": {
"doctorOnCall": false,
"doctorOnCallException": "",
"ellipticalMachine": false,
"ellipticalMachineException": "",
"fitnessCenter": false,
"fitnessCenterException": "",
"freeFitnessCenter": false,
"freeFitnessCenterException": "",
"freeWeights": false,
"freeWeightsException": "",
"massage": false,
"massageException": "",
"salon": false,
"salonException": "",
"sauna": false,
"saunaException": "",
"spa": false,
"spaException": "",
"treadmill": false,
"treadmillException": "",
"weightMachine": false,
"weightMachineException": ""
}
}
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "PATCH");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/v1/:name");
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);
curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n \"accessibility\": {\n \"mobilityAccessible\": false,\n \"mobilityAccessibleElevator\": false,\n \"mobilityAccessibleElevatorException\": \"\",\n \"mobilityAccessibleException\": \"\",\n \"mobilityAccessibleParking\": false,\n \"mobilityAccessibleParkingException\": \"\",\n \"mobilityAccessiblePool\": false,\n \"mobilityAccessiblePoolException\": \"\"\n },\n \"activities\": {\n \"beachAccess\": false,\n \"beachAccessException\": \"\",\n \"beachFront\": false,\n \"beachFrontException\": \"\",\n \"bicycleRental\": false,\n \"bicycleRentalException\": \"\",\n \"boutiqueStores\": false,\n \"boutiqueStoresException\": \"\",\n \"casino\": false,\n \"casinoException\": \"\",\n \"freeBicycleRental\": false,\n \"freeBicycleRentalException\": \"\",\n \"freeWatercraftRental\": false,\n \"freeWatercraftRentalException\": \"\",\n \"gameRoom\": false,\n \"gameRoomException\": \"\",\n \"golf\": false,\n \"golfException\": \"\",\n \"horsebackRiding\": false,\n \"horsebackRidingException\": \"\",\n \"nightclub\": false,\n \"nightclubException\": \"\",\n \"privateBeach\": false,\n \"privateBeachException\": \"\",\n \"scuba\": false,\n \"scubaException\": \"\",\n \"snorkeling\": false,\n \"snorkelingException\": \"\",\n \"tennis\": false,\n \"tennisException\": \"\",\n \"waterSkiing\": false,\n \"waterSkiingException\": \"\",\n \"watercraftRental\": false,\n \"watercraftRentalException\": \"\"\n },\n \"allUnits\": {\n \"bungalowOrVilla\": false,\n \"bungalowOrVillaException\": \"\",\n \"connectingUnitAvailable\": false,\n \"connectingUnitAvailableException\": \"\",\n \"executiveFloor\": false,\n \"executiveFloorException\": \"\",\n \"maxAdultOccupantsCount\": 0,\n \"maxAdultOccupantsCountException\": \"\",\n \"maxChildOccupantsCount\": 0,\n \"maxChildOccupantsCountException\": \"\",\n \"maxOccupantsCount\": 0,\n \"maxOccupantsCountException\": \"\",\n \"privateHome\": false,\n \"privateHomeException\": \"\",\n \"suite\": false,\n \"suiteException\": \"\",\n \"tier\": \"\",\n \"tierException\": \"\",\n \"totalLivingAreas\": {\n \"accessibility\": {\n \"adaCompliantUnit\": false,\n \"adaCompliantUnitException\": \"\",\n \"hearingAccessibleDoorbell\": false,\n \"hearingAccessibleDoorbellException\": \"\",\n \"hearingAccessibleFireAlarm\": false,\n \"hearingAccessibleFireAlarmException\": \"\",\n \"hearingAccessibleUnit\": false,\n \"hearingAccessibleUnitException\": \"\",\n \"mobilityAccessibleBathtub\": false,\n \"mobilityAccessibleBathtubException\": \"\",\n \"mobilityAccessibleShower\": false,\n \"mobilityAccessibleShowerException\": \"\",\n \"mobilityAccessibleToilet\": false,\n \"mobilityAccessibleToiletException\": \"\",\n \"mobilityAccessibleUnit\": false,\n \"mobilityAccessibleUnitException\": \"\"\n },\n \"eating\": {\n \"coffeeMaker\": false,\n \"coffeeMakerException\": \"\",\n \"cookware\": false,\n \"cookwareException\": \"\",\n \"dishwasher\": false,\n \"dishwasherException\": \"\",\n \"indoorGrill\": false,\n \"indoorGrillException\": \"\",\n \"kettle\": false,\n \"kettleException\": \"\",\n \"kitchenAvailable\": false,\n \"kitchenAvailableException\": \"\",\n \"microwave\": false,\n \"microwaveException\": \"\",\n \"minibar\": false,\n \"minibarException\": \"\",\n \"outdoorGrill\": false,\n \"outdoorGrillException\": \"\",\n \"oven\": false,\n \"ovenException\": \"\",\n \"refrigerator\": false,\n \"refrigeratorException\": \"\",\n \"sink\": false,\n \"sinkException\": \"\",\n \"snackbar\": false,\n \"snackbarException\": \"\",\n \"stove\": false,\n \"stoveException\": \"\",\n \"teaStation\": false,\n \"teaStationException\": \"\",\n \"toaster\": false,\n \"toasterException\": \"\"\n },\n \"features\": {\n \"airConditioning\": false,\n \"airConditioningException\": \"\",\n \"bathtub\": false,\n \"bathtubException\": \"\",\n \"bidet\": false,\n \"bidetException\": \"\",\n \"dryer\": false,\n \"dryerException\": \"\",\n \"electronicRoomKey\": false,\n \"electronicRoomKeyException\": \"\",\n \"fireplace\": false,\n \"fireplaceException\": \"\",\n \"hairdryer\": false,\n \"hairdryerException\": \"\",\n \"heating\": false,\n \"heatingException\": \"\",\n \"inunitSafe\": false,\n \"inunitSafeException\": \"\",\n \"inunitWifiAvailable\": false,\n \"inunitWifiAvailableException\": \"\",\n \"ironingEquipment\": false,\n \"ironingEquipmentException\": \"\",\n \"payPerViewMovies\": false,\n \"payPerViewMoviesException\": \"\",\n \"privateBathroom\": false,\n \"privateBathroomException\": \"\",\n \"shower\": false,\n \"showerException\": \"\",\n \"toilet\": false,\n \"toiletException\": \"\",\n \"tv\": false,\n \"tvCasting\": false,\n \"tvCastingException\": \"\",\n \"tvException\": \"\",\n \"tvStreaming\": false,\n \"tvStreamingException\": \"\",\n \"universalPowerAdapters\": false,\n \"universalPowerAdaptersException\": \"\",\n \"washer\": false,\n \"washerException\": \"\"\n },\n \"layout\": {\n \"balcony\": false,\n \"balconyException\": \"\",\n \"livingAreaSqMeters\": \"\",\n \"livingAreaSqMetersException\": \"\",\n \"loft\": false,\n \"loftException\": \"\",\n \"nonSmoking\": false,\n \"nonSmokingException\": \"\",\n \"patio\": false,\n \"patioException\": \"\",\n \"stairs\": false,\n \"stairsException\": \"\"\n },\n \"sleeping\": {\n \"bedsCount\": 0,\n \"bedsCountException\": \"\",\n \"bunkBedsCount\": 0,\n \"bunkBedsCountException\": \"\",\n \"cribsCount\": 0,\n \"cribsCountException\": \"\",\n \"doubleBedsCount\": 0,\n \"doubleBedsCountException\": \"\",\n \"featherPillows\": false,\n \"featherPillowsException\": \"\",\n \"hypoallergenicBedding\": false,\n \"hypoallergenicBeddingException\": \"\",\n \"kingBedsCount\": 0,\n \"kingBedsCountException\": \"\",\n \"memoryFoamPillows\": false,\n \"memoryFoamPillowsException\": \"\",\n \"otherBedsCount\": 0,\n \"otherBedsCountException\": \"\",\n \"queenBedsCount\": 0,\n \"queenBedsCountException\": \"\",\n \"rollAwayBedsCount\": 0,\n \"rollAwayBedsCountException\": \"\",\n \"singleOrTwinBedsCount\": 0,\n \"singleOrTwinBedsCountException\": \"\",\n \"sofaBedsCount\": 0,\n \"sofaBedsCountException\": \"\",\n \"syntheticPillows\": false,\n \"syntheticPillowsException\": \"\"\n }\n },\n \"views\": {\n \"beachView\": false,\n \"beachViewException\": \"\",\n \"cityView\": false,\n \"cityViewException\": \"\",\n \"gardenView\": false,\n \"gardenViewException\": \"\",\n \"lakeView\": false,\n \"lakeViewException\": \"\",\n \"landmarkView\": false,\n \"landmarkViewException\": \"\",\n \"oceanView\": false,\n \"oceanViewException\": \"\",\n \"poolView\": false,\n \"poolViewException\": \"\",\n \"valleyView\": false,\n \"valleyViewException\": \"\"\n }\n },\n \"business\": {\n \"businessCenter\": false,\n \"businessCenterException\": \"\",\n \"meetingRooms\": false,\n \"meetingRoomsCount\": 0,\n \"meetingRoomsCountException\": \"\",\n \"meetingRoomsException\": \"\"\n },\n \"commonLivingArea\": {},\n \"connectivity\": {\n \"freeWifi\": false,\n \"freeWifiException\": \"\",\n \"publicAreaWifiAvailable\": false,\n \"publicAreaWifiAvailableException\": \"\",\n \"publicInternetTerminal\": false,\n \"publicInternetTerminalException\": \"\",\n \"wifiAvailable\": false,\n \"wifiAvailableException\": \"\"\n },\n \"families\": {\n \"babysitting\": false,\n \"babysittingException\": \"\",\n \"kidsActivities\": false,\n \"kidsActivitiesException\": \"\",\n \"kidsClub\": false,\n \"kidsClubException\": \"\",\n \"kidsFriendly\": false,\n \"kidsFriendlyException\": \"\"\n },\n \"foodAndDrink\": {\n \"bar\": false,\n \"barException\": \"\",\n \"breakfastAvailable\": false,\n \"breakfastAvailableException\": \"\",\n \"breakfastBuffet\": false,\n \"breakfastBuffetException\": \"\",\n \"buffet\": false,\n \"buffetException\": \"\",\n \"dinnerBuffet\": false,\n \"dinnerBuffetException\": \"\",\n \"freeBreakfast\": false,\n \"freeBreakfastException\": \"\",\n \"restaurant\": false,\n \"restaurantException\": \"\",\n \"restaurantsCount\": 0,\n \"restaurantsCountException\": \"\",\n \"roomService\": false,\n \"roomServiceException\": \"\",\n \"tableService\": false,\n \"tableServiceException\": \"\",\n \"twentyFourHourRoomService\": false,\n \"twentyFourHourRoomServiceException\": \"\",\n \"vendingMachine\": false,\n \"vendingMachineException\": \"\"\n },\n \"guestUnits\": [\n {\n \"codes\": [],\n \"features\": {},\n \"label\": \"\"\n }\n ],\n \"healthAndSafety\": {\n \"enhancedCleaning\": {\n \"commercialGradeDisinfectantCleaning\": false,\n \"commercialGradeDisinfectantCleaningException\": \"\",\n \"commonAreasEnhancedCleaning\": false,\n \"commonAreasEnhancedCleaningException\": \"\",\n \"employeesTrainedCleaningProcedures\": false,\n \"employeesTrainedCleaningProceduresException\": \"\",\n \"employeesTrainedThoroughHandWashing\": false,\n \"employeesTrainedThoroughHandWashingException\": \"\",\n \"employeesWearProtectiveEquipment\": false,\n \"employeesWearProtectiveEquipmentException\": \"\",\n \"guestRoomsEnhancedCleaning\": false,\n \"guestRoomsEnhancedCleaningException\": \"\"\n },\n \"increasedFoodSafety\": {\n \"diningAreasAdditionalSanitation\": false,\n \"diningAreasAdditionalSanitationException\": \"\",\n \"disposableFlatware\": false,\n \"disposableFlatwareException\": \"\",\n \"foodPreparationAndServingAdditionalSafety\": false,\n \"foodPreparationAndServingAdditionalSafetyException\": \"\",\n \"individualPackagedMeals\": false,\n \"individualPackagedMealsException\": \"\",\n \"singleUseFoodMenus\": false,\n \"singleUseFoodMenusException\": \"\"\n },\n \"minimizedContact\": {\n \"contactlessCheckinCheckout\": false,\n \"contactlessCheckinCheckoutException\": \"\",\n \"digitalGuestRoomKeys\": false,\n \"digitalGuestRoomKeysException\": \"\",\n \"housekeepingScheduledRequestOnly\": false,\n \"housekeepingScheduledRequestOnlyException\": \"\",\n \"noHighTouchItemsCommonAreas\": false,\n \"noHighTouchItemsCommonAreasException\": \"\",\n \"noHighTouchItemsGuestRooms\": false,\n \"noHighTouchItemsGuestRoomsException\": \"\",\n \"plasticKeycardsDisinfected\": false,\n \"plasticKeycardsDisinfectedException\": \"\",\n \"roomBookingsBuffer\": false,\n \"roomBookingsBufferException\": \"\"\n },\n \"personalProtection\": {\n \"commonAreasOfferSanitizingItems\": false,\n \"commonAreasOfferSanitizingItemsException\": \"\",\n \"faceMaskRequired\": false,\n \"faceMaskRequiredException\": \"\",\n \"guestRoomHygieneKitsAvailable\": false,\n \"guestRoomHygieneKitsAvailableException\": \"\",\n \"protectiveEquipmentAvailable\": false,\n \"protectiveEquipmentAvailableException\": \"\"\n },\n \"physicalDistancing\": {\n \"commonAreasPhysicalDistancingArranged\": false,\n \"commonAreasPhysicalDistancingArrangedException\": \"\",\n \"physicalDistancingRequired\": false,\n \"physicalDistancingRequiredException\": \"\",\n \"safetyDividers\": false,\n \"safetyDividersException\": \"\",\n \"sharedAreasLimitedOccupancy\": false,\n \"sharedAreasLimitedOccupancyException\": \"\",\n \"wellnessAreasHavePrivateSpaces\": false,\n \"wellnessAreasHavePrivateSpacesException\": \"\"\n }\n },\n \"housekeeping\": {\n \"dailyHousekeeping\": false,\n \"dailyHousekeepingException\": \"\",\n \"housekeepingAvailable\": false,\n \"housekeepingAvailableException\": \"\",\n \"turndownService\": false,\n \"turndownServiceException\": \"\"\n },\n \"metadata\": {\n \"updateTime\": \"\"\n },\n \"name\": \"\",\n \"parking\": {\n \"electricCarChargingStations\": false,\n \"electricCarChargingStationsException\": \"\",\n \"freeParking\": false,\n \"freeParkingException\": \"\",\n \"freeSelfParking\": false,\n \"freeSelfParkingException\": \"\",\n \"freeValetParking\": false,\n \"freeValetParkingException\": \"\",\n \"parkingAvailable\": false,\n \"parkingAvailableException\": \"\",\n \"selfParkingAvailable\": false,\n \"selfParkingAvailableException\": \"\",\n \"valetParkingAvailable\": false,\n \"valetParkingAvailableException\": \"\"\n },\n \"pets\": {\n \"catsAllowed\": false,\n \"catsAllowedException\": \"\",\n \"dogsAllowed\": false,\n \"dogsAllowedException\": \"\",\n \"petsAllowed\": false,\n \"petsAllowedException\": \"\",\n \"petsAllowedFree\": false,\n \"petsAllowedFreeException\": \"\"\n },\n \"policies\": {\n \"allInclusiveAvailable\": false,\n \"allInclusiveAvailableException\": \"\",\n \"allInclusiveOnly\": false,\n \"allInclusiveOnlyException\": \"\",\n \"checkinTime\": {\n \"hours\": 0,\n \"minutes\": 0,\n \"nanos\": 0,\n \"seconds\": 0\n },\n \"checkinTimeException\": \"\",\n \"checkoutTime\": {},\n \"checkoutTimeException\": \"\",\n \"kidsStayFree\": false,\n \"kidsStayFreeException\": \"\",\n \"maxChildAge\": 0,\n \"maxChildAgeException\": \"\",\n \"maxKidsStayFreeCount\": 0,\n \"maxKidsStayFreeCountException\": \"\",\n \"paymentOptions\": {\n \"cash\": false,\n \"cashException\": \"\",\n \"cheque\": false,\n \"chequeException\": \"\",\n \"creditCard\": false,\n \"creditCardException\": \"\",\n \"debitCard\": false,\n \"debitCardException\": \"\",\n \"mobileNfc\": false,\n \"mobileNfcException\": \"\"\n },\n \"smokeFreeProperty\": false,\n \"smokeFreePropertyException\": \"\"\n },\n \"pools\": {\n \"adultPool\": false,\n \"adultPoolException\": \"\",\n \"hotTub\": false,\n \"hotTubException\": \"\",\n \"indoorPool\": false,\n \"indoorPoolException\": \"\",\n \"indoorPoolsCount\": 0,\n \"indoorPoolsCountException\": \"\",\n \"lazyRiver\": false,\n \"lazyRiverException\": \"\",\n \"lifeguard\": false,\n \"lifeguardException\": \"\",\n \"outdoorPool\": false,\n \"outdoorPoolException\": \"\",\n \"outdoorPoolsCount\": 0,\n \"outdoorPoolsCountException\": \"\",\n \"pool\": false,\n \"poolException\": \"\",\n \"poolsCount\": 0,\n \"poolsCountException\": \"\",\n \"wadingPool\": false,\n \"wadingPoolException\": \"\",\n \"waterPark\": false,\n \"waterParkException\": \"\",\n \"waterslide\": false,\n \"waterslideException\": \"\",\n \"wavePool\": false,\n \"wavePoolException\": \"\"\n },\n \"property\": {\n \"builtYear\": 0,\n \"builtYearException\": \"\",\n \"floorsCount\": 0,\n \"floorsCountException\": \"\",\n \"lastRenovatedYear\": 0,\n \"lastRenovatedYearException\": \"\",\n \"roomsCount\": 0,\n \"roomsCountException\": \"\"\n },\n \"services\": {\n \"baggageStorage\": false,\n \"baggageStorageException\": \"\",\n \"concierge\": false,\n \"conciergeException\": \"\",\n \"convenienceStore\": false,\n \"convenienceStoreException\": \"\",\n \"currencyExchange\": false,\n \"currencyExchangeException\": \"\",\n \"elevator\": false,\n \"elevatorException\": \"\",\n \"frontDesk\": false,\n \"frontDeskException\": \"\",\n \"fullServiceLaundry\": false,\n \"fullServiceLaundryException\": \"\",\n \"giftShop\": false,\n \"giftShopException\": \"\",\n \"languagesSpoken\": [\n {\n \"languageCode\": \"\",\n \"spoken\": false,\n \"spokenException\": \"\"\n }\n ],\n \"selfServiceLaundry\": false,\n \"selfServiceLaundryException\": \"\",\n \"socialHour\": false,\n \"socialHourException\": \"\",\n \"twentyFourHourFrontDesk\": false,\n \"twentyFourHourFrontDeskException\": \"\",\n \"wakeUpCalls\": false,\n \"wakeUpCallsException\": \"\"\n },\n \"someUnits\": {},\n \"sustainability\": {\n \"energyEfficiency\": {\n \"carbonFreeEnergySources\": false,\n \"carbonFreeEnergySourcesException\": \"\",\n \"energyConservationProgram\": false,\n \"energyConservationProgramException\": \"\",\n \"energyEfficientHeatingAndCoolingSystems\": false,\n \"energyEfficientHeatingAndCoolingSystemsException\": \"\",\n \"energyEfficientLighting\": false,\n \"energyEfficientLightingException\": \"\",\n \"energySavingThermostats\": false,\n \"energySavingThermostatsException\": \"\",\n \"greenBuildingDesign\": false,\n \"greenBuildingDesignException\": \"\",\n \"independentOrganizationAuditsEnergyUse\": false,\n \"independentOrganizationAuditsEnergyUseException\": \"\"\n },\n \"sustainabilityCertifications\": {\n \"breeamCertification\": \"\",\n \"breeamCertificationException\": \"\",\n \"ecoCertifications\": [\n {\n \"awarded\": false,\n \"awardedException\": \"\",\n \"ecoCertificate\": \"\"\n }\n ],\n \"leedCertification\": \"\",\n \"leedCertificationException\": \"\"\n },\n \"sustainableSourcing\": {\n \"ecoFriendlyToiletries\": false,\n \"ecoFriendlyToiletriesException\": \"\",\n \"locallySourcedFoodAndBeverages\": false,\n \"locallySourcedFoodAndBeveragesException\": \"\",\n \"organicCageFreeEggs\": false,\n \"organicCageFreeEggsException\": \"\",\n \"organicFoodAndBeverages\": false,\n \"organicFoodAndBeveragesException\": \"\",\n \"responsiblePurchasingPolicy\": false,\n \"responsiblePurchasingPolicyException\": \"\",\n \"responsiblySourcesSeafood\": false,\n \"responsiblySourcesSeafoodException\": \"\",\n \"veganMeals\": false,\n \"veganMealsException\": \"\",\n \"vegetarianMeals\": false,\n \"vegetarianMealsException\": \"\"\n },\n \"wasteReduction\": {\n \"compostableFoodContainersAndCutlery\": false,\n \"compostableFoodContainersAndCutleryException\": \"\",\n \"compostsExcessFood\": false,\n \"compostsExcessFoodException\": \"\",\n \"donatesExcessFood\": false,\n \"donatesExcessFoodException\": \"\",\n \"foodWasteReductionProgram\": false,\n \"foodWasteReductionProgramException\": \"\",\n \"noSingleUsePlasticStraws\": false,\n \"noSingleUsePlasticStrawsException\": \"\",\n \"noSingleUsePlasticWaterBottles\": false,\n \"noSingleUsePlasticWaterBottlesException\": \"\",\n \"noStyrofoamFoodContainers\": false,\n \"noStyrofoamFoodContainersException\": \"\",\n \"recyclingProgram\": false,\n \"recyclingProgramException\": \"\",\n \"refillableToiletryContainers\": false,\n \"refillableToiletryContainersException\": \"\",\n \"safelyDisposesBatteries\": false,\n \"safelyDisposesBatteriesException\": \"\",\n \"safelyDisposesElectronics\": false,\n \"safelyDisposesElectronicsException\": \"\",\n \"safelyDisposesLightbulbs\": false,\n \"safelyDisposesLightbulbsException\": \"\",\n \"safelyHandlesHazardousSubstances\": false,\n \"safelyHandlesHazardousSubstancesException\": \"\",\n \"soapDonationProgram\": false,\n \"soapDonationProgramException\": \"\",\n \"toiletryDonationProgram\": false,\n \"toiletryDonationProgramException\": \"\",\n \"waterBottleFillingStations\": false,\n \"waterBottleFillingStationsException\": \"\"\n },\n \"waterConservation\": {\n \"independentOrganizationAuditsWaterUse\": false,\n \"independentOrganizationAuditsWaterUseException\": \"\",\n \"linenReuseProgram\": false,\n \"linenReuseProgramException\": \"\",\n \"towelReuseProgram\": false,\n \"towelReuseProgramException\": \"\",\n \"waterSavingShowers\": false,\n \"waterSavingShowersException\": \"\",\n \"waterSavingSinks\": false,\n \"waterSavingSinksException\": \"\",\n \"waterSavingToilets\": false,\n \"waterSavingToiletsException\": \"\"\n }\n },\n \"transportation\": {\n \"airportShuttle\": false,\n \"airportShuttleException\": \"\",\n \"carRentalOnProperty\": false,\n \"carRentalOnPropertyException\": \"\",\n \"freeAirportShuttle\": false,\n \"freeAirportShuttleException\": \"\",\n \"freePrivateCarService\": false,\n \"freePrivateCarServiceException\": \"\",\n \"localShuttle\": false,\n \"localShuttleException\": \"\",\n \"privateCarService\": false,\n \"privateCarServiceException\": \"\",\n \"transfer\": false,\n \"transferException\": \"\"\n },\n \"wellness\": {\n \"doctorOnCall\": false,\n \"doctorOnCallException\": \"\",\n \"ellipticalMachine\": false,\n \"ellipticalMachineException\": \"\",\n \"fitnessCenter\": false,\n \"fitnessCenterException\": \"\",\n \"freeFitnessCenter\": false,\n \"freeFitnessCenterException\": \"\",\n \"freeWeights\": false,\n \"freeWeightsException\": \"\",\n \"massage\": false,\n \"massageException\": \"\",\n \"salon\": false,\n \"salonException\": \"\",\n \"sauna\": false,\n \"saunaException\": \"\",\n \"spa\": false,\n \"spaException\": \"\",\n \"treadmill\": false,\n \"treadmillException\": \"\",\n \"weightMachine\": false,\n \"weightMachineException\": \"\"\n }\n}");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/patch "{{baseUrl}}/v1/:name" {:content-type :json
:form-params {:accessibility {:mobilityAccessible false
:mobilityAccessibleElevator false
:mobilityAccessibleElevatorException ""
:mobilityAccessibleException ""
:mobilityAccessibleParking false
:mobilityAccessibleParkingException ""
:mobilityAccessiblePool false
:mobilityAccessiblePoolException ""}
:activities {:beachAccess false
:beachAccessException ""
:beachFront false
:beachFrontException ""
:bicycleRental false
:bicycleRentalException ""
:boutiqueStores false
:boutiqueStoresException ""
:casino false
:casinoException ""
:freeBicycleRental false
:freeBicycleRentalException ""
:freeWatercraftRental false
:freeWatercraftRentalException ""
:gameRoom false
:gameRoomException ""
:golf false
:golfException ""
:horsebackRiding false
:horsebackRidingException ""
:nightclub false
:nightclubException ""
:privateBeach false
:privateBeachException ""
:scuba false
:scubaException ""
:snorkeling false
:snorkelingException ""
:tennis false
:tennisException ""
:waterSkiing false
:waterSkiingException ""
:watercraftRental false
:watercraftRentalException ""}
:allUnits {:bungalowOrVilla false
:bungalowOrVillaException ""
:connectingUnitAvailable false
:connectingUnitAvailableException ""
:executiveFloor false
:executiveFloorException ""
:maxAdultOccupantsCount 0
:maxAdultOccupantsCountException ""
:maxChildOccupantsCount 0
:maxChildOccupantsCountException ""
:maxOccupantsCount 0
:maxOccupantsCountException ""
:privateHome false
:privateHomeException ""
:suite false
:suiteException ""
:tier ""
:tierException ""
:totalLivingAreas {:accessibility {:adaCompliantUnit false
:adaCompliantUnitException ""
:hearingAccessibleDoorbell false
:hearingAccessibleDoorbellException ""
:hearingAccessibleFireAlarm false
:hearingAccessibleFireAlarmException ""
:hearingAccessibleUnit false
:hearingAccessibleUnitException ""
:mobilityAccessibleBathtub false
:mobilityAccessibleBathtubException ""
:mobilityAccessibleShower false
:mobilityAccessibleShowerException ""
:mobilityAccessibleToilet false
:mobilityAccessibleToiletException ""
:mobilityAccessibleUnit false
:mobilityAccessibleUnitException ""}
:eating {:coffeeMaker false
:coffeeMakerException ""
:cookware false
:cookwareException ""
:dishwasher false
:dishwasherException ""
:indoorGrill false
:indoorGrillException ""
:kettle false
:kettleException ""
:kitchenAvailable false
:kitchenAvailableException ""
:microwave false
:microwaveException ""
:minibar false
:minibarException ""
:outdoorGrill false
:outdoorGrillException ""
:oven false
:ovenException ""
:refrigerator false
:refrigeratorException ""
:sink false
:sinkException ""
:snackbar false
:snackbarException ""
:stove false
:stoveException ""
:teaStation false
:teaStationException ""
:toaster false
:toasterException ""}
:features {:airConditioning false
:airConditioningException ""
:bathtub false
:bathtubException ""
:bidet false
:bidetException ""
:dryer false
:dryerException ""
:electronicRoomKey false
:electronicRoomKeyException ""
:fireplace false
:fireplaceException ""
:hairdryer false
:hairdryerException ""
:heating false
:heatingException ""
:inunitSafe false
:inunitSafeException ""
:inunitWifiAvailable false
:inunitWifiAvailableException ""
:ironingEquipment false
:ironingEquipmentException ""
:payPerViewMovies false
:payPerViewMoviesException ""
:privateBathroom false
:privateBathroomException ""
:shower false
:showerException ""
:toilet false
:toiletException ""
:tv false
:tvCasting false
:tvCastingException ""
:tvException ""
:tvStreaming false
:tvStreamingException ""
:universalPowerAdapters false
:universalPowerAdaptersException ""
:washer false
:washerException ""}
:layout {:balcony false
:balconyException ""
:livingAreaSqMeters ""
:livingAreaSqMetersException ""
:loft false
:loftException ""
:nonSmoking false
:nonSmokingException ""
:patio false
:patioException ""
:stairs false
:stairsException ""}
:sleeping {:bedsCount 0
:bedsCountException ""
:bunkBedsCount 0
:bunkBedsCountException ""
:cribsCount 0
:cribsCountException ""
:doubleBedsCount 0
:doubleBedsCountException ""
:featherPillows false
:featherPillowsException ""
:hypoallergenicBedding false
:hypoallergenicBeddingException ""
:kingBedsCount 0
:kingBedsCountException ""
:memoryFoamPillows false
:memoryFoamPillowsException ""
:otherBedsCount 0
:otherBedsCountException ""
:queenBedsCount 0
:queenBedsCountException ""
:rollAwayBedsCount 0
:rollAwayBedsCountException ""
:singleOrTwinBedsCount 0
:singleOrTwinBedsCountException ""
:sofaBedsCount 0
:sofaBedsCountException ""
:syntheticPillows false
:syntheticPillowsException ""}}
:views {:beachView false
:beachViewException ""
:cityView false
:cityViewException ""
:gardenView false
:gardenViewException ""
:lakeView false
:lakeViewException ""
:landmarkView false
:landmarkViewException ""
:oceanView false
:oceanViewException ""
:poolView false
:poolViewException ""
:valleyView false
:valleyViewException ""}}
:business {:businessCenter false
:businessCenterException ""
:meetingRooms false
:meetingRoomsCount 0
:meetingRoomsCountException ""
:meetingRoomsException ""}
:commonLivingArea {}
:connectivity {:freeWifi false
:freeWifiException ""
:publicAreaWifiAvailable false
:publicAreaWifiAvailableException ""
:publicInternetTerminal false
:publicInternetTerminalException ""
:wifiAvailable false
:wifiAvailableException ""}
:families {:babysitting false
:babysittingException ""
:kidsActivities false
:kidsActivitiesException ""
:kidsClub false
:kidsClubException ""
:kidsFriendly false
:kidsFriendlyException ""}
:foodAndDrink {:bar false
:barException ""
:breakfastAvailable false
:breakfastAvailableException ""
:breakfastBuffet false
:breakfastBuffetException ""
:buffet false
:buffetException ""
:dinnerBuffet false
:dinnerBuffetException ""
:freeBreakfast false
:freeBreakfastException ""
:restaurant false
:restaurantException ""
:restaurantsCount 0
:restaurantsCountException ""
:roomService false
:roomServiceException ""
:tableService false
:tableServiceException ""
:twentyFourHourRoomService false
:twentyFourHourRoomServiceException ""
:vendingMachine false
:vendingMachineException ""}
:guestUnits [{:codes []
:features {}
:label ""}]
:healthAndSafety {:enhancedCleaning {:commercialGradeDisinfectantCleaning false
:commercialGradeDisinfectantCleaningException ""
:commonAreasEnhancedCleaning false
:commonAreasEnhancedCleaningException ""
:employeesTrainedCleaningProcedures false
:employeesTrainedCleaningProceduresException ""
:employeesTrainedThoroughHandWashing false
:employeesTrainedThoroughHandWashingException ""
:employeesWearProtectiveEquipment false
:employeesWearProtectiveEquipmentException ""
:guestRoomsEnhancedCleaning false
:guestRoomsEnhancedCleaningException ""}
:increasedFoodSafety {:diningAreasAdditionalSanitation false
:diningAreasAdditionalSanitationException ""
:disposableFlatware false
:disposableFlatwareException ""
:foodPreparationAndServingAdditionalSafety false
:foodPreparationAndServingAdditionalSafetyException ""
:individualPackagedMeals false
:individualPackagedMealsException ""
:singleUseFoodMenus false
:singleUseFoodMenusException ""}
:minimizedContact {:contactlessCheckinCheckout false
:contactlessCheckinCheckoutException ""
:digitalGuestRoomKeys false
:digitalGuestRoomKeysException ""
:housekeepingScheduledRequestOnly false
:housekeepingScheduledRequestOnlyException ""
:noHighTouchItemsCommonAreas false
:noHighTouchItemsCommonAreasException ""
:noHighTouchItemsGuestRooms false
:noHighTouchItemsGuestRoomsException ""
:plasticKeycardsDisinfected false
:plasticKeycardsDisinfectedException ""
:roomBookingsBuffer false
:roomBookingsBufferException ""}
:personalProtection {:commonAreasOfferSanitizingItems false
:commonAreasOfferSanitizingItemsException ""
:faceMaskRequired false
:faceMaskRequiredException ""
:guestRoomHygieneKitsAvailable false
:guestRoomHygieneKitsAvailableException ""
:protectiveEquipmentAvailable false
:protectiveEquipmentAvailableException ""}
:physicalDistancing {:commonAreasPhysicalDistancingArranged false
:commonAreasPhysicalDistancingArrangedException ""
:physicalDistancingRequired false
:physicalDistancingRequiredException ""
:safetyDividers false
:safetyDividersException ""
:sharedAreasLimitedOccupancy false
:sharedAreasLimitedOccupancyException ""
:wellnessAreasHavePrivateSpaces false
:wellnessAreasHavePrivateSpacesException ""}}
:housekeeping {:dailyHousekeeping false
:dailyHousekeepingException ""
:housekeepingAvailable false
:housekeepingAvailableException ""
:turndownService false
:turndownServiceException ""}
:metadata {:updateTime ""}
:name ""
:parking {:electricCarChargingStations false
:electricCarChargingStationsException ""
:freeParking false
:freeParkingException ""
:freeSelfParking false
:freeSelfParkingException ""
:freeValetParking false
:freeValetParkingException ""
:parkingAvailable false
:parkingAvailableException ""
:selfParkingAvailable false
:selfParkingAvailableException ""
:valetParkingAvailable false
:valetParkingAvailableException ""}
:pets {:catsAllowed false
:catsAllowedException ""
:dogsAllowed false
:dogsAllowedException ""
:petsAllowed false
:petsAllowedException ""
:petsAllowedFree false
:petsAllowedFreeException ""}
:policies {:allInclusiveAvailable false
:allInclusiveAvailableException ""
:allInclusiveOnly false
:allInclusiveOnlyException ""
:checkinTime {:hours 0
:minutes 0
:nanos 0
:seconds 0}
:checkinTimeException ""
:checkoutTime {}
:checkoutTimeException ""
:kidsStayFree false
:kidsStayFreeException ""
:maxChildAge 0
:maxChildAgeException ""
:maxKidsStayFreeCount 0
:maxKidsStayFreeCountException ""
:paymentOptions {:cash false
:cashException ""
:cheque false
:chequeException ""
:creditCard false
:creditCardException ""
:debitCard false
:debitCardException ""
:mobileNfc false
:mobileNfcException ""}
:smokeFreeProperty false
:smokeFreePropertyException ""}
:pools {:adultPool false
:adultPoolException ""
:hotTub false
:hotTubException ""
:indoorPool false
:indoorPoolException ""
:indoorPoolsCount 0
:indoorPoolsCountException ""
:lazyRiver false
:lazyRiverException ""
:lifeguard false
:lifeguardException ""
:outdoorPool false
:outdoorPoolException ""
:outdoorPoolsCount 0
:outdoorPoolsCountException ""
:pool false
:poolException ""
:poolsCount 0
:poolsCountException ""
:wadingPool false
:wadingPoolException ""
:waterPark false
:waterParkException ""
:waterslide false
:waterslideException ""
:wavePool false
:wavePoolException ""}
:property {:builtYear 0
:builtYearException ""
:floorsCount 0
:floorsCountException ""
:lastRenovatedYear 0
:lastRenovatedYearException ""
:roomsCount 0
:roomsCountException ""}
:services {:baggageStorage false
:baggageStorageException ""
:concierge false
:conciergeException ""
:convenienceStore false
:convenienceStoreException ""
:currencyExchange false
:currencyExchangeException ""
:elevator false
:elevatorException ""
:frontDesk false
:frontDeskException ""
:fullServiceLaundry false
:fullServiceLaundryException ""
:giftShop false
:giftShopException ""
:languagesSpoken [{:languageCode ""
:spoken false
:spokenException ""}]
:selfServiceLaundry false
:selfServiceLaundryException ""
:socialHour false
:socialHourException ""
:twentyFourHourFrontDesk false
:twentyFourHourFrontDeskException ""
:wakeUpCalls false
:wakeUpCallsException ""}
:someUnits {}
:sustainability {:energyEfficiency {:carbonFreeEnergySources false
:carbonFreeEnergySourcesException ""
:energyConservationProgram false
:energyConservationProgramException ""
:energyEfficientHeatingAndCoolingSystems false
:energyEfficientHeatingAndCoolingSystemsException ""
:energyEfficientLighting false
:energyEfficientLightingException ""
:energySavingThermostats false
:energySavingThermostatsException ""
:greenBuildingDesign false
:greenBuildingDesignException ""
:independentOrganizationAuditsEnergyUse false
:independentOrganizationAuditsEnergyUseException ""}
:sustainabilityCertifications {:breeamCertification ""
:breeamCertificationException ""
:ecoCertifications [{:awarded false
:awardedException ""
:ecoCertificate ""}]
:leedCertification ""
:leedCertificationException ""}
:sustainableSourcing {:ecoFriendlyToiletries false
:ecoFriendlyToiletriesException ""
:locallySourcedFoodAndBeverages false
:locallySourcedFoodAndBeveragesException ""
:organicCageFreeEggs false
:organicCageFreeEggsException ""
:organicFoodAndBeverages false
:organicFoodAndBeveragesException ""
:responsiblePurchasingPolicy false
:responsiblePurchasingPolicyException ""
:responsiblySourcesSeafood false
:responsiblySourcesSeafoodException ""
:veganMeals false
:veganMealsException ""
:vegetarianMeals false
:vegetarianMealsException ""}
:wasteReduction {:compostableFoodContainersAndCutlery false
:compostableFoodContainersAndCutleryException ""
:compostsExcessFood false
:compostsExcessFoodException ""
:donatesExcessFood false
:donatesExcessFoodException ""
:foodWasteReductionProgram false
:foodWasteReductionProgramException ""
:noSingleUsePlasticStraws false
:noSingleUsePlasticStrawsException ""
:noSingleUsePlasticWaterBottles false
:noSingleUsePlasticWaterBottlesException ""
:noStyrofoamFoodContainers false
:noStyrofoamFoodContainersException ""
:recyclingProgram false
:recyclingProgramException ""
:refillableToiletryContainers false
:refillableToiletryContainersException ""
:safelyDisposesBatteries false
:safelyDisposesBatteriesException ""
:safelyDisposesElectronics false
:safelyDisposesElectronicsException ""
:safelyDisposesLightbulbs false
:safelyDisposesLightbulbsException ""
:safelyHandlesHazardousSubstances false
:safelyHandlesHazardousSubstancesException ""
:soapDonationProgram false
:soapDonationProgramException ""
:toiletryDonationProgram false
:toiletryDonationProgramException ""
:waterBottleFillingStations false
:waterBottleFillingStationsException ""}
:waterConservation {:independentOrganizationAuditsWaterUse false
:independentOrganizationAuditsWaterUseException ""
:linenReuseProgram false
:linenReuseProgramException ""
:towelReuseProgram false
:towelReuseProgramException ""
:waterSavingShowers false
:waterSavingShowersException ""
:waterSavingSinks false
:waterSavingSinksException ""
:waterSavingToilets false
:waterSavingToiletsException ""}}
:transportation {:airportShuttle false
:airportShuttleException ""
:carRentalOnProperty false
:carRentalOnPropertyException ""
:freeAirportShuttle false
:freeAirportShuttleException ""
:freePrivateCarService false
:freePrivateCarServiceException ""
:localShuttle false
:localShuttleException ""
:privateCarService false
:privateCarServiceException ""
:transfer false
:transferException ""}
:wellness {:doctorOnCall false
:doctorOnCallException ""
:ellipticalMachine false
:ellipticalMachineException ""
:fitnessCenter false
:fitnessCenterException ""
:freeFitnessCenter false
:freeFitnessCenterException ""
:freeWeights false
:freeWeightsException ""
:massage false
:massageException ""
:salon false
:salonException ""
:sauna false
:saunaException ""
:spa false
:spaException ""
:treadmill false
:treadmillException ""
:weightMachine false
:weightMachineException ""}}})
require "http/client"
url = "{{baseUrl}}/v1/:name"
headers = HTTP::Headers{
"content-type" => "application/json"
}
reqBody = "{\n \"accessibility\": {\n \"mobilityAccessible\": false,\n \"mobilityAccessibleElevator\": false,\n \"mobilityAccessibleElevatorException\": \"\",\n \"mobilityAccessibleException\": \"\",\n \"mobilityAccessibleParking\": false,\n \"mobilityAccessibleParkingException\": \"\",\n \"mobilityAccessiblePool\": false,\n \"mobilityAccessiblePoolException\": \"\"\n },\n \"activities\": {\n \"beachAccess\": false,\n \"beachAccessException\": \"\",\n \"beachFront\": false,\n \"beachFrontException\": \"\",\n \"bicycleRental\": false,\n \"bicycleRentalException\": \"\",\n \"boutiqueStores\": false,\n \"boutiqueStoresException\": \"\",\n \"casino\": false,\n \"casinoException\": \"\",\n \"freeBicycleRental\": false,\n \"freeBicycleRentalException\": \"\",\n \"freeWatercraftRental\": false,\n \"freeWatercraftRentalException\": \"\",\n \"gameRoom\": false,\n \"gameRoomException\": \"\",\n \"golf\": false,\n \"golfException\": \"\",\n \"horsebackRiding\": false,\n \"horsebackRidingException\": \"\",\n \"nightclub\": false,\n \"nightclubException\": \"\",\n \"privateBeach\": false,\n \"privateBeachException\": \"\",\n \"scuba\": false,\n \"scubaException\": \"\",\n \"snorkeling\": false,\n \"snorkelingException\": \"\",\n \"tennis\": false,\n \"tennisException\": \"\",\n \"waterSkiing\": false,\n \"waterSkiingException\": \"\",\n \"watercraftRental\": false,\n \"watercraftRentalException\": \"\"\n },\n \"allUnits\": {\n \"bungalowOrVilla\": false,\n \"bungalowOrVillaException\": \"\",\n \"connectingUnitAvailable\": false,\n \"connectingUnitAvailableException\": \"\",\n \"executiveFloor\": false,\n \"executiveFloorException\": \"\",\n \"maxAdultOccupantsCount\": 0,\n \"maxAdultOccupantsCountException\": \"\",\n \"maxChildOccupantsCount\": 0,\n \"maxChildOccupantsCountException\": \"\",\n \"maxOccupantsCount\": 0,\n \"maxOccupantsCountException\": \"\",\n \"privateHome\": false,\n \"privateHomeException\": \"\",\n \"suite\": false,\n \"suiteException\": \"\",\n \"tier\": \"\",\n \"tierException\": \"\",\n \"totalLivingAreas\": {\n \"accessibility\": {\n \"adaCompliantUnit\": false,\n \"adaCompliantUnitException\": \"\",\n \"hearingAccessibleDoorbell\": false,\n \"hearingAccessibleDoorbellException\": \"\",\n \"hearingAccessibleFireAlarm\": false,\n \"hearingAccessibleFireAlarmException\": \"\",\n \"hearingAccessibleUnit\": false,\n \"hearingAccessibleUnitException\": \"\",\n \"mobilityAccessibleBathtub\": false,\n \"mobilityAccessibleBathtubException\": \"\",\n \"mobilityAccessibleShower\": false,\n \"mobilityAccessibleShowerException\": \"\",\n \"mobilityAccessibleToilet\": false,\n \"mobilityAccessibleToiletException\": \"\",\n \"mobilityAccessibleUnit\": false,\n \"mobilityAccessibleUnitException\": \"\"\n },\n \"eating\": {\n \"coffeeMaker\": false,\n \"coffeeMakerException\": \"\",\n \"cookware\": false,\n \"cookwareException\": \"\",\n \"dishwasher\": false,\n \"dishwasherException\": \"\",\n \"indoorGrill\": false,\n \"indoorGrillException\": \"\",\n \"kettle\": false,\n \"kettleException\": \"\",\n \"kitchenAvailable\": false,\n \"kitchenAvailableException\": \"\",\n \"microwave\": false,\n \"microwaveException\": \"\",\n \"minibar\": false,\n \"minibarException\": \"\",\n \"outdoorGrill\": false,\n \"outdoorGrillException\": \"\",\n \"oven\": false,\n \"ovenException\": \"\",\n \"refrigerator\": false,\n \"refrigeratorException\": \"\",\n \"sink\": false,\n \"sinkException\": \"\",\n \"snackbar\": false,\n \"snackbarException\": \"\",\n \"stove\": false,\n \"stoveException\": \"\",\n \"teaStation\": false,\n \"teaStationException\": \"\",\n \"toaster\": false,\n \"toasterException\": \"\"\n },\n \"features\": {\n \"airConditioning\": false,\n \"airConditioningException\": \"\",\n \"bathtub\": false,\n \"bathtubException\": \"\",\n \"bidet\": false,\n \"bidetException\": \"\",\n \"dryer\": false,\n \"dryerException\": \"\",\n \"electronicRoomKey\": false,\n \"electronicRoomKeyException\": \"\",\n \"fireplace\": false,\n \"fireplaceException\": \"\",\n \"hairdryer\": false,\n \"hairdryerException\": \"\",\n \"heating\": false,\n \"heatingException\": \"\",\n \"inunitSafe\": false,\n \"inunitSafeException\": \"\",\n \"inunitWifiAvailable\": false,\n \"inunitWifiAvailableException\": \"\",\n \"ironingEquipment\": false,\n \"ironingEquipmentException\": \"\",\n \"payPerViewMovies\": false,\n \"payPerViewMoviesException\": \"\",\n \"privateBathroom\": false,\n \"privateBathroomException\": \"\",\n \"shower\": false,\n \"showerException\": \"\",\n \"toilet\": false,\n \"toiletException\": \"\",\n \"tv\": false,\n \"tvCasting\": false,\n \"tvCastingException\": \"\",\n \"tvException\": \"\",\n \"tvStreaming\": false,\n \"tvStreamingException\": \"\",\n \"universalPowerAdapters\": false,\n \"universalPowerAdaptersException\": \"\",\n \"washer\": false,\n \"washerException\": \"\"\n },\n \"layout\": {\n \"balcony\": false,\n \"balconyException\": \"\",\n \"livingAreaSqMeters\": \"\",\n \"livingAreaSqMetersException\": \"\",\n \"loft\": false,\n \"loftException\": \"\",\n \"nonSmoking\": false,\n \"nonSmokingException\": \"\",\n \"patio\": false,\n \"patioException\": \"\",\n \"stairs\": false,\n \"stairsException\": \"\"\n },\n \"sleeping\": {\n \"bedsCount\": 0,\n \"bedsCountException\": \"\",\n \"bunkBedsCount\": 0,\n \"bunkBedsCountException\": \"\",\n \"cribsCount\": 0,\n \"cribsCountException\": \"\",\n \"doubleBedsCount\": 0,\n \"doubleBedsCountException\": \"\",\n \"featherPillows\": false,\n \"featherPillowsException\": \"\",\n \"hypoallergenicBedding\": false,\n \"hypoallergenicBeddingException\": \"\",\n \"kingBedsCount\": 0,\n \"kingBedsCountException\": \"\",\n \"memoryFoamPillows\": false,\n \"memoryFoamPillowsException\": \"\",\n \"otherBedsCount\": 0,\n \"otherBedsCountException\": \"\",\n \"queenBedsCount\": 0,\n \"queenBedsCountException\": \"\",\n \"rollAwayBedsCount\": 0,\n \"rollAwayBedsCountException\": \"\",\n \"singleOrTwinBedsCount\": 0,\n \"singleOrTwinBedsCountException\": \"\",\n \"sofaBedsCount\": 0,\n \"sofaBedsCountException\": \"\",\n \"syntheticPillows\": false,\n \"syntheticPillowsException\": \"\"\n }\n },\n \"views\": {\n \"beachView\": false,\n \"beachViewException\": \"\",\n \"cityView\": false,\n \"cityViewException\": \"\",\n \"gardenView\": false,\n \"gardenViewException\": \"\",\n \"lakeView\": false,\n \"lakeViewException\": \"\",\n \"landmarkView\": false,\n \"landmarkViewException\": \"\",\n \"oceanView\": false,\n \"oceanViewException\": \"\",\n \"poolView\": false,\n \"poolViewException\": \"\",\n \"valleyView\": false,\n \"valleyViewException\": \"\"\n }\n },\n \"business\": {\n \"businessCenter\": false,\n \"businessCenterException\": \"\",\n \"meetingRooms\": false,\n \"meetingRoomsCount\": 0,\n \"meetingRoomsCountException\": \"\",\n \"meetingRoomsException\": \"\"\n },\n \"commonLivingArea\": {},\n \"connectivity\": {\n \"freeWifi\": false,\n \"freeWifiException\": \"\",\n \"publicAreaWifiAvailable\": false,\n \"publicAreaWifiAvailableException\": \"\",\n \"publicInternetTerminal\": false,\n \"publicInternetTerminalException\": \"\",\n \"wifiAvailable\": false,\n \"wifiAvailableException\": \"\"\n },\n \"families\": {\n \"babysitting\": false,\n \"babysittingException\": \"\",\n \"kidsActivities\": false,\n \"kidsActivitiesException\": \"\",\n \"kidsClub\": false,\n \"kidsClubException\": \"\",\n \"kidsFriendly\": false,\n \"kidsFriendlyException\": \"\"\n },\n \"foodAndDrink\": {\n \"bar\": false,\n \"barException\": \"\",\n \"breakfastAvailable\": false,\n \"breakfastAvailableException\": \"\",\n \"breakfastBuffet\": false,\n \"breakfastBuffetException\": \"\",\n \"buffet\": false,\n \"buffetException\": \"\",\n \"dinnerBuffet\": false,\n \"dinnerBuffetException\": \"\",\n \"freeBreakfast\": false,\n \"freeBreakfastException\": \"\",\n \"restaurant\": false,\n \"restaurantException\": \"\",\n \"restaurantsCount\": 0,\n \"restaurantsCountException\": \"\",\n \"roomService\": false,\n \"roomServiceException\": \"\",\n \"tableService\": false,\n \"tableServiceException\": \"\",\n \"twentyFourHourRoomService\": false,\n \"twentyFourHourRoomServiceException\": \"\",\n \"vendingMachine\": false,\n \"vendingMachineException\": \"\"\n },\n \"guestUnits\": [\n {\n \"codes\": [],\n \"features\": {},\n \"label\": \"\"\n }\n ],\n \"healthAndSafety\": {\n \"enhancedCleaning\": {\n \"commercialGradeDisinfectantCleaning\": false,\n \"commercialGradeDisinfectantCleaningException\": \"\",\n \"commonAreasEnhancedCleaning\": false,\n \"commonAreasEnhancedCleaningException\": \"\",\n \"employeesTrainedCleaningProcedures\": false,\n \"employeesTrainedCleaningProceduresException\": \"\",\n \"employeesTrainedThoroughHandWashing\": false,\n \"employeesTrainedThoroughHandWashingException\": \"\",\n \"employeesWearProtectiveEquipment\": false,\n \"employeesWearProtectiveEquipmentException\": \"\",\n \"guestRoomsEnhancedCleaning\": false,\n \"guestRoomsEnhancedCleaningException\": \"\"\n },\n \"increasedFoodSafety\": {\n \"diningAreasAdditionalSanitation\": false,\n \"diningAreasAdditionalSanitationException\": \"\",\n \"disposableFlatware\": false,\n \"disposableFlatwareException\": \"\",\n \"foodPreparationAndServingAdditionalSafety\": false,\n \"foodPreparationAndServingAdditionalSafetyException\": \"\",\n \"individualPackagedMeals\": false,\n \"individualPackagedMealsException\": \"\",\n \"singleUseFoodMenus\": false,\n \"singleUseFoodMenusException\": \"\"\n },\n \"minimizedContact\": {\n \"contactlessCheckinCheckout\": false,\n \"contactlessCheckinCheckoutException\": \"\",\n \"digitalGuestRoomKeys\": false,\n \"digitalGuestRoomKeysException\": \"\",\n \"housekeepingScheduledRequestOnly\": false,\n \"housekeepingScheduledRequestOnlyException\": \"\",\n \"noHighTouchItemsCommonAreas\": false,\n \"noHighTouchItemsCommonAreasException\": \"\",\n \"noHighTouchItemsGuestRooms\": false,\n \"noHighTouchItemsGuestRoomsException\": \"\",\n \"plasticKeycardsDisinfected\": false,\n \"plasticKeycardsDisinfectedException\": \"\",\n \"roomBookingsBuffer\": false,\n \"roomBookingsBufferException\": \"\"\n },\n \"personalProtection\": {\n \"commonAreasOfferSanitizingItems\": false,\n \"commonAreasOfferSanitizingItemsException\": \"\",\n \"faceMaskRequired\": false,\n \"faceMaskRequiredException\": \"\",\n \"guestRoomHygieneKitsAvailable\": false,\n \"guestRoomHygieneKitsAvailableException\": \"\",\n \"protectiveEquipmentAvailable\": false,\n \"protectiveEquipmentAvailableException\": \"\"\n },\n \"physicalDistancing\": {\n \"commonAreasPhysicalDistancingArranged\": false,\n \"commonAreasPhysicalDistancingArrangedException\": \"\",\n \"physicalDistancingRequired\": false,\n \"physicalDistancingRequiredException\": \"\",\n \"safetyDividers\": false,\n \"safetyDividersException\": \"\",\n \"sharedAreasLimitedOccupancy\": false,\n \"sharedAreasLimitedOccupancyException\": \"\",\n \"wellnessAreasHavePrivateSpaces\": false,\n \"wellnessAreasHavePrivateSpacesException\": \"\"\n }\n },\n \"housekeeping\": {\n \"dailyHousekeeping\": false,\n \"dailyHousekeepingException\": \"\",\n \"housekeepingAvailable\": false,\n \"housekeepingAvailableException\": \"\",\n \"turndownService\": false,\n \"turndownServiceException\": \"\"\n },\n \"metadata\": {\n \"updateTime\": \"\"\n },\n \"name\": \"\",\n \"parking\": {\n \"electricCarChargingStations\": false,\n \"electricCarChargingStationsException\": \"\",\n \"freeParking\": false,\n \"freeParkingException\": \"\",\n \"freeSelfParking\": false,\n \"freeSelfParkingException\": \"\",\n \"freeValetParking\": false,\n \"freeValetParkingException\": \"\",\n \"parkingAvailable\": false,\n \"parkingAvailableException\": \"\",\n \"selfParkingAvailable\": false,\n \"selfParkingAvailableException\": \"\",\n \"valetParkingAvailable\": false,\n \"valetParkingAvailableException\": \"\"\n },\n \"pets\": {\n \"catsAllowed\": false,\n \"catsAllowedException\": \"\",\n \"dogsAllowed\": false,\n \"dogsAllowedException\": \"\",\n \"petsAllowed\": false,\n \"petsAllowedException\": \"\",\n \"petsAllowedFree\": false,\n \"petsAllowedFreeException\": \"\"\n },\n \"policies\": {\n \"allInclusiveAvailable\": false,\n \"allInclusiveAvailableException\": \"\",\n \"allInclusiveOnly\": false,\n \"allInclusiveOnlyException\": \"\",\n \"checkinTime\": {\n \"hours\": 0,\n \"minutes\": 0,\n \"nanos\": 0,\n \"seconds\": 0\n },\n \"checkinTimeException\": \"\",\n \"checkoutTime\": {},\n \"checkoutTimeException\": \"\",\n \"kidsStayFree\": false,\n \"kidsStayFreeException\": \"\",\n \"maxChildAge\": 0,\n \"maxChildAgeException\": \"\",\n \"maxKidsStayFreeCount\": 0,\n \"maxKidsStayFreeCountException\": \"\",\n \"paymentOptions\": {\n \"cash\": false,\n \"cashException\": \"\",\n \"cheque\": false,\n \"chequeException\": \"\",\n \"creditCard\": false,\n \"creditCardException\": \"\",\n \"debitCard\": false,\n \"debitCardException\": \"\",\n \"mobileNfc\": false,\n \"mobileNfcException\": \"\"\n },\n \"smokeFreeProperty\": false,\n \"smokeFreePropertyException\": \"\"\n },\n \"pools\": {\n \"adultPool\": false,\n \"adultPoolException\": \"\",\n \"hotTub\": false,\n \"hotTubException\": \"\",\n \"indoorPool\": false,\n \"indoorPoolException\": \"\",\n \"indoorPoolsCount\": 0,\n \"indoorPoolsCountException\": \"\",\n \"lazyRiver\": false,\n \"lazyRiverException\": \"\",\n \"lifeguard\": false,\n \"lifeguardException\": \"\",\n \"outdoorPool\": false,\n \"outdoorPoolException\": \"\",\n \"outdoorPoolsCount\": 0,\n \"outdoorPoolsCountException\": \"\",\n \"pool\": false,\n \"poolException\": \"\",\n \"poolsCount\": 0,\n \"poolsCountException\": \"\",\n \"wadingPool\": false,\n \"wadingPoolException\": \"\",\n \"waterPark\": false,\n \"waterParkException\": \"\",\n \"waterslide\": false,\n \"waterslideException\": \"\",\n \"wavePool\": false,\n \"wavePoolException\": \"\"\n },\n \"property\": {\n \"builtYear\": 0,\n \"builtYearException\": \"\",\n \"floorsCount\": 0,\n \"floorsCountException\": \"\",\n \"lastRenovatedYear\": 0,\n \"lastRenovatedYearException\": \"\",\n \"roomsCount\": 0,\n \"roomsCountException\": \"\"\n },\n \"services\": {\n \"baggageStorage\": false,\n \"baggageStorageException\": \"\",\n \"concierge\": false,\n \"conciergeException\": \"\",\n \"convenienceStore\": false,\n \"convenienceStoreException\": \"\",\n \"currencyExchange\": false,\n \"currencyExchangeException\": \"\",\n \"elevator\": false,\n \"elevatorException\": \"\",\n \"frontDesk\": false,\n \"frontDeskException\": \"\",\n \"fullServiceLaundry\": false,\n \"fullServiceLaundryException\": \"\",\n \"giftShop\": false,\n \"giftShopException\": \"\",\n \"languagesSpoken\": [\n {\n \"languageCode\": \"\",\n \"spoken\": false,\n \"spokenException\": \"\"\n }\n ],\n \"selfServiceLaundry\": false,\n \"selfServiceLaundryException\": \"\",\n \"socialHour\": false,\n \"socialHourException\": \"\",\n \"twentyFourHourFrontDesk\": false,\n \"twentyFourHourFrontDeskException\": \"\",\n \"wakeUpCalls\": false,\n \"wakeUpCallsException\": \"\"\n },\n \"someUnits\": {},\n \"sustainability\": {\n \"energyEfficiency\": {\n \"carbonFreeEnergySources\": false,\n \"carbonFreeEnergySourcesException\": \"\",\n \"energyConservationProgram\": false,\n \"energyConservationProgramException\": \"\",\n \"energyEfficientHeatingAndCoolingSystems\": false,\n \"energyEfficientHeatingAndCoolingSystemsException\": \"\",\n \"energyEfficientLighting\": false,\n \"energyEfficientLightingException\": \"\",\n \"energySavingThermostats\": false,\n \"energySavingThermostatsException\": \"\",\n \"greenBuildingDesign\": false,\n \"greenBuildingDesignException\": \"\",\n \"independentOrganizationAuditsEnergyUse\": false,\n \"independentOrganizationAuditsEnergyUseException\": \"\"\n },\n \"sustainabilityCertifications\": {\n \"breeamCertification\": \"\",\n \"breeamCertificationException\": \"\",\n \"ecoCertifications\": [\n {\n \"awarded\": false,\n \"awardedException\": \"\",\n \"ecoCertificate\": \"\"\n }\n ],\n \"leedCertification\": \"\",\n \"leedCertificationException\": \"\"\n },\n \"sustainableSourcing\": {\n \"ecoFriendlyToiletries\": false,\n \"ecoFriendlyToiletriesException\": \"\",\n \"locallySourcedFoodAndBeverages\": false,\n \"locallySourcedFoodAndBeveragesException\": \"\",\n \"organicCageFreeEggs\": false,\n \"organicCageFreeEggsException\": \"\",\n \"organicFoodAndBeverages\": false,\n \"organicFoodAndBeveragesException\": \"\",\n \"responsiblePurchasingPolicy\": false,\n \"responsiblePurchasingPolicyException\": \"\",\n \"responsiblySourcesSeafood\": false,\n \"responsiblySourcesSeafoodException\": \"\",\n \"veganMeals\": false,\n \"veganMealsException\": \"\",\n \"vegetarianMeals\": false,\n \"vegetarianMealsException\": \"\"\n },\n \"wasteReduction\": {\n \"compostableFoodContainersAndCutlery\": false,\n \"compostableFoodContainersAndCutleryException\": \"\",\n \"compostsExcessFood\": false,\n \"compostsExcessFoodException\": \"\",\n \"donatesExcessFood\": false,\n \"donatesExcessFoodException\": \"\",\n \"foodWasteReductionProgram\": false,\n \"foodWasteReductionProgramException\": \"\",\n \"noSingleUsePlasticStraws\": false,\n \"noSingleUsePlasticStrawsException\": \"\",\n \"noSingleUsePlasticWaterBottles\": false,\n \"noSingleUsePlasticWaterBottlesException\": \"\",\n \"noStyrofoamFoodContainers\": false,\n \"noStyrofoamFoodContainersException\": \"\",\n \"recyclingProgram\": false,\n \"recyclingProgramException\": \"\",\n \"refillableToiletryContainers\": false,\n \"refillableToiletryContainersException\": \"\",\n \"safelyDisposesBatteries\": false,\n \"safelyDisposesBatteriesException\": \"\",\n \"safelyDisposesElectronics\": false,\n \"safelyDisposesElectronicsException\": \"\",\n \"safelyDisposesLightbulbs\": false,\n \"safelyDisposesLightbulbsException\": \"\",\n \"safelyHandlesHazardousSubstances\": false,\n \"safelyHandlesHazardousSubstancesException\": \"\",\n \"soapDonationProgram\": false,\n \"soapDonationProgramException\": \"\",\n \"toiletryDonationProgram\": false,\n \"toiletryDonationProgramException\": \"\",\n \"waterBottleFillingStations\": false,\n \"waterBottleFillingStationsException\": \"\"\n },\n \"waterConservation\": {\n \"independentOrganizationAuditsWaterUse\": false,\n \"independentOrganizationAuditsWaterUseException\": \"\",\n \"linenReuseProgram\": false,\n \"linenReuseProgramException\": \"\",\n \"towelReuseProgram\": false,\n \"towelReuseProgramException\": \"\",\n \"waterSavingShowers\": false,\n \"waterSavingShowersException\": \"\",\n \"waterSavingSinks\": false,\n \"waterSavingSinksException\": \"\",\n \"waterSavingToilets\": false,\n \"waterSavingToiletsException\": \"\"\n }\n },\n \"transportation\": {\n \"airportShuttle\": false,\n \"airportShuttleException\": \"\",\n \"carRentalOnProperty\": false,\n \"carRentalOnPropertyException\": \"\",\n \"freeAirportShuttle\": false,\n \"freeAirportShuttleException\": \"\",\n \"freePrivateCarService\": false,\n \"freePrivateCarServiceException\": \"\",\n \"localShuttle\": false,\n \"localShuttleException\": \"\",\n \"privateCarService\": false,\n \"privateCarServiceException\": \"\",\n \"transfer\": false,\n \"transferException\": \"\"\n },\n \"wellness\": {\n \"doctorOnCall\": false,\n \"doctorOnCallException\": \"\",\n \"ellipticalMachine\": false,\n \"ellipticalMachineException\": \"\",\n \"fitnessCenter\": false,\n \"fitnessCenterException\": \"\",\n \"freeFitnessCenter\": false,\n \"freeFitnessCenterException\": \"\",\n \"freeWeights\": false,\n \"freeWeightsException\": \"\",\n \"massage\": false,\n \"massageException\": \"\",\n \"salon\": false,\n \"salonException\": \"\",\n \"sauna\": false,\n \"saunaException\": \"\",\n \"spa\": false,\n \"spaException\": \"\",\n \"treadmill\": false,\n \"treadmillException\": \"\",\n \"weightMachine\": false,\n \"weightMachineException\": \"\"\n }\n}"
response = HTTP::Client.patch url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Patch,
RequestUri = new Uri("{{baseUrl}}/v1/:name"),
Content = new StringContent("{\n \"accessibility\": {\n \"mobilityAccessible\": false,\n \"mobilityAccessibleElevator\": false,\n \"mobilityAccessibleElevatorException\": \"\",\n \"mobilityAccessibleException\": \"\",\n \"mobilityAccessibleParking\": false,\n \"mobilityAccessibleParkingException\": \"\",\n \"mobilityAccessiblePool\": false,\n \"mobilityAccessiblePoolException\": \"\"\n },\n \"activities\": {\n \"beachAccess\": false,\n \"beachAccessException\": \"\",\n \"beachFront\": false,\n \"beachFrontException\": \"\",\n \"bicycleRental\": false,\n \"bicycleRentalException\": \"\",\n \"boutiqueStores\": false,\n \"boutiqueStoresException\": \"\",\n \"casino\": false,\n \"casinoException\": \"\",\n \"freeBicycleRental\": false,\n \"freeBicycleRentalException\": \"\",\n \"freeWatercraftRental\": false,\n \"freeWatercraftRentalException\": \"\",\n \"gameRoom\": false,\n \"gameRoomException\": \"\",\n \"golf\": false,\n \"golfException\": \"\",\n \"horsebackRiding\": false,\n \"horsebackRidingException\": \"\",\n \"nightclub\": false,\n \"nightclubException\": \"\",\n \"privateBeach\": false,\n \"privateBeachException\": \"\",\n \"scuba\": false,\n \"scubaException\": \"\",\n \"snorkeling\": false,\n \"snorkelingException\": \"\",\n \"tennis\": false,\n \"tennisException\": \"\",\n \"waterSkiing\": false,\n \"waterSkiingException\": \"\",\n \"watercraftRental\": false,\n \"watercraftRentalException\": \"\"\n },\n \"allUnits\": {\n \"bungalowOrVilla\": false,\n \"bungalowOrVillaException\": \"\",\n \"connectingUnitAvailable\": false,\n \"connectingUnitAvailableException\": \"\",\n \"executiveFloor\": false,\n \"executiveFloorException\": \"\",\n \"maxAdultOccupantsCount\": 0,\n \"maxAdultOccupantsCountException\": \"\",\n \"maxChildOccupantsCount\": 0,\n \"maxChildOccupantsCountException\": \"\",\n \"maxOccupantsCount\": 0,\n \"maxOccupantsCountException\": \"\",\n \"privateHome\": false,\n \"privateHomeException\": \"\",\n \"suite\": false,\n \"suiteException\": \"\",\n \"tier\": \"\",\n \"tierException\": \"\",\n \"totalLivingAreas\": {\n \"accessibility\": {\n \"adaCompliantUnit\": false,\n \"adaCompliantUnitException\": \"\",\n \"hearingAccessibleDoorbell\": false,\n \"hearingAccessibleDoorbellException\": \"\",\n \"hearingAccessibleFireAlarm\": false,\n \"hearingAccessibleFireAlarmException\": \"\",\n \"hearingAccessibleUnit\": false,\n \"hearingAccessibleUnitException\": \"\",\n \"mobilityAccessibleBathtub\": false,\n \"mobilityAccessibleBathtubException\": \"\",\n \"mobilityAccessibleShower\": false,\n \"mobilityAccessibleShowerException\": \"\",\n \"mobilityAccessibleToilet\": false,\n \"mobilityAccessibleToiletException\": \"\",\n \"mobilityAccessibleUnit\": false,\n \"mobilityAccessibleUnitException\": \"\"\n },\n \"eating\": {\n \"coffeeMaker\": false,\n \"coffeeMakerException\": \"\",\n \"cookware\": false,\n \"cookwareException\": \"\",\n \"dishwasher\": false,\n \"dishwasherException\": \"\",\n \"indoorGrill\": false,\n \"indoorGrillException\": \"\",\n \"kettle\": false,\n \"kettleException\": \"\",\n \"kitchenAvailable\": false,\n \"kitchenAvailableException\": \"\",\n \"microwave\": false,\n \"microwaveException\": \"\",\n \"minibar\": false,\n \"minibarException\": \"\",\n \"outdoorGrill\": false,\n \"outdoorGrillException\": \"\",\n \"oven\": false,\n \"ovenException\": \"\",\n \"refrigerator\": false,\n \"refrigeratorException\": \"\",\n \"sink\": false,\n \"sinkException\": \"\",\n \"snackbar\": false,\n \"snackbarException\": \"\",\n \"stove\": false,\n \"stoveException\": \"\",\n \"teaStation\": false,\n \"teaStationException\": \"\",\n \"toaster\": false,\n \"toasterException\": \"\"\n },\n \"features\": {\n \"airConditioning\": false,\n \"airConditioningException\": \"\",\n \"bathtub\": false,\n \"bathtubException\": \"\",\n \"bidet\": false,\n \"bidetException\": \"\",\n \"dryer\": false,\n \"dryerException\": \"\",\n \"electronicRoomKey\": false,\n \"electronicRoomKeyException\": \"\",\n \"fireplace\": false,\n \"fireplaceException\": \"\",\n \"hairdryer\": false,\n \"hairdryerException\": \"\",\n \"heating\": false,\n \"heatingException\": \"\",\n \"inunitSafe\": false,\n \"inunitSafeException\": \"\",\n \"inunitWifiAvailable\": false,\n \"inunitWifiAvailableException\": \"\",\n \"ironingEquipment\": false,\n \"ironingEquipmentException\": \"\",\n \"payPerViewMovies\": false,\n \"payPerViewMoviesException\": \"\",\n \"privateBathroom\": false,\n \"privateBathroomException\": \"\",\n \"shower\": false,\n \"showerException\": \"\",\n \"toilet\": false,\n \"toiletException\": \"\",\n \"tv\": false,\n \"tvCasting\": false,\n \"tvCastingException\": \"\",\n \"tvException\": \"\",\n \"tvStreaming\": false,\n \"tvStreamingException\": \"\",\n \"universalPowerAdapters\": false,\n \"universalPowerAdaptersException\": \"\",\n \"washer\": false,\n \"washerException\": \"\"\n },\n \"layout\": {\n \"balcony\": false,\n \"balconyException\": \"\",\n \"livingAreaSqMeters\": \"\",\n \"livingAreaSqMetersException\": \"\",\n \"loft\": false,\n \"loftException\": \"\",\n \"nonSmoking\": false,\n \"nonSmokingException\": \"\",\n \"patio\": false,\n \"patioException\": \"\",\n \"stairs\": false,\n \"stairsException\": \"\"\n },\n \"sleeping\": {\n \"bedsCount\": 0,\n \"bedsCountException\": \"\",\n \"bunkBedsCount\": 0,\n \"bunkBedsCountException\": \"\",\n \"cribsCount\": 0,\n \"cribsCountException\": \"\",\n \"doubleBedsCount\": 0,\n \"doubleBedsCountException\": \"\",\n \"featherPillows\": false,\n \"featherPillowsException\": \"\",\n \"hypoallergenicBedding\": false,\n \"hypoallergenicBeddingException\": \"\",\n \"kingBedsCount\": 0,\n \"kingBedsCountException\": \"\",\n \"memoryFoamPillows\": false,\n \"memoryFoamPillowsException\": \"\",\n \"otherBedsCount\": 0,\n \"otherBedsCountException\": \"\",\n \"queenBedsCount\": 0,\n \"queenBedsCountException\": \"\",\n \"rollAwayBedsCount\": 0,\n \"rollAwayBedsCountException\": \"\",\n \"singleOrTwinBedsCount\": 0,\n \"singleOrTwinBedsCountException\": \"\",\n \"sofaBedsCount\": 0,\n \"sofaBedsCountException\": \"\",\n \"syntheticPillows\": false,\n \"syntheticPillowsException\": \"\"\n }\n },\n \"views\": {\n \"beachView\": false,\n \"beachViewException\": \"\",\n \"cityView\": false,\n \"cityViewException\": \"\",\n \"gardenView\": false,\n \"gardenViewException\": \"\",\n \"lakeView\": false,\n \"lakeViewException\": \"\",\n \"landmarkView\": false,\n \"landmarkViewException\": \"\",\n \"oceanView\": false,\n \"oceanViewException\": \"\",\n \"poolView\": false,\n \"poolViewException\": \"\",\n \"valleyView\": false,\n \"valleyViewException\": \"\"\n }\n },\n \"business\": {\n \"businessCenter\": false,\n \"businessCenterException\": \"\",\n \"meetingRooms\": false,\n \"meetingRoomsCount\": 0,\n \"meetingRoomsCountException\": \"\",\n \"meetingRoomsException\": \"\"\n },\n \"commonLivingArea\": {},\n \"connectivity\": {\n \"freeWifi\": false,\n \"freeWifiException\": \"\",\n \"publicAreaWifiAvailable\": false,\n \"publicAreaWifiAvailableException\": \"\",\n \"publicInternetTerminal\": false,\n \"publicInternetTerminalException\": \"\",\n \"wifiAvailable\": false,\n \"wifiAvailableException\": \"\"\n },\n \"families\": {\n \"babysitting\": false,\n \"babysittingException\": \"\",\n \"kidsActivities\": false,\n \"kidsActivitiesException\": \"\",\n \"kidsClub\": false,\n \"kidsClubException\": \"\",\n \"kidsFriendly\": false,\n \"kidsFriendlyException\": \"\"\n },\n \"foodAndDrink\": {\n \"bar\": false,\n \"barException\": \"\",\n \"breakfastAvailable\": false,\n \"breakfastAvailableException\": \"\",\n \"breakfastBuffet\": false,\n \"breakfastBuffetException\": \"\",\n \"buffet\": false,\n \"buffetException\": \"\",\n \"dinnerBuffet\": false,\n \"dinnerBuffetException\": \"\",\n \"freeBreakfast\": false,\n \"freeBreakfastException\": \"\",\n \"restaurant\": false,\n \"restaurantException\": \"\",\n \"restaurantsCount\": 0,\n \"restaurantsCountException\": \"\",\n \"roomService\": false,\n \"roomServiceException\": \"\",\n \"tableService\": false,\n \"tableServiceException\": \"\",\n \"twentyFourHourRoomService\": false,\n \"twentyFourHourRoomServiceException\": \"\",\n \"vendingMachine\": false,\n \"vendingMachineException\": \"\"\n },\n \"guestUnits\": [\n {\n \"codes\": [],\n \"features\": {},\n \"label\": \"\"\n }\n ],\n \"healthAndSafety\": {\n \"enhancedCleaning\": {\n \"commercialGradeDisinfectantCleaning\": false,\n \"commercialGradeDisinfectantCleaningException\": \"\",\n \"commonAreasEnhancedCleaning\": false,\n \"commonAreasEnhancedCleaningException\": \"\",\n \"employeesTrainedCleaningProcedures\": false,\n \"employeesTrainedCleaningProceduresException\": \"\",\n \"employeesTrainedThoroughHandWashing\": false,\n \"employeesTrainedThoroughHandWashingException\": \"\",\n \"employeesWearProtectiveEquipment\": false,\n \"employeesWearProtectiveEquipmentException\": \"\",\n \"guestRoomsEnhancedCleaning\": false,\n \"guestRoomsEnhancedCleaningException\": \"\"\n },\n \"increasedFoodSafety\": {\n \"diningAreasAdditionalSanitation\": false,\n \"diningAreasAdditionalSanitationException\": \"\",\n \"disposableFlatware\": false,\n \"disposableFlatwareException\": \"\",\n \"foodPreparationAndServingAdditionalSafety\": false,\n \"foodPreparationAndServingAdditionalSafetyException\": \"\",\n \"individualPackagedMeals\": false,\n \"individualPackagedMealsException\": \"\",\n \"singleUseFoodMenus\": false,\n \"singleUseFoodMenusException\": \"\"\n },\n \"minimizedContact\": {\n \"contactlessCheckinCheckout\": false,\n \"contactlessCheckinCheckoutException\": \"\",\n \"digitalGuestRoomKeys\": false,\n \"digitalGuestRoomKeysException\": \"\",\n \"housekeepingScheduledRequestOnly\": false,\n \"housekeepingScheduledRequestOnlyException\": \"\",\n \"noHighTouchItemsCommonAreas\": false,\n \"noHighTouchItemsCommonAreasException\": \"\",\n \"noHighTouchItemsGuestRooms\": false,\n \"noHighTouchItemsGuestRoomsException\": \"\",\n \"plasticKeycardsDisinfected\": false,\n \"plasticKeycardsDisinfectedException\": \"\",\n \"roomBookingsBuffer\": false,\n \"roomBookingsBufferException\": \"\"\n },\n \"personalProtection\": {\n \"commonAreasOfferSanitizingItems\": false,\n \"commonAreasOfferSanitizingItemsException\": \"\",\n \"faceMaskRequired\": false,\n \"faceMaskRequiredException\": \"\",\n \"guestRoomHygieneKitsAvailable\": false,\n \"guestRoomHygieneKitsAvailableException\": \"\",\n \"protectiveEquipmentAvailable\": false,\n \"protectiveEquipmentAvailableException\": \"\"\n },\n \"physicalDistancing\": {\n \"commonAreasPhysicalDistancingArranged\": false,\n \"commonAreasPhysicalDistancingArrangedException\": \"\",\n \"physicalDistancingRequired\": false,\n \"physicalDistancingRequiredException\": \"\",\n \"safetyDividers\": false,\n \"safetyDividersException\": \"\",\n \"sharedAreasLimitedOccupancy\": false,\n \"sharedAreasLimitedOccupancyException\": \"\",\n \"wellnessAreasHavePrivateSpaces\": false,\n \"wellnessAreasHavePrivateSpacesException\": \"\"\n }\n },\n \"housekeeping\": {\n \"dailyHousekeeping\": false,\n \"dailyHousekeepingException\": \"\",\n \"housekeepingAvailable\": false,\n \"housekeepingAvailableException\": \"\",\n \"turndownService\": false,\n \"turndownServiceException\": \"\"\n },\n \"metadata\": {\n \"updateTime\": \"\"\n },\n \"name\": \"\",\n \"parking\": {\n \"electricCarChargingStations\": false,\n \"electricCarChargingStationsException\": \"\",\n \"freeParking\": false,\n \"freeParkingException\": \"\",\n \"freeSelfParking\": false,\n \"freeSelfParkingException\": \"\",\n \"freeValetParking\": false,\n \"freeValetParkingException\": \"\",\n \"parkingAvailable\": false,\n \"parkingAvailableException\": \"\",\n \"selfParkingAvailable\": false,\n \"selfParkingAvailableException\": \"\",\n \"valetParkingAvailable\": false,\n \"valetParkingAvailableException\": \"\"\n },\n \"pets\": {\n \"catsAllowed\": false,\n \"catsAllowedException\": \"\",\n \"dogsAllowed\": false,\n \"dogsAllowedException\": \"\",\n \"petsAllowed\": false,\n \"petsAllowedException\": \"\",\n \"petsAllowedFree\": false,\n \"petsAllowedFreeException\": \"\"\n },\n \"policies\": {\n \"allInclusiveAvailable\": false,\n \"allInclusiveAvailableException\": \"\",\n \"allInclusiveOnly\": false,\n \"allInclusiveOnlyException\": \"\",\n \"checkinTime\": {\n \"hours\": 0,\n \"minutes\": 0,\n \"nanos\": 0,\n \"seconds\": 0\n },\n \"checkinTimeException\": \"\",\n \"checkoutTime\": {},\n \"checkoutTimeException\": \"\",\n \"kidsStayFree\": false,\n \"kidsStayFreeException\": \"\",\n \"maxChildAge\": 0,\n \"maxChildAgeException\": \"\",\n \"maxKidsStayFreeCount\": 0,\n \"maxKidsStayFreeCountException\": \"\",\n \"paymentOptions\": {\n \"cash\": false,\n \"cashException\": \"\",\n \"cheque\": false,\n \"chequeException\": \"\",\n \"creditCard\": false,\n \"creditCardException\": \"\",\n \"debitCard\": false,\n \"debitCardException\": \"\",\n \"mobileNfc\": false,\n \"mobileNfcException\": \"\"\n },\n \"smokeFreeProperty\": false,\n \"smokeFreePropertyException\": \"\"\n },\n \"pools\": {\n \"adultPool\": false,\n \"adultPoolException\": \"\",\n \"hotTub\": false,\n \"hotTubException\": \"\",\n \"indoorPool\": false,\n \"indoorPoolException\": \"\",\n \"indoorPoolsCount\": 0,\n \"indoorPoolsCountException\": \"\",\n \"lazyRiver\": false,\n \"lazyRiverException\": \"\",\n \"lifeguard\": false,\n \"lifeguardException\": \"\",\n \"outdoorPool\": false,\n \"outdoorPoolException\": \"\",\n \"outdoorPoolsCount\": 0,\n \"outdoorPoolsCountException\": \"\",\n \"pool\": false,\n \"poolException\": \"\",\n \"poolsCount\": 0,\n \"poolsCountException\": \"\",\n \"wadingPool\": false,\n \"wadingPoolException\": \"\",\n \"waterPark\": false,\n \"waterParkException\": \"\",\n \"waterslide\": false,\n \"waterslideException\": \"\",\n \"wavePool\": false,\n \"wavePoolException\": \"\"\n },\n \"property\": {\n \"builtYear\": 0,\n \"builtYearException\": \"\",\n \"floorsCount\": 0,\n \"floorsCountException\": \"\",\n \"lastRenovatedYear\": 0,\n \"lastRenovatedYearException\": \"\",\n \"roomsCount\": 0,\n \"roomsCountException\": \"\"\n },\n \"services\": {\n \"baggageStorage\": false,\n \"baggageStorageException\": \"\",\n \"concierge\": false,\n \"conciergeException\": \"\",\n \"convenienceStore\": false,\n \"convenienceStoreException\": \"\",\n \"currencyExchange\": false,\n \"currencyExchangeException\": \"\",\n \"elevator\": false,\n \"elevatorException\": \"\",\n \"frontDesk\": false,\n \"frontDeskException\": \"\",\n \"fullServiceLaundry\": false,\n \"fullServiceLaundryException\": \"\",\n \"giftShop\": false,\n \"giftShopException\": \"\",\n \"languagesSpoken\": [\n {\n \"languageCode\": \"\",\n \"spoken\": false,\n \"spokenException\": \"\"\n }\n ],\n \"selfServiceLaundry\": false,\n \"selfServiceLaundryException\": \"\",\n \"socialHour\": false,\n \"socialHourException\": \"\",\n \"twentyFourHourFrontDesk\": false,\n \"twentyFourHourFrontDeskException\": \"\",\n \"wakeUpCalls\": false,\n \"wakeUpCallsException\": \"\"\n },\n \"someUnits\": {},\n \"sustainability\": {\n \"energyEfficiency\": {\n \"carbonFreeEnergySources\": false,\n \"carbonFreeEnergySourcesException\": \"\",\n \"energyConservationProgram\": false,\n \"energyConservationProgramException\": \"\",\n \"energyEfficientHeatingAndCoolingSystems\": false,\n \"energyEfficientHeatingAndCoolingSystemsException\": \"\",\n \"energyEfficientLighting\": false,\n \"energyEfficientLightingException\": \"\",\n \"energySavingThermostats\": false,\n \"energySavingThermostatsException\": \"\",\n \"greenBuildingDesign\": false,\n \"greenBuildingDesignException\": \"\",\n \"independentOrganizationAuditsEnergyUse\": false,\n \"independentOrganizationAuditsEnergyUseException\": \"\"\n },\n \"sustainabilityCertifications\": {\n \"breeamCertification\": \"\",\n \"breeamCertificationException\": \"\",\n \"ecoCertifications\": [\n {\n \"awarded\": false,\n \"awardedException\": \"\",\n \"ecoCertificate\": \"\"\n }\n ],\n \"leedCertification\": \"\",\n \"leedCertificationException\": \"\"\n },\n \"sustainableSourcing\": {\n \"ecoFriendlyToiletries\": false,\n \"ecoFriendlyToiletriesException\": \"\",\n \"locallySourcedFoodAndBeverages\": false,\n \"locallySourcedFoodAndBeveragesException\": \"\",\n \"organicCageFreeEggs\": false,\n \"organicCageFreeEggsException\": \"\",\n \"organicFoodAndBeverages\": false,\n \"organicFoodAndBeveragesException\": \"\",\n \"responsiblePurchasingPolicy\": false,\n \"responsiblePurchasingPolicyException\": \"\",\n \"responsiblySourcesSeafood\": false,\n \"responsiblySourcesSeafoodException\": \"\",\n \"veganMeals\": false,\n \"veganMealsException\": \"\",\n \"vegetarianMeals\": false,\n \"vegetarianMealsException\": \"\"\n },\n \"wasteReduction\": {\n \"compostableFoodContainersAndCutlery\": false,\n \"compostableFoodContainersAndCutleryException\": \"\",\n \"compostsExcessFood\": false,\n \"compostsExcessFoodException\": \"\",\n \"donatesExcessFood\": false,\n \"donatesExcessFoodException\": \"\",\n \"foodWasteReductionProgram\": false,\n \"foodWasteReductionProgramException\": \"\",\n \"noSingleUsePlasticStraws\": false,\n \"noSingleUsePlasticStrawsException\": \"\",\n \"noSingleUsePlasticWaterBottles\": false,\n \"noSingleUsePlasticWaterBottlesException\": \"\",\n \"noStyrofoamFoodContainers\": false,\n \"noStyrofoamFoodContainersException\": \"\",\n \"recyclingProgram\": false,\n \"recyclingProgramException\": \"\",\n \"refillableToiletryContainers\": false,\n \"refillableToiletryContainersException\": \"\",\n \"safelyDisposesBatteries\": false,\n \"safelyDisposesBatteriesException\": \"\",\n \"safelyDisposesElectronics\": false,\n \"safelyDisposesElectronicsException\": \"\",\n \"safelyDisposesLightbulbs\": false,\n \"safelyDisposesLightbulbsException\": \"\",\n \"safelyHandlesHazardousSubstances\": false,\n \"safelyHandlesHazardousSubstancesException\": \"\",\n \"soapDonationProgram\": false,\n \"soapDonationProgramException\": \"\",\n \"toiletryDonationProgram\": false,\n \"toiletryDonationProgramException\": \"\",\n \"waterBottleFillingStations\": false,\n \"waterBottleFillingStationsException\": \"\"\n },\n \"waterConservation\": {\n \"independentOrganizationAuditsWaterUse\": false,\n \"independentOrganizationAuditsWaterUseException\": \"\",\n \"linenReuseProgram\": false,\n \"linenReuseProgramException\": \"\",\n \"towelReuseProgram\": false,\n \"towelReuseProgramException\": \"\",\n \"waterSavingShowers\": false,\n \"waterSavingShowersException\": \"\",\n \"waterSavingSinks\": false,\n \"waterSavingSinksException\": \"\",\n \"waterSavingToilets\": false,\n \"waterSavingToiletsException\": \"\"\n }\n },\n \"transportation\": {\n \"airportShuttle\": false,\n \"airportShuttleException\": \"\",\n \"carRentalOnProperty\": false,\n \"carRentalOnPropertyException\": \"\",\n \"freeAirportShuttle\": false,\n \"freeAirportShuttleException\": \"\",\n \"freePrivateCarService\": false,\n \"freePrivateCarServiceException\": \"\",\n \"localShuttle\": false,\n \"localShuttleException\": \"\",\n \"privateCarService\": false,\n \"privateCarServiceException\": \"\",\n \"transfer\": false,\n \"transferException\": \"\"\n },\n \"wellness\": {\n \"doctorOnCall\": false,\n \"doctorOnCallException\": \"\",\n \"ellipticalMachine\": false,\n \"ellipticalMachineException\": \"\",\n \"fitnessCenter\": false,\n \"fitnessCenterException\": \"\",\n \"freeFitnessCenter\": false,\n \"freeFitnessCenterException\": \"\",\n \"freeWeights\": false,\n \"freeWeightsException\": \"\",\n \"massage\": false,\n \"massageException\": \"\",\n \"salon\": false,\n \"salonException\": \"\",\n \"sauna\": false,\n \"saunaException\": \"\",\n \"spa\": false,\n \"spaException\": \"\",\n \"treadmill\": false,\n \"treadmillException\": \"\",\n \"weightMachine\": false,\n \"weightMachineException\": \"\"\n }\n}")
{
Headers =
{
ContentType = new MediaTypeHeaderValue("application/json")
}
}
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/v1/:name");
var request = new RestRequest("", Method.Patch);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n \"accessibility\": {\n \"mobilityAccessible\": false,\n \"mobilityAccessibleElevator\": false,\n \"mobilityAccessibleElevatorException\": \"\",\n \"mobilityAccessibleException\": \"\",\n \"mobilityAccessibleParking\": false,\n \"mobilityAccessibleParkingException\": \"\",\n \"mobilityAccessiblePool\": false,\n \"mobilityAccessiblePoolException\": \"\"\n },\n \"activities\": {\n \"beachAccess\": false,\n \"beachAccessException\": \"\",\n \"beachFront\": false,\n \"beachFrontException\": \"\",\n \"bicycleRental\": false,\n \"bicycleRentalException\": \"\",\n \"boutiqueStores\": false,\n \"boutiqueStoresException\": \"\",\n \"casino\": false,\n \"casinoException\": \"\",\n \"freeBicycleRental\": false,\n \"freeBicycleRentalException\": \"\",\n \"freeWatercraftRental\": false,\n \"freeWatercraftRentalException\": \"\",\n \"gameRoom\": false,\n \"gameRoomException\": \"\",\n \"golf\": false,\n \"golfException\": \"\",\n \"horsebackRiding\": false,\n \"horsebackRidingException\": \"\",\n \"nightclub\": false,\n \"nightclubException\": \"\",\n \"privateBeach\": false,\n \"privateBeachException\": \"\",\n \"scuba\": false,\n \"scubaException\": \"\",\n \"snorkeling\": false,\n \"snorkelingException\": \"\",\n \"tennis\": false,\n \"tennisException\": \"\",\n \"waterSkiing\": false,\n \"waterSkiingException\": \"\",\n \"watercraftRental\": false,\n \"watercraftRentalException\": \"\"\n },\n \"allUnits\": {\n \"bungalowOrVilla\": false,\n \"bungalowOrVillaException\": \"\",\n \"connectingUnitAvailable\": false,\n \"connectingUnitAvailableException\": \"\",\n \"executiveFloor\": false,\n \"executiveFloorException\": \"\",\n \"maxAdultOccupantsCount\": 0,\n \"maxAdultOccupantsCountException\": \"\",\n \"maxChildOccupantsCount\": 0,\n \"maxChildOccupantsCountException\": \"\",\n \"maxOccupantsCount\": 0,\n \"maxOccupantsCountException\": \"\",\n \"privateHome\": false,\n \"privateHomeException\": \"\",\n \"suite\": false,\n \"suiteException\": \"\",\n \"tier\": \"\",\n \"tierException\": \"\",\n \"totalLivingAreas\": {\n \"accessibility\": {\n \"adaCompliantUnit\": false,\n \"adaCompliantUnitException\": \"\",\n \"hearingAccessibleDoorbell\": false,\n \"hearingAccessibleDoorbellException\": \"\",\n \"hearingAccessibleFireAlarm\": false,\n \"hearingAccessibleFireAlarmException\": \"\",\n \"hearingAccessibleUnit\": false,\n \"hearingAccessibleUnitException\": \"\",\n \"mobilityAccessibleBathtub\": false,\n \"mobilityAccessibleBathtubException\": \"\",\n \"mobilityAccessibleShower\": false,\n \"mobilityAccessibleShowerException\": \"\",\n \"mobilityAccessibleToilet\": false,\n \"mobilityAccessibleToiletException\": \"\",\n \"mobilityAccessibleUnit\": false,\n \"mobilityAccessibleUnitException\": \"\"\n },\n \"eating\": {\n \"coffeeMaker\": false,\n \"coffeeMakerException\": \"\",\n \"cookware\": false,\n \"cookwareException\": \"\",\n \"dishwasher\": false,\n \"dishwasherException\": \"\",\n \"indoorGrill\": false,\n \"indoorGrillException\": \"\",\n \"kettle\": false,\n \"kettleException\": \"\",\n \"kitchenAvailable\": false,\n \"kitchenAvailableException\": \"\",\n \"microwave\": false,\n \"microwaveException\": \"\",\n \"minibar\": false,\n \"minibarException\": \"\",\n \"outdoorGrill\": false,\n \"outdoorGrillException\": \"\",\n \"oven\": false,\n \"ovenException\": \"\",\n \"refrigerator\": false,\n \"refrigeratorException\": \"\",\n \"sink\": false,\n \"sinkException\": \"\",\n \"snackbar\": false,\n \"snackbarException\": \"\",\n \"stove\": false,\n \"stoveException\": \"\",\n \"teaStation\": false,\n \"teaStationException\": \"\",\n \"toaster\": false,\n \"toasterException\": \"\"\n },\n \"features\": {\n \"airConditioning\": false,\n \"airConditioningException\": \"\",\n \"bathtub\": false,\n \"bathtubException\": \"\",\n \"bidet\": false,\n \"bidetException\": \"\",\n \"dryer\": false,\n \"dryerException\": \"\",\n \"electronicRoomKey\": false,\n \"electronicRoomKeyException\": \"\",\n \"fireplace\": false,\n \"fireplaceException\": \"\",\n \"hairdryer\": false,\n \"hairdryerException\": \"\",\n \"heating\": false,\n \"heatingException\": \"\",\n \"inunitSafe\": false,\n \"inunitSafeException\": \"\",\n \"inunitWifiAvailable\": false,\n \"inunitWifiAvailableException\": \"\",\n \"ironingEquipment\": false,\n \"ironingEquipmentException\": \"\",\n \"payPerViewMovies\": false,\n \"payPerViewMoviesException\": \"\",\n \"privateBathroom\": false,\n \"privateBathroomException\": \"\",\n \"shower\": false,\n \"showerException\": \"\",\n \"toilet\": false,\n \"toiletException\": \"\",\n \"tv\": false,\n \"tvCasting\": false,\n \"tvCastingException\": \"\",\n \"tvException\": \"\",\n \"tvStreaming\": false,\n \"tvStreamingException\": \"\",\n \"universalPowerAdapters\": false,\n \"universalPowerAdaptersException\": \"\",\n \"washer\": false,\n \"washerException\": \"\"\n },\n \"layout\": {\n \"balcony\": false,\n \"balconyException\": \"\",\n \"livingAreaSqMeters\": \"\",\n \"livingAreaSqMetersException\": \"\",\n \"loft\": false,\n \"loftException\": \"\",\n \"nonSmoking\": false,\n \"nonSmokingException\": \"\",\n \"patio\": false,\n \"patioException\": \"\",\n \"stairs\": false,\n \"stairsException\": \"\"\n },\n \"sleeping\": {\n \"bedsCount\": 0,\n \"bedsCountException\": \"\",\n \"bunkBedsCount\": 0,\n \"bunkBedsCountException\": \"\",\n \"cribsCount\": 0,\n \"cribsCountException\": \"\",\n \"doubleBedsCount\": 0,\n \"doubleBedsCountException\": \"\",\n \"featherPillows\": false,\n \"featherPillowsException\": \"\",\n \"hypoallergenicBedding\": false,\n \"hypoallergenicBeddingException\": \"\",\n \"kingBedsCount\": 0,\n \"kingBedsCountException\": \"\",\n \"memoryFoamPillows\": false,\n \"memoryFoamPillowsException\": \"\",\n \"otherBedsCount\": 0,\n \"otherBedsCountException\": \"\",\n \"queenBedsCount\": 0,\n \"queenBedsCountException\": \"\",\n \"rollAwayBedsCount\": 0,\n \"rollAwayBedsCountException\": \"\",\n \"singleOrTwinBedsCount\": 0,\n \"singleOrTwinBedsCountException\": \"\",\n \"sofaBedsCount\": 0,\n \"sofaBedsCountException\": \"\",\n \"syntheticPillows\": false,\n \"syntheticPillowsException\": \"\"\n }\n },\n \"views\": {\n \"beachView\": false,\n \"beachViewException\": \"\",\n \"cityView\": false,\n \"cityViewException\": \"\",\n \"gardenView\": false,\n \"gardenViewException\": \"\",\n \"lakeView\": false,\n \"lakeViewException\": \"\",\n \"landmarkView\": false,\n \"landmarkViewException\": \"\",\n \"oceanView\": false,\n \"oceanViewException\": \"\",\n \"poolView\": false,\n \"poolViewException\": \"\",\n \"valleyView\": false,\n \"valleyViewException\": \"\"\n }\n },\n \"business\": {\n \"businessCenter\": false,\n \"businessCenterException\": \"\",\n \"meetingRooms\": false,\n \"meetingRoomsCount\": 0,\n \"meetingRoomsCountException\": \"\",\n \"meetingRoomsException\": \"\"\n },\n \"commonLivingArea\": {},\n \"connectivity\": {\n \"freeWifi\": false,\n \"freeWifiException\": \"\",\n \"publicAreaWifiAvailable\": false,\n \"publicAreaWifiAvailableException\": \"\",\n \"publicInternetTerminal\": false,\n \"publicInternetTerminalException\": \"\",\n \"wifiAvailable\": false,\n \"wifiAvailableException\": \"\"\n },\n \"families\": {\n \"babysitting\": false,\n \"babysittingException\": \"\",\n \"kidsActivities\": false,\n \"kidsActivitiesException\": \"\",\n \"kidsClub\": false,\n \"kidsClubException\": \"\",\n \"kidsFriendly\": false,\n \"kidsFriendlyException\": \"\"\n },\n \"foodAndDrink\": {\n \"bar\": false,\n \"barException\": \"\",\n \"breakfastAvailable\": false,\n \"breakfastAvailableException\": \"\",\n \"breakfastBuffet\": false,\n \"breakfastBuffetException\": \"\",\n \"buffet\": false,\n \"buffetException\": \"\",\n \"dinnerBuffet\": false,\n \"dinnerBuffetException\": \"\",\n \"freeBreakfast\": false,\n \"freeBreakfastException\": \"\",\n \"restaurant\": false,\n \"restaurantException\": \"\",\n \"restaurantsCount\": 0,\n \"restaurantsCountException\": \"\",\n \"roomService\": false,\n \"roomServiceException\": \"\",\n \"tableService\": false,\n \"tableServiceException\": \"\",\n \"twentyFourHourRoomService\": false,\n \"twentyFourHourRoomServiceException\": \"\",\n \"vendingMachine\": false,\n \"vendingMachineException\": \"\"\n },\n \"guestUnits\": [\n {\n \"codes\": [],\n \"features\": {},\n \"label\": \"\"\n }\n ],\n \"healthAndSafety\": {\n \"enhancedCleaning\": {\n \"commercialGradeDisinfectantCleaning\": false,\n \"commercialGradeDisinfectantCleaningException\": \"\",\n \"commonAreasEnhancedCleaning\": false,\n \"commonAreasEnhancedCleaningException\": \"\",\n \"employeesTrainedCleaningProcedures\": false,\n \"employeesTrainedCleaningProceduresException\": \"\",\n \"employeesTrainedThoroughHandWashing\": false,\n \"employeesTrainedThoroughHandWashingException\": \"\",\n \"employeesWearProtectiveEquipment\": false,\n \"employeesWearProtectiveEquipmentException\": \"\",\n \"guestRoomsEnhancedCleaning\": false,\n \"guestRoomsEnhancedCleaningException\": \"\"\n },\n \"increasedFoodSafety\": {\n \"diningAreasAdditionalSanitation\": false,\n \"diningAreasAdditionalSanitationException\": \"\",\n \"disposableFlatware\": false,\n \"disposableFlatwareException\": \"\",\n \"foodPreparationAndServingAdditionalSafety\": false,\n \"foodPreparationAndServingAdditionalSafetyException\": \"\",\n \"individualPackagedMeals\": false,\n \"individualPackagedMealsException\": \"\",\n \"singleUseFoodMenus\": false,\n \"singleUseFoodMenusException\": \"\"\n },\n \"minimizedContact\": {\n \"contactlessCheckinCheckout\": false,\n \"contactlessCheckinCheckoutException\": \"\",\n \"digitalGuestRoomKeys\": false,\n \"digitalGuestRoomKeysException\": \"\",\n \"housekeepingScheduledRequestOnly\": false,\n \"housekeepingScheduledRequestOnlyException\": \"\",\n \"noHighTouchItemsCommonAreas\": false,\n \"noHighTouchItemsCommonAreasException\": \"\",\n \"noHighTouchItemsGuestRooms\": false,\n \"noHighTouchItemsGuestRoomsException\": \"\",\n \"plasticKeycardsDisinfected\": false,\n \"plasticKeycardsDisinfectedException\": \"\",\n \"roomBookingsBuffer\": false,\n \"roomBookingsBufferException\": \"\"\n },\n \"personalProtection\": {\n \"commonAreasOfferSanitizingItems\": false,\n \"commonAreasOfferSanitizingItemsException\": \"\",\n \"faceMaskRequired\": false,\n \"faceMaskRequiredException\": \"\",\n \"guestRoomHygieneKitsAvailable\": false,\n \"guestRoomHygieneKitsAvailableException\": \"\",\n \"protectiveEquipmentAvailable\": false,\n \"protectiveEquipmentAvailableException\": \"\"\n },\n \"physicalDistancing\": {\n \"commonAreasPhysicalDistancingArranged\": false,\n \"commonAreasPhysicalDistancingArrangedException\": \"\",\n \"physicalDistancingRequired\": false,\n \"physicalDistancingRequiredException\": \"\",\n \"safetyDividers\": false,\n \"safetyDividersException\": \"\",\n \"sharedAreasLimitedOccupancy\": false,\n \"sharedAreasLimitedOccupancyException\": \"\",\n \"wellnessAreasHavePrivateSpaces\": false,\n \"wellnessAreasHavePrivateSpacesException\": \"\"\n }\n },\n \"housekeeping\": {\n \"dailyHousekeeping\": false,\n \"dailyHousekeepingException\": \"\",\n \"housekeepingAvailable\": false,\n \"housekeepingAvailableException\": \"\",\n \"turndownService\": false,\n \"turndownServiceException\": \"\"\n },\n \"metadata\": {\n \"updateTime\": \"\"\n },\n \"name\": \"\",\n \"parking\": {\n \"electricCarChargingStations\": false,\n \"electricCarChargingStationsException\": \"\",\n \"freeParking\": false,\n \"freeParkingException\": \"\",\n \"freeSelfParking\": false,\n \"freeSelfParkingException\": \"\",\n \"freeValetParking\": false,\n \"freeValetParkingException\": \"\",\n \"parkingAvailable\": false,\n \"parkingAvailableException\": \"\",\n \"selfParkingAvailable\": false,\n \"selfParkingAvailableException\": \"\",\n \"valetParkingAvailable\": false,\n \"valetParkingAvailableException\": \"\"\n },\n \"pets\": {\n \"catsAllowed\": false,\n \"catsAllowedException\": \"\",\n \"dogsAllowed\": false,\n \"dogsAllowedException\": \"\",\n \"petsAllowed\": false,\n \"petsAllowedException\": \"\",\n \"petsAllowedFree\": false,\n \"petsAllowedFreeException\": \"\"\n },\n \"policies\": {\n \"allInclusiveAvailable\": false,\n \"allInclusiveAvailableException\": \"\",\n \"allInclusiveOnly\": false,\n \"allInclusiveOnlyException\": \"\",\n \"checkinTime\": {\n \"hours\": 0,\n \"minutes\": 0,\n \"nanos\": 0,\n \"seconds\": 0\n },\n \"checkinTimeException\": \"\",\n \"checkoutTime\": {},\n \"checkoutTimeException\": \"\",\n \"kidsStayFree\": false,\n \"kidsStayFreeException\": \"\",\n \"maxChildAge\": 0,\n \"maxChildAgeException\": \"\",\n \"maxKidsStayFreeCount\": 0,\n \"maxKidsStayFreeCountException\": \"\",\n \"paymentOptions\": {\n \"cash\": false,\n \"cashException\": \"\",\n \"cheque\": false,\n \"chequeException\": \"\",\n \"creditCard\": false,\n \"creditCardException\": \"\",\n \"debitCard\": false,\n \"debitCardException\": \"\",\n \"mobileNfc\": false,\n \"mobileNfcException\": \"\"\n },\n \"smokeFreeProperty\": false,\n \"smokeFreePropertyException\": \"\"\n },\n \"pools\": {\n \"adultPool\": false,\n \"adultPoolException\": \"\",\n \"hotTub\": false,\n \"hotTubException\": \"\",\n \"indoorPool\": false,\n \"indoorPoolException\": \"\",\n \"indoorPoolsCount\": 0,\n \"indoorPoolsCountException\": \"\",\n \"lazyRiver\": false,\n \"lazyRiverException\": \"\",\n \"lifeguard\": false,\n \"lifeguardException\": \"\",\n \"outdoorPool\": false,\n \"outdoorPoolException\": \"\",\n \"outdoorPoolsCount\": 0,\n \"outdoorPoolsCountException\": \"\",\n \"pool\": false,\n \"poolException\": \"\",\n \"poolsCount\": 0,\n \"poolsCountException\": \"\",\n \"wadingPool\": false,\n \"wadingPoolException\": \"\",\n \"waterPark\": false,\n \"waterParkException\": \"\",\n \"waterslide\": false,\n \"waterslideException\": \"\",\n \"wavePool\": false,\n \"wavePoolException\": \"\"\n },\n \"property\": {\n \"builtYear\": 0,\n \"builtYearException\": \"\",\n \"floorsCount\": 0,\n \"floorsCountException\": \"\",\n \"lastRenovatedYear\": 0,\n \"lastRenovatedYearException\": \"\",\n \"roomsCount\": 0,\n \"roomsCountException\": \"\"\n },\n \"services\": {\n \"baggageStorage\": false,\n \"baggageStorageException\": \"\",\n \"concierge\": false,\n \"conciergeException\": \"\",\n \"convenienceStore\": false,\n \"convenienceStoreException\": \"\",\n \"currencyExchange\": false,\n \"currencyExchangeException\": \"\",\n \"elevator\": false,\n \"elevatorException\": \"\",\n \"frontDesk\": false,\n \"frontDeskException\": \"\",\n \"fullServiceLaundry\": false,\n \"fullServiceLaundryException\": \"\",\n \"giftShop\": false,\n \"giftShopException\": \"\",\n \"languagesSpoken\": [\n {\n \"languageCode\": \"\",\n \"spoken\": false,\n \"spokenException\": \"\"\n }\n ],\n \"selfServiceLaundry\": false,\n \"selfServiceLaundryException\": \"\",\n \"socialHour\": false,\n \"socialHourException\": \"\",\n \"twentyFourHourFrontDesk\": false,\n \"twentyFourHourFrontDeskException\": \"\",\n \"wakeUpCalls\": false,\n \"wakeUpCallsException\": \"\"\n },\n \"someUnits\": {},\n \"sustainability\": {\n \"energyEfficiency\": {\n \"carbonFreeEnergySources\": false,\n \"carbonFreeEnergySourcesException\": \"\",\n \"energyConservationProgram\": false,\n \"energyConservationProgramException\": \"\",\n \"energyEfficientHeatingAndCoolingSystems\": false,\n \"energyEfficientHeatingAndCoolingSystemsException\": \"\",\n \"energyEfficientLighting\": false,\n \"energyEfficientLightingException\": \"\",\n \"energySavingThermostats\": false,\n \"energySavingThermostatsException\": \"\",\n \"greenBuildingDesign\": false,\n \"greenBuildingDesignException\": \"\",\n \"independentOrganizationAuditsEnergyUse\": false,\n \"independentOrganizationAuditsEnergyUseException\": \"\"\n },\n \"sustainabilityCertifications\": {\n \"breeamCertification\": \"\",\n \"breeamCertificationException\": \"\",\n \"ecoCertifications\": [\n {\n \"awarded\": false,\n \"awardedException\": \"\",\n \"ecoCertificate\": \"\"\n }\n ],\n \"leedCertification\": \"\",\n \"leedCertificationException\": \"\"\n },\n \"sustainableSourcing\": {\n \"ecoFriendlyToiletries\": false,\n \"ecoFriendlyToiletriesException\": \"\",\n \"locallySourcedFoodAndBeverages\": false,\n \"locallySourcedFoodAndBeveragesException\": \"\",\n \"organicCageFreeEggs\": false,\n \"organicCageFreeEggsException\": \"\",\n \"organicFoodAndBeverages\": false,\n \"organicFoodAndBeveragesException\": \"\",\n \"responsiblePurchasingPolicy\": false,\n \"responsiblePurchasingPolicyException\": \"\",\n \"responsiblySourcesSeafood\": false,\n \"responsiblySourcesSeafoodException\": \"\",\n \"veganMeals\": false,\n \"veganMealsException\": \"\",\n \"vegetarianMeals\": false,\n \"vegetarianMealsException\": \"\"\n },\n \"wasteReduction\": {\n \"compostableFoodContainersAndCutlery\": false,\n \"compostableFoodContainersAndCutleryException\": \"\",\n \"compostsExcessFood\": false,\n \"compostsExcessFoodException\": \"\",\n \"donatesExcessFood\": false,\n \"donatesExcessFoodException\": \"\",\n \"foodWasteReductionProgram\": false,\n \"foodWasteReductionProgramException\": \"\",\n \"noSingleUsePlasticStraws\": false,\n \"noSingleUsePlasticStrawsException\": \"\",\n \"noSingleUsePlasticWaterBottles\": false,\n \"noSingleUsePlasticWaterBottlesException\": \"\",\n \"noStyrofoamFoodContainers\": false,\n \"noStyrofoamFoodContainersException\": \"\",\n \"recyclingProgram\": false,\n \"recyclingProgramException\": \"\",\n \"refillableToiletryContainers\": false,\n \"refillableToiletryContainersException\": \"\",\n \"safelyDisposesBatteries\": false,\n \"safelyDisposesBatteriesException\": \"\",\n \"safelyDisposesElectronics\": false,\n \"safelyDisposesElectronicsException\": \"\",\n \"safelyDisposesLightbulbs\": false,\n \"safelyDisposesLightbulbsException\": \"\",\n \"safelyHandlesHazardousSubstances\": false,\n \"safelyHandlesHazardousSubstancesException\": \"\",\n \"soapDonationProgram\": false,\n \"soapDonationProgramException\": \"\",\n \"toiletryDonationProgram\": false,\n \"toiletryDonationProgramException\": \"\",\n \"waterBottleFillingStations\": false,\n \"waterBottleFillingStationsException\": \"\"\n },\n \"waterConservation\": {\n \"independentOrganizationAuditsWaterUse\": false,\n \"independentOrganizationAuditsWaterUseException\": \"\",\n \"linenReuseProgram\": false,\n \"linenReuseProgramException\": \"\",\n \"towelReuseProgram\": false,\n \"towelReuseProgramException\": \"\",\n \"waterSavingShowers\": false,\n \"waterSavingShowersException\": \"\",\n \"waterSavingSinks\": false,\n \"waterSavingSinksException\": \"\",\n \"waterSavingToilets\": false,\n \"waterSavingToiletsException\": \"\"\n }\n },\n \"transportation\": {\n \"airportShuttle\": false,\n \"airportShuttleException\": \"\",\n \"carRentalOnProperty\": false,\n \"carRentalOnPropertyException\": \"\",\n \"freeAirportShuttle\": false,\n \"freeAirportShuttleException\": \"\",\n \"freePrivateCarService\": false,\n \"freePrivateCarServiceException\": \"\",\n \"localShuttle\": false,\n \"localShuttleException\": \"\",\n \"privateCarService\": false,\n \"privateCarServiceException\": \"\",\n \"transfer\": false,\n \"transferException\": \"\"\n },\n \"wellness\": {\n \"doctorOnCall\": false,\n \"doctorOnCallException\": \"\",\n \"ellipticalMachine\": false,\n \"ellipticalMachineException\": \"\",\n \"fitnessCenter\": false,\n \"fitnessCenterException\": \"\",\n \"freeFitnessCenter\": false,\n \"freeFitnessCenterException\": \"\",\n \"freeWeights\": false,\n \"freeWeightsException\": \"\",\n \"massage\": false,\n \"massageException\": \"\",\n \"salon\": false,\n \"salonException\": \"\",\n \"sauna\": false,\n \"saunaException\": \"\",\n \"spa\": false,\n \"spaException\": \"\",\n \"treadmill\": false,\n \"treadmillException\": \"\",\n \"weightMachine\": false,\n \"weightMachineException\": \"\"\n }\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/v1/:name"
payload := strings.NewReader("{\n \"accessibility\": {\n \"mobilityAccessible\": false,\n \"mobilityAccessibleElevator\": false,\n \"mobilityAccessibleElevatorException\": \"\",\n \"mobilityAccessibleException\": \"\",\n \"mobilityAccessibleParking\": false,\n \"mobilityAccessibleParkingException\": \"\",\n \"mobilityAccessiblePool\": false,\n \"mobilityAccessiblePoolException\": \"\"\n },\n \"activities\": {\n \"beachAccess\": false,\n \"beachAccessException\": \"\",\n \"beachFront\": false,\n \"beachFrontException\": \"\",\n \"bicycleRental\": false,\n \"bicycleRentalException\": \"\",\n \"boutiqueStores\": false,\n \"boutiqueStoresException\": \"\",\n \"casino\": false,\n \"casinoException\": \"\",\n \"freeBicycleRental\": false,\n \"freeBicycleRentalException\": \"\",\n \"freeWatercraftRental\": false,\n \"freeWatercraftRentalException\": \"\",\n \"gameRoom\": false,\n \"gameRoomException\": \"\",\n \"golf\": false,\n \"golfException\": \"\",\n \"horsebackRiding\": false,\n \"horsebackRidingException\": \"\",\n \"nightclub\": false,\n \"nightclubException\": \"\",\n \"privateBeach\": false,\n \"privateBeachException\": \"\",\n \"scuba\": false,\n \"scubaException\": \"\",\n \"snorkeling\": false,\n \"snorkelingException\": \"\",\n \"tennis\": false,\n \"tennisException\": \"\",\n \"waterSkiing\": false,\n \"waterSkiingException\": \"\",\n \"watercraftRental\": false,\n \"watercraftRentalException\": \"\"\n },\n \"allUnits\": {\n \"bungalowOrVilla\": false,\n \"bungalowOrVillaException\": \"\",\n \"connectingUnitAvailable\": false,\n \"connectingUnitAvailableException\": \"\",\n \"executiveFloor\": false,\n \"executiveFloorException\": \"\",\n \"maxAdultOccupantsCount\": 0,\n \"maxAdultOccupantsCountException\": \"\",\n \"maxChildOccupantsCount\": 0,\n \"maxChildOccupantsCountException\": \"\",\n \"maxOccupantsCount\": 0,\n \"maxOccupantsCountException\": \"\",\n \"privateHome\": false,\n \"privateHomeException\": \"\",\n \"suite\": false,\n \"suiteException\": \"\",\n \"tier\": \"\",\n \"tierException\": \"\",\n \"totalLivingAreas\": {\n \"accessibility\": {\n \"adaCompliantUnit\": false,\n \"adaCompliantUnitException\": \"\",\n \"hearingAccessibleDoorbell\": false,\n \"hearingAccessibleDoorbellException\": \"\",\n \"hearingAccessibleFireAlarm\": false,\n \"hearingAccessibleFireAlarmException\": \"\",\n \"hearingAccessibleUnit\": false,\n \"hearingAccessibleUnitException\": \"\",\n \"mobilityAccessibleBathtub\": false,\n \"mobilityAccessibleBathtubException\": \"\",\n \"mobilityAccessibleShower\": false,\n \"mobilityAccessibleShowerException\": \"\",\n \"mobilityAccessibleToilet\": false,\n \"mobilityAccessibleToiletException\": \"\",\n \"mobilityAccessibleUnit\": false,\n \"mobilityAccessibleUnitException\": \"\"\n },\n \"eating\": {\n \"coffeeMaker\": false,\n \"coffeeMakerException\": \"\",\n \"cookware\": false,\n \"cookwareException\": \"\",\n \"dishwasher\": false,\n \"dishwasherException\": \"\",\n \"indoorGrill\": false,\n \"indoorGrillException\": \"\",\n \"kettle\": false,\n \"kettleException\": \"\",\n \"kitchenAvailable\": false,\n \"kitchenAvailableException\": \"\",\n \"microwave\": false,\n \"microwaveException\": \"\",\n \"minibar\": false,\n \"minibarException\": \"\",\n \"outdoorGrill\": false,\n \"outdoorGrillException\": \"\",\n \"oven\": false,\n \"ovenException\": \"\",\n \"refrigerator\": false,\n \"refrigeratorException\": \"\",\n \"sink\": false,\n \"sinkException\": \"\",\n \"snackbar\": false,\n \"snackbarException\": \"\",\n \"stove\": false,\n \"stoveException\": \"\",\n \"teaStation\": false,\n \"teaStationException\": \"\",\n \"toaster\": false,\n \"toasterException\": \"\"\n },\n \"features\": {\n \"airConditioning\": false,\n \"airConditioningException\": \"\",\n \"bathtub\": false,\n \"bathtubException\": \"\",\n \"bidet\": false,\n \"bidetException\": \"\",\n \"dryer\": false,\n \"dryerException\": \"\",\n \"electronicRoomKey\": false,\n \"electronicRoomKeyException\": \"\",\n \"fireplace\": false,\n \"fireplaceException\": \"\",\n \"hairdryer\": false,\n \"hairdryerException\": \"\",\n \"heating\": false,\n \"heatingException\": \"\",\n \"inunitSafe\": false,\n \"inunitSafeException\": \"\",\n \"inunitWifiAvailable\": false,\n \"inunitWifiAvailableException\": \"\",\n \"ironingEquipment\": false,\n \"ironingEquipmentException\": \"\",\n \"payPerViewMovies\": false,\n \"payPerViewMoviesException\": \"\",\n \"privateBathroom\": false,\n \"privateBathroomException\": \"\",\n \"shower\": false,\n \"showerException\": \"\",\n \"toilet\": false,\n \"toiletException\": \"\",\n \"tv\": false,\n \"tvCasting\": false,\n \"tvCastingException\": \"\",\n \"tvException\": \"\",\n \"tvStreaming\": false,\n \"tvStreamingException\": \"\",\n \"universalPowerAdapters\": false,\n \"universalPowerAdaptersException\": \"\",\n \"washer\": false,\n \"washerException\": \"\"\n },\n \"layout\": {\n \"balcony\": false,\n \"balconyException\": \"\",\n \"livingAreaSqMeters\": \"\",\n \"livingAreaSqMetersException\": \"\",\n \"loft\": false,\n \"loftException\": \"\",\n \"nonSmoking\": false,\n \"nonSmokingException\": \"\",\n \"patio\": false,\n \"patioException\": \"\",\n \"stairs\": false,\n \"stairsException\": \"\"\n },\n \"sleeping\": {\n \"bedsCount\": 0,\n \"bedsCountException\": \"\",\n \"bunkBedsCount\": 0,\n \"bunkBedsCountException\": \"\",\n \"cribsCount\": 0,\n \"cribsCountException\": \"\",\n \"doubleBedsCount\": 0,\n \"doubleBedsCountException\": \"\",\n \"featherPillows\": false,\n \"featherPillowsException\": \"\",\n \"hypoallergenicBedding\": false,\n \"hypoallergenicBeddingException\": \"\",\n \"kingBedsCount\": 0,\n \"kingBedsCountException\": \"\",\n \"memoryFoamPillows\": false,\n \"memoryFoamPillowsException\": \"\",\n \"otherBedsCount\": 0,\n \"otherBedsCountException\": \"\",\n \"queenBedsCount\": 0,\n \"queenBedsCountException\": \"\",\n \"rollAwayBedsCount\": 0,\n \"rollAwayBedsCountException\": \"\",\n \"singleOrTwinBedsCount\": 0,\n \"singleOrTwinBedsCountException\": \"\",\n \"sofaBedsCount\": 0,\n \"sofaBedsCountException\": \"\",\n \"syntheticPillows\": false,\n \"syntheticPillowsException\": \"\"\n }\n },\n \"views\": {\n \"beachView\": false,\n \"beachViewException\": \"\",\n \"cityView\": false,\n \"cityViewException\": \"\",\n \"gardenView\": false,\n \"gardenViewException\": \"\",\n \"lakeView\": false,\n \"lakeViewException\": \"\",\n \"landmarkView\": false,\n \"landmarkViewException\": \"\",\n \"oceanView\": false,\n \"oceanViewException\": \"\",\n \"poolView\": false,\n \"poolViewException\": \"\",\n \"valleyView\": false,\n \"valleyViewException\": \"\"\n }\n },\n \"business\": {\n \"businessCenter\": false,\n \"businessCenterException\": \"\",\n \"meetingRooms\": false,\n \"meetingRoomsCount\": 0,\n \"meetingRoomsCountException\": \"\",\n \"meetingRoomsException\": \"\"\n },\n \"commonLivingArea\": {},\n \"connectivity\": {\n \"freeWifi\": false,\n \"freeWifiException\": \"\",\n \"publicAreaWifiAvailable\": false,\n \"publicAreaWifiAvailableException\": \"\",\n \"publicInternetTerminal\": false,\n \"publicInternetTerminalException\": \"\",\n \"wifiAvailable\": false,\n \"wifiAvailableException\": \"\"\n },\n \"families\": {\n \"babysitting\": false,\n \"babysittingException\": \"\",\n \"kidsActivities\": false,\n \"kidsActivitiesException\": \"\",\n \"kidsClub\": false,\n \"kidsClubException\": \"\",\n \"kidsFriendly\": false,\n \"kidsFriendlyException\": \"\"\n },\n \"foodAndDrink\": {\n \"bar\": false,\n \"barException\": \"\",\n \"breakfastAvailable\": false,\n \"breakfastAvailableException\": \"\",\n \"breakfastBuffet\": false,\n \"breakfastBuffetException\": \"\",\n \"buffet\": false,\n \"buffetException\": \"\",\n \"dinnerBuffet\": false,\n \"dinnerBuffetException\": \"\",\n \"freeBreakfast\": false,\n \"freeBreakfastException\": \"\",\n \"restaurant\": false,\n \"restaurantException\": \"\",\n \"restaurantsCount\": 0,\n \"restaurantsCountException\": \"\",\n \"roomService\": false,\n \"roomServiceException\": \"\",\n \"tableService\": false,\n \"tableServiceException\": \"\",\n \"twentyFourHourRoomService\": false,\n \"twentyFourHourRoomServiceException\": \"\",\n \"vendingMachine\": false,\n \"vendingMachineException\": \"\"\n },\n \"guestUnits\": [\n {\n \"codes\": [],\n \"features\": {},\n \"label\": \"\"\n }\n ],\n \"healthAndSafety\": {\n \"enhancedCleaning\": {\n \"commercialGradeDisinfectantCleaning\": false,\n \"commercialGradeDisinfectantCleaningException\": \"\",\n \"commonAreasEnhancedCleaning\": false,\n \"commonAreasEnhancedCleaningException\": \"\",\n \"employeesTrainedCleaningProcedures\": false,\n \"employeesTrainedCleaningProceduresException\": \"\",\n \"employeesTrainedThoroughHandWashing\": false,\n \"employeesTrainedThoroughHandWashingException\": \"\",\n \"employeesWearProtectiveEquipment\": false,\n \"employeesWearProtectiveEquipmentException\": \"\",\n \"guestRoomsEnhancedCleaning\": false,\n \"guestRoomsEnhancedCleaningException\": \"\"\n },\n \"increasedFoodSafety\": {\n \"diningAreasAdditionalSanitation\": false,\n \"diningAreasAdditionalSanitationException\": \"\",\n \"disposableFlatware\": false,\n \"disposableFlatwareException\": \"\",\n \"foodPreparationAndServingAdditionalSafety\": false,\n \"foodPreparationAndServingAdditionalSafetyException\": \"\",\n \"individualPackagedMeals\": false,\n \"individualPackagedMealsException\": \"\",\n \"singleUseFoodMenus\": false,\n \"singleUseFoodMenusException\": \"\"\n },\n \"minimizedContact\": {\n \"contactlessCheckinCheckout\": false,\n \"contactlessCheckinCheckoutException\": \"\",\n \"digitalGuestRoomKeys\": false,\n \"digitalGuestRoomKeysException\": \"\",\n \"housekeepingScheduledRequestOnly\": false,\n \"housekeepingScheduledRequestOnlyException\": \"\",\n \"noHighTouchItemsCommonAreas\": false,\n \"noHighTouchItemsCommonAreasException\": \"\",\n \"noHighTouchItemsGuestRooms\": false,\n \"noHighTouchItemsGuestRoomsException\": \"\",\n \"plasticKeycardsDisinfected\": false,\n \"plasticKeycardsDisinfectedException\": \"\",\n \"roomBookingsBuffer\": false,\n \"roomBookingsBufferException\": \"\"\n },\n \"personalProtection\": {\n \"commonAreasOfferSanitizingItems\": false,\n \"commonAreasOfferSanitizingItemsException\": \"\",\n \"faceMaskRequired\": false,\n \"faceMaskRequiredException\": \"\",\n \"guestRoomHygieneKitsAvailable\": false,\n \"guestRoomHygieneKitsAvailableException\": \"\",\n \"protectiveEquipmentAvailable\": false,\n \"protectiveEquipmentAvailableException\": \"\"\n },\n \"physicalDistancing\": {\n \"commonAreasPhysicalDistancingArranged\": false,\n \"commonAreasPhysicalDistancingArrangedException\": \"\",\n \"physicalDistancingRequired\": false,\n \"physicalDistancingRequiredException\": \"\",\n \"safetyDividers\": false,\n \"safetyDividersException\": \"\",\n \"sharedAreasLimitedOccupancy\": false,\n \"sharedAreasLimitedOccupancyException\": \"\",\n \"wellnessAreasHavePrivateSpaces\": false,\n \"wellnessAreasHavePrivateSpacesException\": \"\"\n }\n },\n \"housekeeping\": {\n \"dailyHousekeeping\": false,\n \"dailyHousekeepingException\": \"\",\n \"housekeepingAvailable\": false,\n \"housekeepingAvailableException\": \"\",\n \"turndownService\": false,\n \"turndownServiceException\": \"\"\n },\n \"metadata\": {\n \"updateTime\": \"\"\n },\n \"name\": \"\",\n \"parking\": {\n \"electricCarChargingStations\": false,\n \"electricCarChargingStationsException\": \"\",\n \"freeParking\": false,\n \"freeParkingException\": \"\",\n \"freeSelfParking\": false,\n \"freeSelfParkingException\": \"\",\n \"freeValetParking\": false,\n \"freeValetParkingException\": \"\",\n \"parkingAvailable\": false,\n \"parkingAvailableException\": \"\",\n \"selfParkingAvailable\": false,\n \"selfParkingAvailableException\": \"\",\n \"valetParkingAvailable\": false,\n \"valetParkingAvailableException\": \"\"\n },\n \"pets\": {\n \"catsAllowed\": false,\n \"catsAllowedException\": \"\",\n \"dogsAllowed\": false,\n \"dogsAllowedException\": \"\",\n \"petsAllowed\": false,\n \"petsAllowedException\": \"\",\n \"petsAllowedFree\": false,\n \"petsAllowedFreeException\": \"\"\n },\n \"policies\": {\n \"allInclusiveAvailable\": false,\n \"allInclusiveAvailableException\": \"\",\n \"allInclusiveOnly\": false,\n \"allInclusiveOnlyException\": \"\",\n \"checkinTime\": {\n \"hours\": 0,\n \"minutes\": 0,\n \"nanos\": 0,\n \"seconds\": 0\n },\n \"checkinTimeException\": \"\",\n \"checkoutTime\": {},\n \"checkoutTimeException\": \"\",\n \"kidsStayFree\": false,\n \"kidsStayFreeException\": \"\",\n \"maxChildAge\": 0,\n \"maxChildAgeException\": \"\",\n \"maxKidsStayFreeCount\": 0,\n \"maxKidsStayFreeCountException\": \"\",\n \"paymentOptions\": {\n \"cash\": false,\n \"cashException\": \"\",\n \"cheque\": false,\n \"chequeException\": \"\",\n \"creditCard\": false,\n \"creditCardException\": \"\",\n \"debitCard\": false,\n \"debitCardException\": \"\",\n \"mobileNfc\": false,\n \"mobileNfcException\": \"\"\n },\n \"smokeFreeProperty\": false,\n \"smokeFreePropertyException\": \"\"\n },\n \"pools\": {\n \"adultPool\": false,\n \"adultPoolException\": \"\",\n \"hotTub\": false,\n \"hotTubException\": \"\",\n \"indoorPool\": false,\n \"indoorPoolException\": \"\",\n \"indoorPoolsCount\": 0,\n \"indoorPoolsCountException\": \"\",\n \"lazyRiver\": false,\n \"lazyRiverException\": \"\",\n \"lifeguard\": false,\n \"lifeguardException\": \"\",\n \"outdoorPool\": false,\n \"outdoorPoolException\": \"\",\n \"outdoorPoolsCount\": 0,\n \"outdoorPoolsCountException\": \"\",\n \"pool\": false,\n \"poolException\": \"\",\n \"poolsCount\": 0,\n \"poolsCountException\": \"\",\n \"wadingPool\": false,\n \"wadingPoolException\": \"\",\n \"waterPark\": false,\n \"waterParkException\": \"\",\n \"waterslide\": false,\n \"waterslideException\": \"\",\n \"wavePool\": false,\n \"wavePoolException\": \"\"\n },\n \"property\": {\n \"builtYear\": 0,\n \"builtYearException\": \"\",\n \"floorsCount\": 0,\n \"floorsCountException\": \"\",\n \"lastRenovatedYear\": 0,\n \"lastRenovatedYearException\": \"\",\n \"roomsCount\": 0,\n \"roomsCountException\": \"\"\n },\n \"services\": {\n \"baggageStorage\": false,\n \"baggageStorageException\": \"\",\n \"concierge\": false,\n \"conciergeException\": \"\",\n \"convenienceStore\": false,\n \"convenienceStoreException\": \"\",\n \"currencyExchange\": false,\n \"currencyExchangeException\": \"\",\n \"elevator\": false,\n \"elevatorException\": \"\",\n \"frontDesk\": false,\n \"frontDeskException\": \"\",\n \"fullServiceLaundry\": false,\n \"fullServiceLaundryException\": \"\",\n \"giftShop\": false,\n \"giftShopException\": \"\",\n \"languagesSpoken\": [\n {\n \"languageCode\": \"\",\n \"spoken\": false,\n \"spokenException\": \"\"\n }\n ],\n \"selfServiceLaundry\": false,\n \"selfServiceLaundryException\": \"\",\n \"socialHour\": false,\n \"socialHourException\": \"\",\n \"twentyFourHourFrontDesk\": false,\n \"twentyFourHourFrontDeskException\": \"\",\n \"wakeUpCalls\": false,\n \"wakeUpCallsException\": \"\"\n },\n \"someUnits\": {},\n \"sustainability\": {\n \"energyEfficiency\": {\n \"carbonFreeEnergySources\": false,\n \"carbonFreeEnergySourcesException\": \"\",\n \"energyConservationProgram\": false,\n \"energyConservationProgramException\": \"\",\n \"energyEfficientHeatingAndCoolingSystems\": false,\n \"energyEfficientHeatingAndCoolingSystemsException\": \"\",\n \"energyEfficientLighting\": false,\n \"energyEfficientLightingException\": \"\",\n \"energySavingThermostats\": false,\n \"energySavingThermostatsException\": \"\",\n \"greenBuildingDesign\": false,\n \"greenBuildingDesignException\": \"\",\n \"independentOrganizationAuditsEnergyUse\": false,\n \"independentOrganizationAuditsEnergyUseException\": \"\"\n },\n \"sustainabilityCertifications\": {\n \"breeamCertification\": \"\",\n \"breeamCertificationException\": \"\",\n \"ecoCertifications\": [\n {\n \"awarded\": false,\n \"awardedException\": \"\",\n \"ecoCertificate\": \"\"\n }\n ],\n \"leedCertification\": \"\",\n \"leedCertificationException\": \"\"\n },\n \"sustainableSourcing\": {\n \"ecoFriendlyToiletries\": false,\n \"ecoFriendlyToiletriesException\": \"\",\n \"locallySourcedFoodAndBeverages\": false,\n \"locallySourcedFoodAndBeveragesException\": \"\",\n \"organicCageFreeEggs\": false,\n \"organicCageFreeEggsException\": \"\",\n \"organicFoodAndBeverages\": false,\n \"organicFoodAndBeveragesException\": \"\",\n \"responsiblePurchasingPolicy\": false,\n \"responsiblePurchasingPolicyException\": \"\",\n \"responsiblySourcesSeafood\": false,\n \"responsiblySourcesSeafoodException\": \"\",\n \"veganMeals\": false,\n \"veganMealsException\": \"\",\n \"vegetarianMeals\": false,\n \"vegetarianMealsException\": \"\"\n },\n \"wasteReduction\": {\n \"compostableFoodContainersAndCutlery\": false,\n \"compostableFoodContainersAndCutleryException\": \"\",\n \"compostsExcessFood\": false,\n \"compostsExcessFoodException\": \"\",\n \"donatesExcessFood\": false,\n \"donatesExcessFoodException\": \"\",\n \"foodWasteReductionProgram\": false,\n \"foodWasteReductionProgramException\": \"\",\n \"noSingleUsePlasticStraws\": false,\n \"noSingleUsePlasticStrawsException\": \"\",\n \"noSingleUsePlasticWaterBottles\": false,\n \"noSingleUsePlasticWaterBottlesException\": \"\",\n \"noStyrofoamFoodContainers\": false,\n \"noStyrofoamFoodContainersException\": \"\",\n \"recyclingProgram\": false,\n \"recyclingProgramException\": \"\",\n \"refillableToiletryContainers\": false,\n \"refillableToiletryContainersException\": \"\",\n \"safelyDisposesBatteries\": false,\n \"safelyDisposesBatteriesException\": \"\",\n \"safelyDisposesElectronics\": false,\n \"safelyDisposesElectronicsException\": \"\",\n \"safelyDisposesLightbulbs\": false,\n \"safelyDisposesLightbulbsException\": \"\",\n \"safelyHandlesHazardousSubstances\": false,\n \"safelyHandlesHazardousSubstancesException\": \"\",\n \"soapDonationProgram\": false,\n \"soapDonationProgramException\": \"\",\n \"toiletryDonationProgram\": false,\n \"toiletryDonationProgramException\": \"\",\n \"waterBottleFillingStations\": false,\n \"waterBottleFillingStationsException\": \"\"\n },\n \"waterConservation\": {\n \"independentOrganizationAuditsWaterUse\": false,\n \"independentOrganizationAuditsWaterUseException\": \"\",\n \"linenReuseProgram\": false,\n \"linenReuseProgramException\": \"\",\n \"towelReuseProgram\": false,\n \"towelReuseProgramException\": \"\",\n \"waterSavingShowers\": false,\n \"waterSavingShowersException\": \"\",\n \"waterSavingSinks\": false,\n \"waterSavingSinksException\": \"\",\n \"waterSavingToilets\": false,\n \"waterSavingToiletsException\": \"\"\n }\n },\n \"transportation\": {\n \"airportShuttle\": false,\n \"airportShuttleException\": \"\",\n \"carRentalOnProperty\": false,\n \"carRentalOnPropertyException\": \"\",\n \"freeAirportShuttle\": false,\n \"freeAirportShuttleException\": \"\",\n \"freePrivateCarService\": false,\n \"freePrivateCarServiceException\": \"\",\n \"localShuttle\": false,\n \"localShuttleException\": \"\",\n \"privateCarService\": false,\n \"privateCarServiceException\": \"\",\n \"transfer\": false,\n \"transferException\": \"\"\n },\n \"wellness\": {\n \"doctorOnCall\": false,\n \"doctorOnCallException\": \"\",\n \"ellipticalMachine\": false,\n \"ellipticalMachineException\": \"\",\n \"fitnessCenter\": false,\n \"fitnessCenterException\": \"\",\n \"freeFitnessCenter\": false,\n \"freeFitnessCenterException\": \"\",\n \"freeWeights\": false,\n \"freeWeightsException\": \"\",\n \"massage\": false,\n \"massageException\": \"\",\n \"salon\": false,\n \"salonException\": \"\",\n \"sauna\": false,\n \"saunaException\": \"\",\n \"spa\": false,\n \"spaException\": \"\",\n \"treadmill\": false,\n \"treadmillException\": \"\",\n \"weightMachine\": false,\n \"weightMachineException\": \"\"\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("content-type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
PATCH /baseUrl/v1/:name HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 20162
{
"accessibility": {
"mobilityAccessible": false,
"mobilityAccessibleElevator": false,
"mobilityAccessibleElevatorException": "",
"mobilityAccessibleException": "",
"mobilityAccessibleParking": false,
"mobilityAccessibleParkingException": "",
"mobilityAccessiblePool": false,
"mobilityAccessiblePoolException": ""
},
"activities": {
"beachAccess": false,
"beachAccessException": "",
"beachFront": false,
"beachFrontException": "",
"bicycleRental": false,
"bicycleRentalException": "",
"boutiqueStores": false,
"boutiqueStoresException": "",
"casino": false,
"casinoException": "",
"freeBicycleRental": false,
"freeBicycleRentalException": "",
"freeWatercraftRental": false,
"freeWatercraftRentalException": "",
"gameRoom": false,
"gameRoomException": "",
"golf": false,
"golfException": "",
"horsebackRiding": false,
"horsebackRidingException": "",
"nightclub": false,
"nightclubException": "",
"privateBeach": false,
"privateBeachException": "",
"scuba": false,
"scubaException": "",
"snorkeling": false,
"snorkelingException": "",
"tennis": false,
"tennisException": "",
"waterSkiing": false,
"waterSkiingException": "",
"watercraftRental": false,
"watercraftRentalException": ""
},
"allUnits": {
"bungalowOrVilla": false,
"bungalowOrVillaException": "",
"connectingUnitAvailable": false,
"connectingUnitAvailableException": "",
"executiveFloor": false,
"executiveFloorException": "",
"maxAdultOccupantsCount": 0,
"maxAdultOccupantsCountException": "",
"maxChildOccupantsCount": 0,
"maxChildOccupantsCountException": "",
"maxOccupantsCount": 0,
"maxOccupantsCountException": "",
"privateHome": false,
"privateHomeException": "",
"suite": false,
"suiteException": "",
"tier": "",
"tierException": "",
"totalLivingAreas": {
"accessibility": {
"adaCompliantUnit": false,
"adaCompliantUnitException": "",
"hearingAccessibleDoorbell": false,
"hearingAccessibleDoorbellException": "",
"hearingAccessibleFireAlarm": false,
"hearingAccessibleFireAlarmException": "",
"hearingAccessibleUnit": false,
"hearingAccessibleUnitException": "",
"mobilityAccessibleBathtub": false,
"mobilityAccessibleBathtubException": "",
"mobilityAccessibleShower": false,
"mobilityAccessibleShowerException": "",
"mobilityAccessibleToilet": false,
"mobilityAccessibleToiletException": "",
"mobilityAccessibleUnit": false,
"mobilityAccessibleUnitException": ""
},
"eating": {
"coffeeMaker": false,
"coffeeMakerException": "",
"cookware": false,
"cookwareException": "",
"dishwasher": false,
"dishwasherException": "",
"indoorGrill": false,
"indoorGrillException": "",
"kettle": false,
"kettleException": "",
"kitchenAvailable": false,
"kitchenAvailableException": "",
"microwave": false,
"microwaveException": "",
"minibar": false,
"minibarException": "",
"outdoorGrill": false,
"outdoorGrillException": "",
"oven": false,
"ovenException": "",
"refrigerator": false,
"refrigeratorException": "",
"sink": false,
"sinkException": "",
"snackbar": false,
"snackbarException": "",
"stove": false,
"stoveException": "",
"teaStation": false,
"teaStationException": "",
"toaster": false,
"toasterException": ""
},
"features": {
"airConditioning": false,
"airConditioningException": "",
"bathtub": false,
"bathtubException": "",
"bidet": false,
"bidetException": "",
"dryer": false,
"dryerException": "",
"electronicRoomKey": false,
"electronicRoomKeyException": "",
"fireplace": false,
"fireplaceException": "",
"hairdryer": false,
"hairdryerException": "",
"heating": false,
"heatingException": "",
"inunitSafe": false,
"inunitSafeException": "",
"inunitWifiAvailable": false,
"inunitWifiAvailableException": "",
"ironingEquipment": false,
"ironingEquipmentException": "",
"payPerViewMovies": false,
"payPerViewMoviesException": "",
"privateBathroom": false,
"privateBathroomException": "",
"shower": false,
"showerException": "",
"toilet": false,
"toiletException": "",
"tv": false,
"tvCasting": false,
"tvCastingException": "",
"tvException": "",
"tvStreaming": false,
"tvStreamingException": "",
"universalPowerAdapters": false,
"universalPowerAdaptersException": "",
"washer": false,
"washerException": ""
},
"layout": {
"balcony": false,
"balconyException": "",
"livingAreaSqMeters": "",
"livingAreaSqMetersException": "",
"loft": false,
"loftException": "",
"nonSmoking": false,
"nonSmokingException": "",
"patio": false,
"patioException": "",
"stairs": false,
"stairsException": ""
},
"sleeping": {
"bedsCount": 0,
"bedsCountException": "",
"bunkBedsCount": 0,
"bunkBedsCountException": "",
"cribsCount": 0,
"cribsCountException": "",
"doubleBedsCount": 0,
"doubleBedsCountException": "",
"featherPillows": false,
"featherPillowsException": "",
"hypoallergenicBedding": false,
"hypoallergenicBeddingException": "",
"kingBedsCount": 0,
"kingBedsCountException": "",
"memoryFoamPillows": false,
"memoryFoamPillowsException": "",
"otherBedsCount": 0,
"otherBedsCountException": "",
"queenBedsCount": 0,
"queenBedsCountException": "",
"rollAwayBedsCount": 0,
"rollAwayBedsCountException": "",
"singleOrTwinBedsCount": 0,
"singleOrTwinBedsCountException": "",
"sofaBedsCount": 0,
"sofaBedsCountException": "",
"syntheticPillows": false,
"syntheticPillowsException": ""
}
},
"views": {
"beachView": false,
"beachViewException": "",
"cityView": false,
"cityViewException": "",
"gardenView": false,
"gardenViewException": "",
"lakeView": false,
"lakeViewException": "",
"landmarkView": false,
"landmarkViewException": "",
"oceanView": false,
"oceanViewException": "",
"poolView": false,
"poolViewException": "",
"valleyView": false,
"valleyViewException": ""
}
},
"business": {
"businessCenter": false,
"businessCenterException": "",
"meetingRooms": false,
"meetingRoomsCount": 0,
"meetingRoomsCountException": "",
"meetingRoomsException": ""
},
"commonLivingArea": {},
"connectivity": {
"freeWifi": false,
"freeWifiException": "",
"publicAreaWifiAvailable": false,
"publicAreaWifiAvailableException": "",
"publicInternetTerminal": false,
"publicInternetTerminalException": "",
"wifiAvailable": false,
"wifiAvailableException": ""
},
"families": {
"babysitting": false,
"babysittingException": "",
"kidsActivities": false,
"kidsActivitiesException": "",
"kidsClub": false,
"kidsClubException": "",
"kidsFriendly": false,
"kidsFriendlyException": ""
},
"foodAndDrink": {
"bar": false,
"barException": "",
"breakfastAvailable": false,
"breakfastAvailableException": "",
"breakfastBuffet": false,
"breakfastBuffetException": "",
"buffet": false,
"buffetException": "",
"dinnerBuffet": false,
"dinnerBuffetException": "",
"freeBreakfast": false,
"freeBreakfastException": "",
"restaurant": false,
"restaurantException": "",
"restaurantsCount": 0,
"restaurantsCountException": "",
"roomService": false,
"roomServiceException": "",
"tableService": false,
"tableServiceException": "",
"twentyFourHourRoomService": false,
"twentyFourHourRoomServiceException": "",
"vendingMachine": false,
"vendingMachineException": ""
},
"guestUnits": [
{
"codes": [],
"features": {},
"label": ""
}
],
"healthAndSafety": {
"enhancedCleaning": {
"commercialGradeDisinfectantCleaning": false,
"commercialGradeDisinfectantCleaningException": "",
"commonAreasEnhancedCleaning": false,
"commonAreasEnhancedCleaningException": "",
"employeesTrainedCleaningProcedures": false,
"employeesTrainedCleaningProceduresException": "",
"employeesTrainedThoroughHandWashing": false,
"employeesTrainedThoroughHandWashingException": "",
"employeesWearProtectiveEquipment": false,
"employeesWearProtectiveEquipmentException": "",
"guestRoomsEnhancedCleaning": false,
"guestRoomsEnhancedCleaningException": ""
},
"increasedFoodSafety": {
"diningAreasAdditionalSanitation": false,
"diningAreasAdditionalSanitationException": "",
"disposableFlatware": false,
"disposableFlatwareException": "",
"foodPreparationAndServingAdditionalSafety": false,
"foodPreparationAndServingAdditionalSafetyException": "",
"individualPackagedMeals": false,
"individualPackagedMealsException": "",
"singleUseFoodMenus": false,
"singleUseFoodMenusException": ""
},
"minimizedContact": {
"contactlessCheckinCheckout": false,
"contactlessCheckinCheckoutException": "",
"digitalGuestRoomKeys": false,
"digitalGuestRoomKeysException": "",
"housekeepingScheduledRequestOnly": false,
"housekeepingScheduledRequestOnlyException": "",
"noHighTouchItemsCommonAreas": false,
"noHighTouchItemsCommonAreasException": "",
"noHighTouchItemsGuestRooms": false,
"noHighTouchItemsGuestRoomsException": "",
"plasticKeycardsDisinfected": false,
"plasticKeycardsDisinfectedException": "",
"roomBookingsBuffer": false,
"roomBookingsBufferException": ""
},
"personalProtection": {
"commonAreasOfferSanitizingItems": false,
"commonAreasOfferSanitizingItemsException": "",
"faceMaskRequired": false,
"faceMaskRequiredException": "",
"guestRoomHygieneKitsAvailable": false,
"guestRoomHygieneKitsAvailableException": "",
"protectiveEquipmentAvailable": false,
"protectiveEquipmentAvailableException": ""
},
"physicalDistancing": {
"commonAreasPhysicalDistancingArranged": false,
"commonAreasPhysicalDistancingArrangedException": "",
"physicalDistancingRequired": false,
"physicalDistancingRequiredException": "",
"safetyDividers": false,
"safetyDividersException": "",
"sharedAreasLimitedOccupancy": false,
"sharedAreasLimitedOccupancyException": "",
"wellnessAreasHavePrivateSpaces": false,
"wellnessAreasHavePrivateSpacesException": ""
}
},
"housekeeping": {
"dailyHousekeeping": false,
"dailyHousekeepingException": "",
"housekeepingAvailable": false,
"housekeepingAvailableException": "",
"turndownService": false,
"turndownServiceException": ""
},
"metadata": {
"updateTime": ""
},
"name": "",
"parking": {
"electricCarChargingStations": false,
"electricCarChargingStationsException": "",
"freeParking": false,
"freeParkingException": "",
"freeSelfParking": false,
"freeSelfParkingException": "",
"freeValetParking": false,
"freeValetParkingException": "",
"parkingAvailable": false,
"parkingAvailableException": "",
"selfParkingAvailable": false,
"selfParkingAvailableException": "",
"valetParkingAvailable": false,
"valetParkingAvailableException": ""
},
"pets": {
"catsAllowed": false,
"catsAllowedException": "",
"dogsAllowed": false,
"dogsAllowedException": "",
"petsAllowed": false,
"petsAllowedException": "",
"petsAllowedFree": false,
"petsAllowedFreeException": ""
},
"policies": {
"allInclusiveAvailable": false,
"allInclusiveAvailableException": "",
"allInclusiveOnly": false,
"allInclusiveOnlyException": "",
"checkinTime": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0
},
"checkinTimeException": "",
"checkoutTime": {},
"checkoutTimeException": "",
"kidsStayFree": false,
"kidsStayFreeException": "",
"maxChildAge": 0,
"maxChildAgeException": "",
"maxKidsStayFreeCount": 0,
"maxKidsStayFreeCountException": "",
"paymentOptions": {
"cash": false,
"cashException": "",
"cheque": false,
"chequeException": "",
"creditCard": false,
"creditCardException": "",
"debitCard": false,
"debitCardException": "",
"mobileNfc": false,
"mobileNfcException": ""
},
"smokeFreeProperty": false,
"smokeFreePropertyException": ""
},
"pools": {
"adultPool": false,
"adultPoolException": "",
"hotTub": false,
"hotTubException": "",
"indoorPool": false,
"indoorPoolException": "",
"indoorPoolsCount": 0,
"indoorPoolsCountException": "",
"lazyRiver": false,
"lazyRiverException": "",
"lifeguard": false,
"lifeguardException": "",
"outdoorPool": false,
"outdoorPoolException": "",
"outdoorPoolsCount": 0,
"outdoorPoolsCountException": "",
"pool": false,
"poolException": "",
"poolsCount": 0,
"poolsCountException": "",
"wadingPool": false,
"wadingPoolException": "",
"waterPark": false,
"waterParkException": "",
"waterslide": false,
"waterslideException": "",
"wavePool": false,
"wavePoolException": ""
},
"property": {
"builtYear": 0,
"builtYearException": "",
"floorsCount": 0,
"floorsCountException": "",
"lastRenovatedYear": 0,
"lastRenovatedYearException": "",
"roomsCount": 0,
"roomsCountException": ""
},
"services": {
"baggageStorage": false,
"baggageStorageException": "",
"concierge": false,
"conciergeException": "",
"convenienceStore": false,
"convenienceStoreException": "",
"currencyExchange": false,
"currencyExchangeException": "",
"elevator": false,
"elevatorException": "",
"frontDesk": false,
"frontDeskException": "",
"fullServiceLaundry": false,
"fullServiceLaundryException": "",
"giftShop": false,
"giftShopException": "",
"languagesSpoken": [
{
"languageCode": "",
"spoken": false,
"spokenException": ""
}
],
"selfServiceLaundry": false,
"selfServiceLaundryException": "",
"socialHour": false,
"socialHourException": "",
"twentyFourHourFrontDesk": false,
"twentyFourHourFrontDeskException": "",
"wakeUpCalls": false,
"wakeUpCallsException": ""
},
"someUnits": {},
"sustainability": {
"energyEfficiency": {
"carbonFreeEnergySources": false,
"carbonFreeEnergySourcesException": "",
"energyConservationProgram": false,
"energyConservationProgramException": "",
"energyEfficientHeatingAndCoolingSystems": false,
"energyEfficientHeatingAndCoolingSystemsException": "",
"energyEfficientLighting": false,
"energyEfficientLightingException": "",
"energySavingThermostats": false,
"energySavingThermostatsException": "",
"greenBuildingDesign": false,
"greenBuildingDesignException": "",
"independentOrganizationAuditsEnergyUse": false,
"independentOrganizationAuditsEnergyUseException": ""
},
"sustainabilityCertifications": {
"breeamCertification": "",
"breeamCertificationException": "",
"ecoCertifications": [
{
"awarded": false,
"awardedException": "",
"ecoCertificate": ""
}
],
"leedCertification": "",
"leedCertificationException": ""
},
"sustainableSourcing": {
"ecoFriendlyToiletries": false,
"ecoFriendlyToiletriesException": "",
"locallySourcedFoodAndBeverages": false,
"locallySourcedFoodAndBeveragesException": "",
"organicCageFreeEggs": false,
"organicCageFreeEggsException": "",
"organicFoodAndBeverages": false,
"organicFoodAndBeveragesException": "",
"responsiblePurchasingPolicy": false,
"responsiblePurchasingPolicyException": "",
"responsiblySourcesSeafood": false,
"responsiblySourcesSeafoodException": "",
"veganMeals": false,
"veganMealsException": "",
"vegetarianMeals": false,
"vegetarianMealsException": ""
},
"wasteReduction": {
"compostableFoodContainersAndCutlery": false,
"compostableFoodContainersAndCutleryException": "",
"compostsExcessFood": false,
"compostsExcessFoodException": "",
"donatesExcessFood": false,
"donatesExcessFoodException": "",
"foodWasteReductionProgram": false,
"foodWasteReductionProgramException": "",
"noSingleUsePlasticStraws": false,
"noSingleUsePlasticStrawsException": "",
"noSingleUsePlasticWaterBottles": false,
"noSingleUsePlasticWaterBottlesException": "",
"noStyrofoamFoodContainers": false,
"noStyrofoamFoodContainersException": "",
"recyclingProgram": false,
"recyclingProgramException": "",
"refillableToiletryContainers": false,
"refillableToiletryContainersException": "",
"safelyDisposesBatteries": false,
"safelyDisposesBatteriesException": "",
"safelyDisposesElectronics": false,
"safelyDisposesElectronicsException": "",
"safelyDisposesLightbulbs": false,
"safelyDisposesLightbulbsException": "",
"safelyHandlesHazardousSubstances": false,
"safelyHandlesHazardousSubstancesException": "",
"soapDonationProgram": false,
"soapDonationProgramException": "",
"toiletryDonationProgram": false,
"toiletryDonationProgramException": "",
"waterBottleFillingStations": false,
"waterBottleFillingStationsException": ""
},
"waterConservation": {
"independentOrganizationAuditsWaterUse": false,
"independentOrganizationAuditsWaterUseException": "",
"linenReuseProgram": false,
"linenReuseProgramException": "",
"towelReuseProgram": false,
"towelReuseProgramException": "",
"waterSavingShowers": false,
"waterSavingShowersException": "",
"waterSavingSinks": false,
"waterSavingSinksException": "",
"waterSavingToilets": false,
"waterSavingToiletsException": ""
}
},
"transportation": {
"airportShuttle": false,
"airportShuttleException": "",
"carRentalOnProperty": false,
"carRentalOnPropertyException": "",
"freeAirportShuttle": false,
"freeAirportShuttleException": "",
"freePrivateCarService": false,
"freePrivateCarServiceException": "",
"localShuttle": false,
"localShuttleException": "",
"privateCarService": false,
"privateCarServiceException": "",
"transfer": false,
"transferException": ""
},
"wellness": {
"doctorOnCall": false,
"doctorOnCallException": "",
"ellipticalMachine": false,
"ellipticalMachineException": "",
"fitnessCenter": false,
"fitnessCenterException": "",
"freeFitnessCenter": false,
"freeFitnessCenterException": "",
"freeWeights": false,
"freeWeightsException": "",
"massage": false,
"massageException": "",
"salon": false,
"salonException": "",
"sauna": false,
"saunaException": "",
"spa": false,
"spaException": "",
"treadmill": false,
"treadmillException": "",
"weightMachine": false,
"weightMachineException": ""
}
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("PATCH", "{{baseUrl}}/v1/:name")
.setHeader("content-type", "application/json")
.setBody("{\n \"accessibility\": {\n \"mobilityAccessible\": false,\n \"mobilityAccessibleElevator\": false,\n \"mobilityAccessibleElevatorException\": \"\",\n \"mobilityAccessibleException\": \"\",\n \"mobilityAccessibleParking\": false,\n \"mobilityAccessibleParkingException\": \"\",\n \"mobilityAccessiblePool\": false,\n \"mobilityAccessiblePoolException\": \"\"\n },\n \"activities\": {\n \"beachAccess\": false,\n \"beachAccessException\": \"\",\n \"beachFront\": false,\n \"beachFrontException\": \"\",\n \"bicycleRental\": false,\n \"bicycleRentalException\": \"\",\n \"boutiqueStores\": false,\n \"boutiqueStoresException\": \"\",\n \"casino\": false,\n \"casinoException\": \"\",\n \"freeBicycleRental\": false,\n \"freeBicycleRentalException\": \"\",\n \"freeWatercraftRental\": false,\n \"freeWatercraftRentalException\": \"\",\n \"gameRoom\": false,\n \"gameRoomException\": \"\",\n \"golf\": false,\n \"golfException\": \"\",\n \"horsebackRiding\": false,\n \"horsebackRidingException\": \"\",\n \"nightclub\": false,\n \"nightclubException\": \"\",\n \"privateBeach\": false,\n \"privateBeachException\": \"\",\n \"scuba\": false,\n \"scubaException\": \"\",\n \"snorkeling\": false,\n \"snorkelingException\": \"\",\n \"tennis\": false,\n \"tennisException\": \"\",\n \"waterSkiing\": false,\n \"waterSkiingException\": \"\",\n \"watercraftRental\": false,\n \"watercraftRentalException\": \"\"\n },\n \"allUnits\": {\n \"bungalowOrVilla\": false,\n \"bungalowOrVillaException\": \"\",\n \"connectingUnitAvailable\": false,\n \"connectingUnitAvailableException\": \"\",\n \"executiveFloor\": false,\n \"executiveFloorException\": \"\",\n \"maxAdultOccupantsCount\": 0,\n \"maxAdultOccupantsCountException\": \"\",\n \"maxChildOccupantsCount\": 0,\n \"maxChildOccupantsCountException\": \"\",\n \"maxOccupantsCount\": 0,\n \"maxOccupantsCountException\": \"\",\n \"privateHome\": false,\n \"privateHomeException\": \"\",\n \"suite\": false,\n \"suiteException\": \"\",\n \"tier\": \"\",\n \"tierException\": \"\",\n \"totalLivingAreas\": {\n \"accessibility\": {\n \"adaCompliantUnit\": false,\n \"adaCompliantUnitException\": \"\",\n \"hearingAccessibleDoorbell\": false,\n \"hearingAccessibleDoorbellException\": \"\",\n \"hearingAccessibleFireAlarm\": false,\n \"hearingAccessibleFireAlarmException\": \"\",\n \"hearingAccessibleUnit\": false,\n \"hearingAccessibleUnitException\": \"\",\n \"mobilityAccessibleBathtub\": false,\n \"mobilityAccessibleBathtubException\": \"\",\n \"mobilityAccessibleShower\": false,\n \"mobilityAccessibleShowerException\": \"\",\n \"mobilityAccessibleToilet\": false,\n \"mobilityAccessibleToiletException\": \"\",\n \"mobilityAccessibleUnit\": false,\n \"mobilityAccessibleUnitException\": \"\"\n },\n \"eating\": {\n \"coffeeMaker\": false,\n \"coffeeMakerException\": \"\",\n \"cookware\": false,\n \"cookwareException\": \"\",\n \"dishwasher\": false,\n \"dishwasherException\": \"\",\n \"indoorGrill\": false,\n \"indoorGrillException\": \"\",\n \"kettle\": false,\n \"kettleException\": \"\",\n \"kitchenAvailable\": false,\n \"kitchenAvailableException\": \"\",\n \"microwave\": false,\n \"microwaveException\": \"\",\n \"minibar\": false,\n \"minibarException\": \"\",\n \"outdoorGrill\": false,\n \"outdoorGrillException\": \"\",\n \"oven\": false,\n \"ovenException\": \"\",\n \"refrigerator\": false,\n \"refrigeratorException\": \"\",\n \"sink\": false,\n \"sinkException\": \"\",\n \"snackbar\": false,\n \"snackbarException\": \"\",\n \"stove\": false,\n \"stoveException\": \"\",\n \"teaStation\": false,\n \"teaStationException\": \"\",\n \"toaster\": false,\n \"toasterException\": \"\"\n },\n \"features\": {\n \"airConditioning\": false,\n \"airConditioningException\": \"\",\n \"bathtub\": false,\n \"bathtubException\": \"\",\n \"bidet\": false,\n \"bidetException\": \"\",\n \"dryer\": false,\n \"dryerException\": \"\",\n \"electronicRoomKey\": false,\n \"electronicRoomKeyException\": \"\",\n \"fireplace\": false,\n \"fireplaceException\": \"\",\n \"hairdryer\": false,\n \"hairdryerException\": \"\",\n \"heating\": false,\n \"heatingException\": \"\",\n \"inunitSafe\": false,\n \"inunitSafeException\": \"\",\n \"inunitWifiAvailable\": false,\n \"inunitWifiAvailableException\": \"\",\n \"ironingEquipment\": false,\n \"ironingEquipmentException\": \"\",\n \"payPerViewMovies\": false,\n \"payPerViewMoviesException\": \"\",\n \"privateBathroom\": false,\n \"privateBathroomException\": \"\",\n \"shower\": false,\n \"showerException\": \"\",\n \"toilet\": false,\n \"toiletException\": \"\",\n \"tv\": false,\n \"tvCasting\": false,\n \"tvCastingException\": \"\",\n \"tvException\": \"\",\n \"tvStreaming\": false,\n \"tvStreamingException\": \"\",\n \"universalPowerAdapters\": false,\n \"universalPowerAdaptersException\": \"\",\n \"washer\": false,\n \"washerException\": \"\"\n },\n \"layout\": {\n \"balcony\": false,\n \"balconyException\": \"\",\n \"livingAreaSqMeters\": \"\",\n \"livingAreaSqMetersException\": \"\",\n \"loft\": false,\n \"loftException\": \"\",\n \"nonSmoking\": false,\n \"nonSmokingException\": \"\",\n \"patio\": false,\n \"patioException\": \"\",\n \"stairs\": false,\n \"stairsException\": \"\"\n },\n \"sleeping\": {\n \"bedsCount\": 0,\n \"bedsCountException\": \"\",\n \"bunkBedsCount\": 0,\n \"bunkBedsCountException\": \"\",\n \"cribsCount\": 0,\n \"cribsCountException\": \"\",\n \"doubleBedsCount\": 0,\n \"doubleBedsCountException\": \"\",\n \"featherPillows\": false,\n \"featherPillowsException\": \"\",\n \"hypoallergenicBedding\": false,\n \"hypoallergenicBeddingException\": \"\",\n \"kingBedsCount\": 0,\n \"kingBedsCountException\": \"\",\n \"memoryFoamPillows\": false,\n \"memoryFoamPillowsException\": \"\",\n \"otherBedsCount\": 0,\n \"otherBedsCountException\": \"\",\n \"queenBedsCount\": 0,\n \"queenBedsCountException\": \"\",\n \"rollAwayBedsCount\": 0,\n \"rollAwayBedsCountException\": \"\",\n \"singleOrTwinBedsCount\": 0,\n \"singleOrTwinBedsCountException\": \"\",\n \"sofaBedsCount\": 0,\n \"sofaBedsCountException\": \"\",\n \"syntheticPillows\": false,\n \"syntheticPillowsException\": \"\"\n }\n },\n \"views\": {\n \"beachView\": false,\n \"beachViewException\": \"\",\n \"cityView\": false,\n \"cityViewException\": \"\",\n \"gardenView\": false,\n \"gardenViewException\": \"\",\n \"lakeView\": false,\n \"lakeViewException\": \"\",\n \"landmarkView\": false,\n \"landmarkViewException\": \"\",\n \"oceanView\": false,\n \"oceanViewException\": \"\",\n \"poolView\": false,\n \"poolViewException\": \"\",\n \"valleyView\": false,\n \"valleyViewException\": \"\"\n }\n },\n \"business\": {\n \"businessCenter\": false,\n \"businessCenterException\": \"\",\n \"meetingRooms\": false,\n \"meetingRoomsCount\": 0,\n \"meetingRoomsCountException\": \"\",\n \"meetingRoomsException\": \"\"\n },\n \"commonLivingArea\": {},\n \"connectivity\": {\n \"freeWifi\": false,\n \"freeWifiException\": \"\",\n \"publicAreaWifiAvailable\": false,\n \"publicAreaWifiAvailableException\": \"\",\n \"publicInternetTerminal\": false,\n \"publicInternetTerminalException\": \"\",\n \"wifiAvailable\": false,\n \"wifiAvailableException\": \"\"\n },\n \"families\": {\n \"babysitting\": false,\n \"babysittingException\": \"\",\n \"kidsActivities\": false,\n \"kidsActivitiesException\": \"\",\n \"kidsClub\": false,\n \"kidsClubException\": \"\",\n \"kidsFriendly\": false,\n \"kidsFriendlyException\": \"\"\n },\n \"foodAndDrink\": {\n \"bar\": false,\n \"barException\": \"\",\n \"breakfastAvailable\": false,\n \"breakfastAvailableException\": \"\",\n \"breakfastBuffet\": false,\n \"breakfastBuffetException\": \"\",\n \"buffet\": false,\n \"buffetException\": \"\",\n \"dinnerBuffet\": false,\n \"dinnerBuffetException\": \"\",\n \"freeBreakfast\": false,\n \"freeBreakfastException\": \"\",\n \"restaurant\": false,\n \"restaurantException\": \"\",\n \"restaurantsCount\": 0,\n \"restaurantsCountException\": \"\",\n \"roomService\": false,\n \"roomServiceException\": \"\",\n \"tableService\": false,\n \"tableServiceException\": \"\",\n \"twentyFourHourRoomService\": false,\n \"twentyFourHourRoomServiceException\": \"\",\n \"vendingMachine\": false,\n \"vendingMachineException\": \"\"\n },\n \"guestUnits\": [\n {\n \"codes\": [],\n \"features\": {},\n \"label\": \"\"\n }\n ],\n \"healthAndSafety\": {\n \"enhancedCleaning\": {\n \"commercialGradeDisinfectantCleaning\": false,\n \"commercialGradeDisinfectantCleaningException\": \"\",\n \"commonAreasEnhancedCleaning\": false,\n \"commonAreasEnhancedCleaningException\": \"\",\n \"employeesTrainedCleaningProcedures\": false,\n \"employeesTrainedCleaningProceduresException\": \"\",\n \"employeesTrainedThoroughHandWashing\": false,\n \"employeesTrainedThoroughHandWashingException\": \"\",\n \"employeesWearProtectiveEquipment\": false,\n \"employeesWearProtectiveEquipmentException\": \"\",\n \"guestRoomsEnhancedCleaning\": false,\n \"guestRoomsEnhancedCleaningException\": \"\"\n },\n \"increasedFoodSafety\": {\n \"diningAreasAdditionalSanitation\": false,\n \"diningAreasAdditionalSanitationException\": \"\",\n \"disposableFlatware\": false,\n \"disposableFlatwareException\": \"\",\n \"foodPreparationAndServingAdditionalSafety\": false,\n \"foodPreparationAndServingAdditionalSafetyException\": \"\",\n \"individualPackagedMeals\": false,\n \"individualPackagedMealsException\": \"\",\n \"singleUseFoodMenus\": false,\n \"singleUseFoodMenusException\": \"\"\n },\n \"minimizedContact\": {\n \"contactlessCheckinCheckout\": false,\n \"contactlessCheckinCheckoutException\": \"\",\n \"digitalGuestRoomKeys\": false,\n \"digitalGuestRoomKeysException\": \"\",\n \"housekeepingScheduledRequestOnly\": false,\n \"housekeepingScheduledRequestOnlyException\": \"\",\n \"noHighTouchItemsCommonAreas\": false,\n \"noHighTouchItemsCommonAreasException\": \"\",\n \"noHighTouchItemsGuestRooms\": false,\n \"noHighTouchItemsGuestRoomsException\": \"\",\n \"plasticKeycardsDisinfected\": false,\n \"plasticKeycardsDisinfectedException\": \"\",\n \"roomBookingsBuffer\": false,\n \"roomBookingsBufferException\": \"\"\n },\n \"personalProtection\": {\n \"commonAreasOfferSanitizingItems\": false,\n \"commonAreasOfferSanitizingItemsException\": \"\",\n \"faceMaskRequired\": false,\n \"faceMaskRequiredException\": \"\",\n \"guestRoomHygieneKitsAvailable\": false,\n \"guestRoomHygieneKitsAvailableException\": \"\",\n \"protectiveEquipmentAvailable\": false,\n \"protectiveEquipmentAvailableException\": \"\"\n },\n \"physicalDistancing\": {\n \"commonAreasPhysicalDistancingArranged\": false,\n \"commonAreasPhysicalDistancingArrangedException\": \"\",\n \"physicalDistancingRequired\": false,\n \"physicalDistancingRequiredException\": \"\",\n \"safetyDividers\": false,\n \"safetyDividersException\": \"\",\n \"sharedAreasLimitedOccupancy\": false,\n \"sharedAreasLimitedOccupancyException\": \"\",\n \"wellnessAreasHavePrivateSpaces\": false,\n \"wellnessAreasHavePrivateSpacesException\": \"\"\n }\n },\n \"housekeeping\": {\n \"dailyHousekeeping\": false,\n \"dailyHousekeepingException\": \"\",\n \"housekeepingAvailable\": false,\n \"housekeepingAvailableException\": \"\",\n \"turndownService\": false,\n \"turndownServiceException\": \"\"\n },\n \"metadata\": {\n \"updateTime\": \"\"\n },\n \"name\": \"\",\n \"parking\": {\n \"electricCarChargingStations\": false,\n \"electricCarChargingStationsException\": \"\",\n \"freeParking\": false,\n \"freeParkingException\": \"\",\n \"freeSelfParking\": false,\n \"freeSelfParkingException\": \"\",\n \"freeValetParking\": false,\n \"freeValetParkingException\": \"\",\n \"parkingAvailable\": false,\n \"parkingAvailableException\": \"\",\n \"selfParkingAvailable\": false,\n \"selfParkingAvailableException\": \"\",\n \"valetParkingAvailable\": false,\n \"valetParkingAvailableException\": \"\"\n },\n \"pets\": {\n \"catsAllowed\": false,\n \"catsAllowedException\": \"\",\n \"dogsAllowed\": false,\n \"dogsAllowedException\": \"\",\n \"petsAllowed\": false,\n \"petsAllowedException\": \"\",\n \"petsAllowedFree\": false,\n \"petsAllowedFreeException\": \"\"\n },\n \"policies\": {\n \"allInclusiveAvailable\": false,\n \"allInclusiveAvailableException\": \"\",\n \"allInclusiveOnly\": false,\n \"allInclusiveOnlyException\": \"\",\n \"checkinTime\": {\n \"hours\": 0,\n \"minutes\": 0,\n \"nanos\": 0,\n \"seconds\": 0\n },\n \"checkinTimeException\": \"\",\n \"checkoutTime\": {},\n \"checkoutTimeException\": \"\",\n \"kidsStayFree\": false,\n \"kidsStayFreeException\": \"\",\n \"maxChildAge\": 0,\n \"maxChildAgeException\": \"\",\n \"maxKidsStayFreeCount\": 0,\n \"maxKidsStayFreeCountException\": \"\",\n \"paymentOptions\": {\n \"cash\": false,\n \"cashException\": \"\",\n \"cheque\": false,\n \"chequeException\": \"\",\n \"creditCard\": false,\n \"creditCardException\": \"\",\n \"debitCard\": false,\n \"debitCardException\": \"\",\n \"mobileNfc\": false,\n \"mobileNfcException\": \"\"\n },\n \"smokeFreeProperty\": false,\n \"smokeFreePropertyException\": \"\"\n },\n \"pools\": {\n \"adultPool\": false,\n \"adultPoolException\": \"\",\n \"hotTub\": false,\n \"hotTubException\": \"\",\n \"indoorPool\": false,\n \"indoorPoolException\": \"\",\n \"indoorPoolsCount\": 0,\n \"indoorPoolsCountException\": \"\",\n \"lazyRiver\": false,\n \"lazyRiverException\": \"\",\n \"lifeguard\": false,\n \"lifeguardException\": \"\",\n \"outdoorPool\": false,\n \"outdoorPoolException\": \"\",\n \"outdoorPoolsCount\": 0,\n \"outdoorPoolsCountException\": \"\",\n \"pool\": false,\n \"poolException\": \"\",\n \"poolsCount\": 0,\n \"poolsCountException\": \"\",\n \"wadingPool\": false,\n \"wadingPoolException\": \"\",\n \"waterPark\": false,\n \"waterParkException\": \"\",\n \"waterslide\": false,\n \"waterslideException\": \"\",\n \"wavePool\": false,\n \"wavePoolException\": \"\"\n },\n \"property\": {\n \"builtYear\": 0,\n \"builtYearException\": \"\",\n \"floorsCount\": 0,\n \"floorsCountException\": \"\",\n \"lastRenovatedYear\": 0,\n \"lastRenovatedYearException\": \"\",\n \"roomsCount\": 0,\n \"roomsCountException\": \"\"\n },\n \"services\": {\n \"baggageStorage\": false,\n \"baggageStorageException\": \"\",\n \"concierge\": false,\n \"conciergeException\": \"\",\n \"convenienceStore\": false,\n \"convenienceStoreException\": \"\",\n \"currencyExchange\": false,\n \"currencyExchangeException\": \"\",\n \"elevator\": false,\n \"elevatorException\": \"\",\n \"frontDesk\": false,\n \"frontDeskException\": \"\",\n \"fullServiceLaundry\": false,\n \"fullServiceLaundryException\": \"\",\n \"giftShop\": false,\n \"giftShopException\": \"\",\n \"languagesSpoken\": [\n {\n \"languageCode\": \"\",\n \"spoken\": false,\n \"spokenException\": \"\"\n }\n ],\n \"selfServiceLaundry\": false,\n \"selfServiceLaundryException\": \"\",\n \"socialHour\": false,\n \"socialHourException\": \"\",\n \"twentyFourHourFrontDesk\": false,\n \"twentyFourHourFrontDeskException\": \"\",\n \"wakeUpCalls\": false,\n \"wakeUpCallsException\": \"\"\n },\n \"someUnits\": {},\n \"sustainability\": {\n \"energyEfficiency\": {\n \"carbonFreeEnergySources\": false,\n \"carbonFreeEnergySourcesException\": \"\",\n \"energyConservationProgram\": false,\n \"energyConservationProgramException\": \"\",\n \"energyEfficientHeatingAndCoolingSystems\": false,\n \"energyEfficientHeatingAndCoolingSystemsException\": \"\",\n \"energyEfficientLighting\": false,\n \"energyEfficientLightingException\": \"\",\n \"energySavingThermostats\": false,\n \"energySavingThermostatsException\": \"\",\n \"greenBuildingDesign\": false,\n \"greenBuildingDesignException\": \"\",\n \"independentOrganizationAuditsEnergyUse\": false,\n \"independentOrganizationAuditsEnergyUseException\": \"\"\n },\n \"sustainabilityCertifications\": {\n \"breeamCertification\": \"\",\n \"breeamCertificationException\": \"\",\n \"ecoCertifications\": [\n {\n \"awarded\": false,\n \"awardedException\": \"\",\n \"ecoCertificate\": \"\"\n }\n ],\n \"leedCertification\": \"\",\n \"leedCertificationException\": \"\"\n },\n \"sustainableSourcing\": {\n \"ecoFriendlyToiletries\": false,\n \"ecoFriendlyToiletriesException\": \"\",\n \"locallySourcedFoodAndBeverages\": false,\n \"locallySourcedFoodAndBeveragesException\": \"\",\n \"organicCageFreeEggs\": false,\n \"organicCageFreeEggsException\": \"\",\n \"organicFoodAndBeverages\": false,\n \"organicFoodAndBeveragesException\": \"\",\n \"responsiblePurchasingPolicy\": false,\n \"responsiblePurchasingPolicyException\": \"\",\n \"responsiblySourcesSeafood\": false,\n \"responsiblySourcesSeafoodException\": \"\",\n \"veganMeals\": false,\n \"veganMealsException\": \"\",\n \"vegetarianMeals\": false,\n \"vegetarianMealsException\": \"\"\n },\n \"wasteReduction\": {\n \"compostableFoodContainersAndCutlery\": false,\n \"compostableFoodContainersAndCutleryException\": \"\",\n \"compostsExcessFood\": false,\n \"compostsExcessFoodException\": \"\",\n \"donatesExcessFood\": false,\n \"donatesExcessFoodException\": \"\",\n \"foodWasteReductionProgram\": false,\n \"foodWasteReductionProgramException\": \"\",\n \"noSingleUsePlasticStraws\": false,\n \"noSingleUsePlasticStrawsException\": \"\",\n \"noSingleUsePlasticWaterBottles\": false,\n \"noSingleUsePlasticWaterBottlesException\": \"\",\n \"noStyrofoamFoodContainers\": false,\n \"noStyrofoamFoodContainersException\": \"\",\n \"recyclingProgram\": false,\n \"recyclingProgramException\": \"\",\n \"refillableToiletryContainers\": false,\n \"refillableToiletryContainersException\": \"\",\n \"safelyDisposesBatteries\": false,\n \"safelyDisposesBatteriesException\": \"\",\n \"safelyDisposesElectronics\": false,\n \"safelyDisposesElectronicsException\": \"\",\n \"safelyDisposesLightbulbs\": false,\n \"safelyDisposesLightbulbsException\": \"\",\n \"safelyHandlesHazardousSubstances\": false,\n \"safelyHandlesHazardousSubstancesException\": \"\",\n \"soapDonationProgram\": false,\n \"soapDonationProgramException\": \"\",\n \"toiletryDonationProgram\": false,\n \"toiletryDonationProgramException\": \"\",\n \"waterBottleFillingStations\": false,\n \"waterBottleFillingStationsException\": \"\"\n },\n \"waterConservation\": {\n \"independentOrganizationAuditsWaterUse\": false,\n \"independentOrganizationAuditsWaterUseException\": \"\",\n \"linenReuseProgram\": false,\n \"linenReuseProgramException\": \"\",\n \"towelReuseProgram\": false,\n \"towelReuseProgramException\": \"\",\n \"waterSavingShowers\": false,\n \"waterSavingShowersException\": \"\",\n \"waterSavingSinks\": false,\n \"waterSavingSinksException\": \"\",\n \"waterSavingToilets\": false,\n \"waterSavingToiletsException\": \"\"\n }\n },\n \"transportation\": {\n \"airportShuttle\": false,\n \"airportShuttleException\": \"\",\n \"carRentalOnProperty\": false,\n \"carRentalOnPropertyException\": \"\",\n \"freeAirportShuttle\": false,\n \"freeAirportShuttleException\": \"\",\n \"freePrivateCarService\": false,\n \"freePrivateCarServiceException\": \"\",\n \"localShuttle\": false,\n \"localShuttleException\": \"\",\n \"privateCarService\": false,\n \"privateCarServiceException\": \"\",\n \"transfer\": false,\n \"transferException\": \"\"\n },\n \"wellness\": {\n \"doctorOnCall\": false,\n \"doctorOnCallException\": \"\",\n \"ellipticalMachine\": false,\n \"ellipticalMachineException\": \"\",\n \"fitnessCenter\": false,\n \"fitnessCenterException\": \"\",\n \"freeFitnessCenter\": false,\n \"freeFitnessCenterException\": \"\",\n \"freeWeights\": false,\n \"freeWeightsException\": \"\",\n \"massage\": false,\n \"massageException\": \"\",\n \"salon\": false,\n \"salonException\": \"\",\n \"sauna\": false,\n \"saunaException\": \"\",\n \"spa\": false,\n \"spaException\": \"\",\n \"treadmill\": false,\n \"treadmillException\": \"\",\n \"weightMachine\": false,\n \"weightMachineException\": \"\"\n }\n}")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/v1/:name"))
.header("content-type", "application/json")
.method("PATCH", HttpRequest.BodyPublishers.ofString("{\n \"accessibility\": {\n \"mobilityAccessible\": false,\n \"mobilityAccessibleElevator\": false,\n \"mobilityAccessibleElevatorException\": \"\",\n \"mobilityAccessibleException\": \"\",\n \"mobilityAccessibleParking\": false,\n \"mobilityAccessibleParkingException\": \"\",\n \"mobilityAccessiblePool\": false,\n \"mobilityAccessiblePoolException\": \"\"\n },\n \"activities\": {\n \"beachAccess\": false,\n \"beachAccessException\": \"\",\n \"beachFront\": false,\n \"beachFrontException\": \"\",\n \"bicycleRental\": false,\n \"bicycleRentalException\": \"\",\n \"boutiqueStores\": false,\n \"boutiqueStoresException\": \"\",\n \"casino\": false,\n \"casinoException\": \"\",\n \"freeBicycleRental\": false,\n \"freeBicycleRentalException\": \"\",\n \"freeWatercraftRental\": false,\n \"freeWatercraftRentalException\": \"\",\n \"gameRoom\": false,\n \"gameRoomException\": \"\",\n \"golf\": false,\n \"golfException\": \"\",\n \"horsebackRiding\": false,\n \"horsebackRidingException\": \"\",\n \"nightclub\": false,\n \"nightclubException\": \"\",\n \"privateBeach\": false,\n \"privateBeachException\": \"\",\n \"scuba\": false,\n \"scubaException\": \"\",\n \"snorkeling\": false,\n \"snorkelingException\": \"\",\n \"tennis\": false,\n \"tennisException\": \"\",\n \"waterSkiing\": false,\n \"waterSkiingException\": \"\",\n \"watercraftRental\": false,\n \"watercraftRentalException\": \"\"\n },\n \"allUnits\": {\n \"bungalowOrVilla\": false,\n \"bungalowOrVillaException\": \"\",\n \"connectingUnitAvailable\": false,\n \"connectingUnitAvailableException\": \"\",\n \"executiveFloor\": false,\n \"executiveFloorException\": \"\",\n \"maxAdultOccupantsCount\": 0,\n \"maxAdultOccupantsCountException\": \"\",\n \"maxChildOccupantsCount\": 0,\n \"maxChildOccupantsCountException\": \"\",\n \"maxOccupantsCount\": 0,\n \"maxOccupantsCountException\": \"\",\n \"privateHome\": false,\n \"privateHomeException\": \"\",\n \"suite\": false,\n \"suiteException\": \"\",\n \"tier\": \"\",\n \"tierException\": \"\",\n \"totalLivingAreas\": {\n \"accessibility\": {\n \"adaCompliantUnit\": false,\n \"adaCompliantUnitException\": \"\",\n \"hearingAccessibleDoorbell\": false,\n \"hearingAccessibleDoorbellException\": \"\",\n \"hearingAccessibleFireAlarm\": false,\n \"hearingAccessibleFireAlarmException\": \"\",\n \"hearingAccessibleUnit\": false,\n \"hearingAccessibleUnitException\": \"\",\n \"mobilityAccessibleBathtub\": false,\n \"mobilityAccessibleBathtubException\": \"\",\n \"mobilityAccessibleShower\": false,\n \"mobilityAccessibleShowerException\": \"\",\n \"mobilityAccessibleToilet\": false,\n \"mobilityAccessibleToiletException\": \"\",\n \"mobilityAccessibleUnit\": false,\n \"mobilityAccessibleUnitException\": \"\"\n },\n \"eating\": {\n \"coffeeMaker\": false,\n \"coffeeMakerException\": \"\",\n \"cookware\": false,\n \"cookwareException\": \"\",\n \"dishwasher\": false,\n \"dishwasherException\": \"\",\n \"indoorGrill\": false,\n \"indoorGrillException\": \"\",\n \"kettle\": false,\n \"kettleException\": \"\",\n \"kitchenAvailable\": false,\n \"kitchenAvailableException\": \"\",\n \"microwave\": false,\n \"microwaveException\": \"\",\n \"minibar\": false,\n \"minibarException\": \"\",\n \"outdoorGrill\": false,\n \"outdoorGrillException\": \"\",\n \"oven\": false,\n \"ovenException\": \"\",\n \"refrigerator\": false,\n \"refrigeratorException\": \"\",\n \"sink\": false,\n \"sinkException\": \"\",\n \"snackbar\": false,\n \"snackbarException\": \"\",\n \"stove\": false,\n \"stoveException\": \"\",\n \"teaStation\": false,\n \"teaStationException\": \"\",\n \"toaster\": false,\n \"toasterException\": \"\"\n },\n \"features\": {\n \"airConditioning\": false,\n \"airConditioningException\": \"\",\n \"bathtub\": false,\n \"bathtubException\": \"\",\n \"bidet\": false,\n \"bidetException\": \"\",\n \"dryer\": false,\n \"dryerException\": \"\",\n \"electronicRoomKey\": false,\n \"electronicRoomKeyException\": \"\",\n \"fireplace\": false,\n \"fireplaceException\": \"\",\n \"hairdryer\": false,\n \"hairdryerException\": \"\",\n \"heating\": false,\n \"heatingException\": \"\",\n \"inunitSafe\": false,\n \"inunitSafeException\": \"\",\n \"inunitWifiAvailable\": false,\n \"inunitWifiAvailableException\": \"\",\n \"ironingEquipment\": false,\n \"ironingEquipmentException\": \"\",\n \"payPerViewMovies\": false,\n \"payPerViewMoviesException\": \"\",\n \"privateBathroom\": false,\n \"privateBathroomException\": \"\",\n \"shower\": false,\n \"showerException\": \"\",\n \"toilet\": false,\n \"toiletException\": \"\",\n \"tv\": false,\n \"tvCasting\": false,\n \"tvCastingException\": \"\",\n \"tvException\": \"\",\n \"tvStreaming\": false,\n \"tvStreamingException\": \"\",\n \"universalPowerAdapters\": false,\n \"universalPowerAdaptersException\": \"\",\n \"washer\": false,\n \"washerException\": \"\"\n },\n \"layout\": {\n \"balcony\": false,\n \"balconyException\": \"\",\n \"livingAreaSqMeters\": \"\",\n \"livingAreaSqMetersException\": \"\",\n \"loft\": false,\n \"loftException\": \"\",\n \"nonSmoking\": false,\n \"nonSmokingException\": \"\",\n \"patio\": false,\n \"patioException\": \"\",\n \"stairs\": false,\n \"stairsException\": \"\"\n },\n \"sleeping\": {\n \"bedsCount\": 0,\n \"bedsCountException\": \"\",\n \"bunkBedsCount\": 0,\n \"bunkBedsCountException\": \"\",\n \"cribsCount\": 0,\n \"cribsCountException\": \"\",\n \"doubleBedsCount\": 0,\n \"doubleBedsCountException\": \"\",\n \"featherPillows\": false,\n \"featherPillowsException\": \"\",\n \"hypoallergenicBedding\": false,\n \"hypoallergenicBeddingException\": \"\",\n \"kingBedsCount\": 0,\n \"kingBedsCountException\": \"\",\n \"memoryFoamPillows\": false,\n \"memoryFoamPillowsException\": \"\",\n \"otherBedsCount\": 0,\n \"otherBedsCountException\": \"\",\n \"queenBedsCount\": 0,\n \"queenBedsCountException\": \"\",\n \"rollAwayBedsCount\": 0,\n \"rollAwayBedsCountException\": \"\",\n \"singleOrTwinBedsCount\": 0,\n \"singleOrTwinBedsCountException\": \"\",\n \"sofaBedsCount\": 0,\n \"sofaBedsCountException\": \"\",\n \"syntheticPillows\": false,\n \"syntheticPillowsException\": \"\"\n }\n },\n \"views\": {\n \"beachView\": false,\n \"beachViewException\": \"\",\n \"cityView\": false,\n \"cityViewException\": \"\",\n \"gardenView\": false,\n \"gardenViewException\": \"\",\n \"lakeView\": false,\n \"lakeViewException\": \"\",\n \"landmarkView\": false,\n \"landmarkViewException\": \"\",\n \"oceanView\": false,\n \"oceanViewException\": \"\",\n \"poolView\": false,\n \"poolViewException\": \"\",\n \"valleyView\": false,\n \"valleyViewException\": \"\"\n }\n },\n \"business\": {\n \"businessCenter\": false,\n \"businessCenterException\": \"\",\n \"meetingRooms\": false,\n \"meetingRoomsCount\": 0,\n \"meetingRoomsCountException\": \"\",\n \"meetingRoomsException\": \"\"\n },\n \"commonLivingArea\": {},\n \"connectivity\": {\n \"freeWifi\": false,\n \"freeWifiException\": \"\",\n \"publicAreaWifiAvailable\": false,\n \"publicAreaWifiAvailableException\": \"\",\n \"publicInternetTerminal\": false,\n \"publicInternetTerminalException\": \"\",\n \"wifiAvailable\": false,\n \"wifiAvailableException\": \"\"\n },\n \"families\": {\n \"babysitting\": false,\n \"babysittingException\": \"\",\n \"kidsActivities\": false,\n \"kidsActivitiesException\": \"\",\n \"kidsClub\": false,\n \"kidsClubException\": \"\",\n \"kidsFriendly\": false,\n \"kidsFriendlyException\": \"\"\n },\n \"foodAndDrink\": {\n \"bar\": false,\n \"barException\": \"\",\n \"breakfastAvailable\": false,\n \"breakfastAvailableException\": \"\",\n \"breakfastBuffet\": false,\n \"breakfastBuffetException\": \"\",\n \"buffet\": false,\n \"buffetException\": \"\",\n \"dinnerBuffet\": false,\n \"dinnerBuffetException\": \"\",\n \"freeBreakfast\": false,\n \"freeBreakfastException\": \"\",\n \"restaurant\": false,\n \"restaurantException\": \"\",\n \"restaurantsCount\": 0,\n \"restaurantsCountException\": \"\",\n \"roomService\": false,\n \"roomServiceException\": \"\",\n \"tableService\": false,\n \"tableServiceException\": \"\",\n \"twentyFourHourRoomService\": false,\n \"twentyFourHourRoomServiceException\": \"\",\n \"vendingMachine\": false,\n \"vendingMachineException\": \"\"\n },\n \"guestUnits\": [\n {\n \"codes\": [],\n \"features\": {},\n \"label\": \"\"\n }\n ],\n \"healthAndSafety\": {\n \"enhancedCleaning\": {\n \"commercialGradeDisinfectantCleaning\": false,\n \"commercialGradeDisinfectantCleaningException\": \"\",\n \"commonAreasEnhancedCleaning\": false,\n \"commonAreasEnhancedCleaningException\": \"\",\n \"employeesTrainedCleaningProcedures\": false,\n \"employeesTrainedCleaningProceduresException\": \"\",\n \"employeesTrainedThoroughHandWashing\": false,\n \"employeesTrainedThoroughHandWashingException\": \"\",\n \"employeesWearProtectiveEquipment\": false,\n \"employeesWearProtectiveEquipmentException\": \"\",\n \"guestRoomsEnhancedCleaning\": false,\n \"guestRoomsEnhancedCleaningException\": \"\"\n },\n \"increasedFoodSafety\": {\n \"diningAreasAdditionalSanitation\": false,\n \"diningAreasAdditionalSanitationException\": \"\",\n \"disposableFlatware\": false,\n \"disposableFlatwareException\": \"\",\n \"foodPreparationAndServingAdditionalSafety\": false,\n \"foodPreparationAndServingAdditionalSafetyException\": \"\",\n \"individualPackagedMeals\": false,\n \"individualPackagedMealsException\": \"\",\n \"singleUseFoodMenus\": false,\n \"singleUseFoodMenusException\": \"\"\n },\n \"minimizedContact\": {\n \"contactlessCheckinCheckout\": false,\n \"contactlessCheckinCheckoutException\": \"\",\n \"digitalGuestRoomKeys\": false,\n \"digitalGuestRoomKeysException\": \"\",\n \"housekeepingScheduledRequestOnly\": false,\n \"housekeepingScheduledRequestOnlyException\": \"\",\n \"noHighTouchItemsCommonAreas\": false,\n \"noHighTouchItemsCommonAreasException\": \"\",\n \"noHighTouchItemsGuestRooms\": false,\n \"noHighTouchItemsGuestRoomsException\": \"\",\n \"plasticKeycardsDisinfected\": false,\n \"plasticKeycardsDisinfectedException\": \"\",\n \"roomBookingsBuffer\": false,\n \"roomBookingsBufferException\": \"\"\n },\n \"personalProtection\": {\n \"commonAreasOfferSanitizingItems\": false,\n \"commonAreasOfferSanitizingItemsException\": \"\",\n \"faceMaskRequired\": false,\n \"faceMaskRequiredException\": \"\",\n \"guestRoomHygieneKitsAvailable\": false,\n \"guestRoomHygieneKitsAvailableException\": \"\",\n \"protectiveEquipmentAvailable\": false,\n \"protectiveEquipmentAvailableException\": \"\"\n },\n \"physicalDistancing\": {\n \"commonAreasPhysicalDistancingArranged\": false,\n \"commonAreasPhysicalDistancingArrangedException\": \"\",\n \"physicalDistancingRequired\": false,\n \"physicalDistancingRequiredException\": \"\",\n \"safetyDividers\": false,\n \"safetyDividersException\": \"\",\n \"sharedAreasLimitedOccupancy\": false,\n \"sharedAreasLimitedOccupancyException\": \"\",\n \"wellnessAreasHavePrivateSpaces\": false,\n \"wellnessAreasHavePrivateSpacesException\": \"\"\n }\n },\n \"housekeeping\": {\n \"dailyHousekeeping\": false,\n \"dailyHousekeepingException\": \"\",\n \"housekeepingAvailable\": false,\n \"housekeepingAvailableException\": \"\",\n \"turndownService\": false,\n \"turndownServiceException\": \"\"\n },\n \"metadata\": {\n \"updateTime\": \"\"\n },\n \"name\": \"\",\n \"parking\": {\n \"electricCarChargingStations\": false,\n \"electricCarChargingStationsException\": \"\",\n \"freeParking\": false,\n \"freeParkingException\": \"\",\n \"freeSelfParking\": false,\n \"freeSelfParkingException\": \"\",\n \"freeValetParking\": false,\n \"freeValetParkingException\": \"\",\n \"parkingAvailable\": false,\n \"parkingAvailableException\": \"\",\n \"selfParkingAvailable\": false,\n \"selfParkingAvailableException\": \"\",\n \"valetParkingAvailable\": false,\n \"valetParkingAvailableException\": \"\"\n },\n \"pets\": {\n \"catsAllowed\": false,\n \"catsAllowedException\": \"\",\n \"dogsAllowed\": false,\n \"dogsAllowedException\": \"\",\n \"petsAllowed\": false,\n \"petsAllowedException\": \"\",\n \"petsAllowedFree\": false,\n \"petsAllowedFreeException\": \"\"\n },\n \"policies\": {\n \"allInclusiveAvailable\": false,\n \"allInclusiveAvailableException\": \"\",\n \"allInclusiveOnly\": false,\n \"allInclusiveOnlyException\": \"\",\n \"checkinTime\": {\n \"hours\": 0,\n \"minutes\": 0,\n \"nanos\": 0,\n \"seconds\": 0\n },\n \"checkinTimeException\": \"\",\n \"checkoutTime\": {},\n \"checkoutTimeException\": \"\",\n \"kidsStayFree\": false,\n \"kidsStayFreeException\": \"\",\n \"maxChildAge\": 0,\n \"maxChildAgeException\": \"\",\n \"maxKidsStayFreeCount\": 0,\n \"maxKidsStayFreeCountException\": \"\",\n \"paymentOptions\": {\n \"cash\": false,\n \"cashException\": \"\",\n \"cheque\": false,\n \"chequeException\": \"\",\n \"creditCard\": false,\n \"creditCardException\": \"\",\n \"debitCard\": false,\n \"debitCardException\": \"\",\n \"mobileNfc\": false,\n \"mobileNfcException\": \"\"\n },\n \"smokeFreeProperty\": false,\n \"smokeFreePropertyException\": \"\"\n },\n \"pools\": {\n \"adultPool\": false,\n \"adultPoolException\": \"\",\n \"hotTub\": false,\n \"hotTubException\": \"\",\n \"indoorPool\": false,\n \"indoorPoolException\": \"\",\n \"indoorPoolsCount\": 0,\n \"indoorPoolsCountException\": \"\",\n \"lazyRiver\": false,\n \"lazyRiverException\": \"\",\n \"lifeguard\": false,\n \"lifeguardException\": \"\",\n \"outdoorPool\": false,\n \"outdoorPoolException\": \"\",\n \"outdoorPoolsCount\": 0,\n \"outdoorPoolsCountException\": \"\",\n \"pool\": false,\n \"poolException\": \"\",\n \"poolsCount\": 0,\n \"poolsCountException\": \"\",\n \"wadingPool\": false,\n \"wadingPoolException\": \"\",\n \"waterPark\": false,\n \"waterParkException\": \"\",\n \"waterslide\": false,\n \"waterslideException\": \"\",\n \"wavePool\": false,\n \"wavePoolException\": \"\"\n },\n \"property\": {\n \"builtYear\": 0,\n \"builtYearException\": \"\",\n \"floorsCount\": 0,\n \"floorsCountException\": \"\",\n \"lastRenovatedYear\": 0,\n \"lastRenovatedYearException\": \"\",\n \"roomsCount\": 0,\n \"roomsCountException\": \"\"\n },\n \"services\": {\n \"baggageStorage\": false,\n \"baggageStorageException\": \"\",\n \"concierge\": false,\n \"conciergeException\": \"\",\n \"convenienceStore\": false,\n \"convenienceStoreException\": \"\",\n \"currencyExchange\": false,\n \"currencyExchangeException\": \"\",\n \"elevator\": false,\n \"elevatorException\": \"\",\n \"frontDesk\": false,\n \"frontDeskException\": \"\",\n \"fullServiceLaundry\": false,\n \"fullServiceLaundryException\": \"\",\n \"giftShop\": false,\n \"giftShopException\": \"\",\n \"languagesSpoken\": [\n {\n \"languageCode\": \"\",\n \"spoken\": false,\n \"spokenException\": \"\"\n }\n ],\n \"selfServiceLaundry\": false,\n \"selfServiceLaundryException\": \"\",\n \"socialHour\": false,\n \"socialHourException\": \"\",\n \"twentyFourHourFrontDesk\": false,\n \"twentyFourHourFrontDeskException\": \"\",\n \"wakeUpCalls\": false,\n \"wakeUpCallsException\": \"\"\n },\n \"someUnits\": {},\n \"sustainability\": {\n \"energyEfficiency\": {\n \"carbonFreeEnergySources\": false,\n \"carbonFreeEnergySourcesException\": \"\",\n \"energyConservationProgram\": false,\n \"energyConservationProgramException\": \"\",\n \"energyEfficientHeatingAndCoolingSystems\": false,\n \"energyEfficientHeatingAndCoolingSystemsException\": \"\",\n \"energyEfficientLighting\": false,\n \"energyEfficientLightingException\": \"\",\n \"energySavingThermostats\": false,\n \"energySavingThermostatsException\": \"\",\n \"greenBuildingDesign\": false,\n \"greenBuildingDesignException\": \"\",\n \"independentOrganizationAuditsEnergyUse\": false,\n \"independentOrganizationAuditsEnergyUseException\": \"\"\n },\n \"sustainabilityCertifications\": {\n \"breeamCertification\": \"\",\n \"breeamCertificationException\": \"\",\n \"ecoCertifications\": [\n {\n \"awarded\": false,\n \"awardedException\": \"\",\n \"ecoCertificate\": \"\"\n }\n ],\n \"leedCertification\": \"\",\n \"leedCertificationException\": \"\"\n },\n \"sustainableSourcing\": {\n \"ecoFriendlyToiletries\": false,\n \"ecoFriendlyToiletriesException\": \"\",\n \"locallySourcedFoodAndBeverages\": false,\n \"locallySourcedFoodAndBeveragesException\": \"\",\n \"organicCageFreeEggs\": false,\n \"organicCageFreeEggsException\": \"\",\n \"organicFoodAndBeverages\": false,\n \"organicFoodAndBeveragesException\": \"\",\n \"responsiblePurchasingPolicy\": false,\n \"responsiblePurchasingPolicyException\": \"\",\n \"responsiblySourcesSeafood\": false,\n \"responsiblySourcesSeafoodException\": \"\",\n \"veganMeals\": false,\n \"veganMealsException\": \"\",\n \"vegetarianMeals\": false,\n \"vegetarianMealsException\": \"\"\n },\n \"wasteReduction\": {\n \"compostableFoodContainersAndCutlery\": false,\n \"compostableFoodContainersAndCutleryException\": \"\",\n \"compostsExcessFood\": false,\n \"compostsExcessFoodException\": \"\",\n \"donatesExcessFood\": false,\n \"donatesExcessFoodException\": \"\",\n \"foodWasteReductionProgram\": false,\n \"foodWasteReductionProgramException\": \"\",\n \"noSingleUsePlasticStraws\": false,\n \"noSingleUsePlasticStrawsException\": \"\",\n \"noSingleUsePlasticWaterBottles\": false,\n \"noSingleUsePlasticWaterBottlesException\": \"\",\n \"noStyrofoamFoodContainers\": false,\n \"noStyrofoamFoodContainersException\": \"\",\n \"recyclingProgram\": false,\n \"recyclingProgramException\": \"\",\n \"refillableToiletryContainers\": false,\n \"refillableToiletryContainersException\": \"\",\n \"safelyDisposesBatteries\": false,\n \"safelyDisposesBatteriesException\": \"\",\n \"safelyDisposesElectronics\": false,\n \"safelyDisposesElectronicsException\": \"\",\n \"safelyDisposesLightbulbs\": false,\n \"safelyDisposesLightbulbsException\": \"\",\n \"safelyHandlesHazardousSubstances\": false,\n \"safelyHandlesHazardousSubstancesException\": \"\",\n \"soapDonationProgram\": false,\n \"soapDonationProgramException\": \"\",\n \"toiletryDonationProgram\": false,\n \"toiletryDonationProgramException\": \"\",\n \"waterBottleFillingStations\": false,\n \"waterBottleFillingStationsException\": \"\"\n },\n \"waterConservation\": {\n \"independentOrganizationAuditsWaterUse\": false,\n \"independentOrganizationAuditsWaterUseException\": \"\",\n \"linenReuseProgram\": false,\n \"linenReuseProgramException\": \"\",\n \"towelReuseProgram\": false,\n \"towelReuseProgramException\": \"\",\n \"waterSavingShowers\": false,\n \"waterSavingShowersException\": \"\",\n \"waterSavingSinks\": false,\n \"waterSavingSinksException\": \"\",\n \"waterSavingToilets\": false,\n \"waterSavingToiletsException\": \"\"\n }\n },\n \"transportation\": {\n \"airportShuttle\": false,\n \"airportShuttleException\": \"\",\n \"carRentalOnProperty\": false,\n \"carRentalOnPropertyException\": \"\",\n \"freeAirportShuttle\": false,\n \"freeAirportShuttleException\": \"\",\n \"freePrivateCarService\": false,\n \"freePrivateCarServiceException\": \"\",\n \"localShuttle\": false,\n \"localShuttleException\": \"\",\n \"privateCarService\": false,\n \"privateCarServiceException\": \"\",\n \"transfer\": false,\n \"transferException\": \"\"\n },\n \"wellness\": {\n \"doctorOnCall\": false,\n \"doctorOnCallException\": \"\",\n \"ellipticalMachine\": false,\n \"ellipticalMachineException\": \"\",\n \"fitnessCenter\": false,\n \"fitnessCenterException\": \"\",\n \"freeFitnessCenter\": false,\n \"freeFitnessCenterException\": \"\",\n \"freeWeights\": false,\n \"freeWeightsException\": \"\",\n \"massage\": false,\n \"massageException\": \"\",\n \"salon\": false,\n \"salonException\": \"\",\n \"sauna\": false,\n \"saunaException\": \"\",\n \"spa\": false,\n \"spaException\": \"\",\n \"treadmill\": false,\n \"treadmillException\": \"\",\n \"weightMachine\": false,\n \"weightMachineException\": \"\"\n }\n}"))
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n \"accessibility\": {\n \"mobilityAccessible\": false,\n \"mobilityAccessibleElevator\": false,\n \"mobilityAccessibleElevatorException\": \"\",\n \"mobilityAccessibleException\": \"\",\n \"mobilityAccessibleParking\": false,\n \"mobilityAccessibleParkingException\": \"\",\n \"mobilityAccessiblePool\": false,\n \"mobilityAccessiblePoolException\": \"\"\n },\n \"activities\": {\n \"beachAccess\": false,\n \"beachAccessException\": \"\",\n \"beachFront\": false,\n \"beachFrontException\": \"\",\n \"bicycleRental\": false,\n \"bicycleRentalException\": \"\",\n \"boutiqueStores\": false,\n \"boutiqueStoresException\": \"\",\n \"casino\": false,\n \"casinoException\": \"\",\n \"freeBicycleRental\": false,\n \"freeBicycleRentalException\": \"\",\n \"freeWatercraftRental\": false,\n \"freeWatercraftRentalException\": \"\",\n \"gameRoom\": false,\n \"gameRoomException\": \"\",\n \"golf\": false,\n \"golfException\": \"\",\n \"horsebackRiding\": false,\n \"horsebackRidingException\": \"\",\n \"nightclub\": false,\n \"nightclubException\": \"\",\n \"privateBeach\": false,\n \"privateBeachException\": \"\",\n \"scuba\": false,\n \"scubaException\": \"\",\n \"snorkeling\": false,\n \"snorkelingException\": \"\",\n \"tennis\": false,\n \"tennisException\": \"\",\n \"waterSkiing\": false,\n \"waterSkiingException\": \"\",\n \"watercraftRental\": false,\n \"watercraftRentalException\": \"\"\n },\n \"allUnits\": {\n \"bungalowOrVilla\": false,\n \"bungalowOrVillaException\": \"\",\n \"connectingUnitAvailable\": false,\n \"connectingUnitAvailableException\": \"\",\n \"executiveFloor\": false,\n \"executiveFloorException\": \"\",\n \"maxAdultOccupantsCount\": 0,\n \"maxAdultOccupantsCountException\": \"\",\n \"maxChildOccupantsCount\": 0,\n \"maxChildOccupantsCountException\": \"\",\n \"maxOccupantsCount\": 0,\n \"maxOccupantsCountException\": \"\",\n \"privateHome\": false,\n \"privateHomeException\": \"\",\n \"suite\": false,\n \"suiteException\": \"\",\n \"tier\": \"\",\n \"tierException\": \"\",\n \"totalLivingAreas\": {\n \"accessibility\": {\n \"adaCompliantUnit\": false,\n \"adaCompliantUnitException\": \"\",\n \"hearingAccessibleDoorbell\": false,\n \"hearingAccessibleDoorbellException\": \"\",\n \"hearingAccessibleFireAlarm\": false,\n \"hearingAccessibleFireAlarmException\": \"\",\n \"hearingAccessibleUnit\": false,\n \"hearingAccessibleUnitException\": \"\",\n \"mobilityAccessibleBathtub\": false,\n \"mobilityAccessibleBathtubException\": \"\",\n \"mobilityAccessibleShower\": false,\n \"mobilityAccessibleShowerException\": \"\",\n \"mobilityAccessibleToilet\": false,\n \"mobilityAccessibleToiletException\": \"\",\n \"mobilityAccessibleUnit\": false,\n \"mobilityAccessibleUnitException\": \"\"\n },\n \"eating\": {\n \"coffeeMaker\": false,\n \"coffeeMakerException\": \"\",\n \"cookware\": false,\n \"cookwareException\": \"\",\n \"dishwasher\": false,\n \"dishwasherException\": \"\",\n \"indoorGrill\": false,\n \"indoorGrillException\": \"\",\n \"kettle\": false,\n \"kettleException\": \"\",\n \"kitchenAvailable\": false,\n \"kitchenAvailableException\": \"\",\n \"microwave\": false,\n \"microwaveException\": \"\",\n \"minibar\": false,\n \"minibarException\": \"\",\n \"outdoorGrill\": false,\n \"outdoorGrillException\": \"\",\n \"oven\": false,\n \"ovenException\": \"\",\n \"refrigerator\": false,\n \"refrigeratorException\": \"\",\n \"sink\": false,\n \"sinkException\": \"\",\n \"snackbar\": false,\n \"snackbarException\": \"\",\n \"stove\": false,\n \"stoveException\": \"\",\n \"teaStation\": false,\n \"teaStationException\": \"\",\n \"toaster\": false,\n \"toasterException\": \"\"\n },\n \"features\": {\n \"airConditioning\": false,\n \"airConditioningException\": \"\",\n \"bathtub\": false,\n \"bathtubException\": \"\",\n \"bidet\": false,\n \"bidetException\": \"\",\n \"dryer\": false,\n \"dryerException\": \"\",\n \"electronicRoomKey\": false,\n \"electronicRoomKeyException\": \"\",\n \"fireplace\": false,\n \"fireplaceException\": \"\",\n \"hairdryer\": false,\n \"hairdryerException\": \"\",\n \"heating\": false,\n \"heatingException\": \"\",\n \"inunitSafe\": false,\n \"inunitSafeException\": \"\",\n \"inunitWifiAvailable\": false,\n \"inunitWifiAvailableException\": \"\",\n \"ironingEquipment\": false,\n \"ironingEquipmentException\": \"\",\n \"payPerViewMovies\": false,\n \"payPerViewMoviesException\": \"\",\n \"privateBathroom\": false,\n \"privateBathroomException\": \"\",\n \"shower\": false,\n \"showerException\": \"\",\n \"toilet\": false,\n \"toiletException\": \"\",\n \"tv\": false,\n \"tvCasting\": false,\n \"tvCastingException\": \"\",\n \"tvException\": \"\",\n \"tvStreaming\": false,\n \"tvStreamingException\": \"\",\n \"universalPowerAdapters\": false,\n \"universalPowerAdaptersException\": \"\",\n \"washer\": false,\n \"washerException\": \"\"\n },\n \"layout\": {\n \"balcony\": false,\n \"balconyException\": \"\",\n \"livingAreaSqMeters\": \"\",\n \"livingAreaSqMetersException\": \"\",\n \"loft\": false,\n \"loftException\": \"\",\n \"nonSmoking\": false,\n \"nonSmokingException\": \"\",\n \"patio\": false,\n \"patioException\": \"\",\n \"stairs\": false,\n \"stairsException\": \"\"\n },\n \"sleeping\": {\n \"bedsCount\": 0,\n \"bedsCountException\": \"\",\n \"bunkBedsCount\": 0,\n \"bunkBedsCountException\": \"\",\n \"cribsCount\": 0,\n \"cribsCountException\": \"\",\n \"doubleBedsCount\": 0,\n \"doubleBedsCountException\": \"\",\n \"featherPillows\": false,\n \"featherPillowsException\": \"\",\n \"hypoallergenicBedding\": false,\n \"hypoallergenicBeddingException\": \"\",\n \"kingBedsCount\": 0,\n \"kingBedsCountException\": \"\",\n \"memoryFoamPillows\": false,\n \"memoryFoamPillowsException\": \"\",\n \"otherBedsCount\": 0,\n \"otherBedsCountException\": \"\",\n \"queenBedsCount\": 0,\n \"queenBedsCountException\": \"\",\n \"rollAwayBedsCount\": 0,\n \"rollAwayBedsCountException\": \"\",\n \"singleOrTwinBedsCount\": 0,\n \"singleOrTwinBedsCountException\": \"\",\n \"sofaBedsCount\": 0,\n \"sofaBedsCountException\": \"\",\n \"syntheticPillows\": false,\n \"syntheticPillowsException\": \"\"\n }\n },\n \"views\": {\n \"beachView\": false,\n \"beachViewException\": \"\",\n \"cityView\": false,\n \"cityViewException\": \"\",\n \"gardenView\": false,\n \"gardenViewException\": \"\",\n \"lakeView\": false,\n \"lakeViewException\": \"\",\n \"landmarkView\": false,\n \"landmarkViewException\": \"\",\n \"oceanView\": false,\n \"oceanViewException\": \"\",\n \"poolView\": false,\n \"poolViewException\": \"\",\n \"valleyView\": false,\n \"valleyViewException\": \"\"\n }\n },\n \"business\": {\n \"businessCenter\": false,\n \"businessCenterException\": \"\",\n \"meetingRooms\": false,\n \"meetingRoomsCount\": 0,\n \"meetingRoomsCountException\": \"\",\n \"meetingRoomsException\": \"\"\n },\n \"commonLivingArea\": {},\n \"connectivity\": {\n \"freeWifi\": false,\n \"freeWifiException\": \"\",\n \"publicAreaWifiAvailable\": false,\n \"publicAreaWifiAvailableException\": \"\",\n \"publicInternetTerminal\": false,\n \"publicInternetTerminalException\": \"\",\n \"wifiAvailable\": false,\n \"wifiAvailableException\": \"\"\n },\n \"families\": {\n \"babysitting\": false,\n \"babysittingException\": \"\",\n \"kidsActivities\": false,\n \"kidsActivitiesException\": \"\",\n \"kidsClub\": false,\n \"kidsClubException\": \"\",\n \"kidsFriendly\": false,\n \"kidsFriendlyException\": \"\"\n },\n \"foodAndDrink\": {\n \"bar\": false,\n \"barException\": \"\",\n \"breakfastAvailable\": false,\n \"breakfastAvailableException\": \"\",\n \"breakfastBuffet\": false,\n \"breakfastBuffetException\": \"\",\n \"buffet\": false,\n \"buffetException\": \"\",\n \"dinnerBuffet\": false,\n \"dinnerBuffetException\": \"\",\n \"freeBreakfast\": false,\n \"freeBreakfastException\": \"\",\n \"restaurant\": false,\n \"restaurantException\": \"\",\n \"restaurantsCount\": 0,\n \"restaurantsCountException\": \"\",\n \"roomService\": false,\n \"roomServiceException\": \"\",\n \"tableService\": false,\n \"tableServiceException\": \"\",\n \"twentyFourHourRoomService\": false,\n \"twentyFourHourRoomServiceException\": \"\",\n \"vendingMachine\": false,\n \"vendingMachineException\": \"\"\n },\n \"guestUnits\": [\n {\n \"codes\": [],\n \"features\": {},\n \"label\": \"\"\n }\n ],\n \"healthAndSafety\": {\n \"enhancedCleaning\": {\n \"commercialGradeDisinfectantCleaning\": false,\n \"commercialGradeDisinfectantCleaningException\": \"\",\n \"commonAreasEnhancedCleaning\": false,\n \"commonAreasEnhancedCleaningException\": \"\",\n \"employeesTrainedCleaningProcedures\": false,\n \"employeesTrainedCleaningProceduresException\": \"\",\n \"employeesTrainedThoroughHandWashing\": false,\n \"employeesTrainedThoroughHandWashingException\": \"\",\n \"employeesWearProtectiveEquipment\": false,\n \"employeesWearProtectiveEquipmentException\": \"\",\n \"guestRoomsEnhancedCleaning\": false,\n \"guestRoomsEnhancedCleaningException\": \"\"\n },\n \"increasedFoodSafety\": {\n \"diningAreasAdditionalSanitation\": false,\n \"diningAreasAdditionalSanitationException\": \"\",\n \"disposableFlatware\": false,\n \"disposableFlatwareException\": \"\",\n \"foodPreparationAndServingAdditionalSafety\": false,\n \"foodPreparationAndServingAdditionalSafetyException\": \"\",\n \"individualPackagedMeals\": false,\n \"individualPackagedMealsException\": \"\",\n \"singleUseFoodMenus\": false,\n \"singleUseFoodMenusException\": \"\"\n },\n \"minimizedContact\": {\n \"contactlessCheckinCheckout\": false,\n \"contactlessCheckinCheckoutException\": \"\",\n \"digitalGuestRoomKeys\": false,\n \"digitalGuestRoomKeysException\": \"\",\n \"housekeepingScheduledRequestOnly\": false,\n \"housekeepingScheduledRequestOnlyException\": \"\",\n \"noHighTouchItemsCommonAreas\": false,\n \"noHighTouchItemsCommonAreasException\": \"\",\n \"noHighTouchItemsGuestRooms\": false,\n \"noHighTouchItemsGuestRoomsException\": \"\",\n \"plasticKeycardsDisinfected\": false,\n \"plasticKeycardsDisinfectedException\": \"\",\n \"roomBookingsBuffer\": false,\n \"roomBookingsBufferException\": \"\"\n },\n \"personalProtection\": {\n \"commonAreasOfferSanitizingItems\": false,\n \"commonAreasOfferSanitizingItemsException\": \"\",\n \"faceMaskRequired\": false,\n \"faceMaskRequiredException\": \"\",\n \"guestRoomHygieneKitsAvailable\": false,\n \"guestRoomHygieneKitsAvailableException\": \"\",\n \"protectiveEquipmentAvailable\": false,\n \"protectiveEquipmentAvailableException\": \"\"\n },\n \"physicalDistancing\": {\n \"commonAreasPhysicalDistancingArranged\": false,\n \"commonAreasPhysicalDistancingArrangedException\": \"\",\n \"physicalDistancingRequired\": false,\n \"physicalDistancingRequiredException\": \"\",\n \"safetyDividers\": false,\n \"safetyDividersException\": \"\",\n \"sharedAreasLimitedOccupancy\": false,\n \"sharedAreasLimitedOccupancyException\": \"\",\n \"wellnessAreasHavePrivateSpaces\": false,\n \"wellnessAreasHavePrivateSpacesException\": \"\"\n }\n },\n \"housekeeping\": {\n \"dailyHousekeeping\": false,\n \"dailyHousekeepingException\": \"\",\n \"housekeepingAvailable\": false,\n \"housekeepingAvailableException\": \"\",\n \"turndownService\": false,\n \"turndownServiceException\": \"\"\n },\n \"metadata\": {\n \"updateTime\": \"\"\n },\n \"name\": \"\",\n \"parking\": {\n \"electricCarChargingStations\": false,\n \"electricCarChargingStationsException\": \"\",\n \"freeParking\": false,\n \"freeParkingException\": \"\",\n \"freeSelfParking\": false,\n \"freeSelfParkingException\": \"\",\n \"freeValetParking\": false,\n \"freeValetParkingException\": \"\",\n \"parkingAvailable\": false,\n \"parkingAvailableException\": \"\",\n \"selfParkingAvailable\": false,\n \"selfParkingAvailableException\": \"\",\n \"valetParkingAvailable\": false,\n \"valetParkingAvailableException\": \"\"\n },\n \"pets\": {\n \"catsAllowed\": false,\n \"catsAllowedException\": \"\",\n \"dogsAllowed\": false,\n \"dogsAllowedException\": \"\",\n \"petsAllowed\": false,\n \"petsAllowedException\": \"\",\n \"petsAllowedFree\": false,\n \"petsAllowedFreeException\": \"\"\n },\n \"policies\": {\n \"allInclusiveAvailable\": false,\n \"allInclusiveAvailableException\": \"\",\n \"allInclusiveOnly\": false,\n \"allInclusiveOnlyException\": \"\",\n \"checkinTime\": {\n \"hours\": 0,\n \"minutes\": 0,\n \"nanos\": 0,\n \"seconds\": 0\n },\n \"checkinTimeException\": \"\",\n \"checkoutTime\": {},\n \"checkoutTimeException\": \"\",\n \"kidsStayFree\": false,\n \"kidsStayFreeException\": \"\",\n \"maxChildAge\": 0,\n \"maxChildAgeException\": \"\",\n \"maxKidsStayFreeCount\": 0,\n \"maxKidsStayFreeCountException\": \"\",\n \"paymentOptions\": {\n \"cash\": false,\n \"cashException\": \"\",\n \"cheque\": false,\n \"chequeException\": \"\",\n \"creditCard\": false,\n \"creditCardException\": \"\",\n \"debitCard\": false,\n \"debitCardException\": \"\",\n \"mobileNfc\": false,\n \"mobileNfcException\": \"\"\n },\n \"smokeFreeProperty\": false,\n \"smokeFreePropertyException\": \"\"\n },\n \"pools\": {\n \"adultPool\": false,\n \"adultPoolException\": \"\",\n \"hotTub\": false,\n \"hotTubException\": \"\",\n \"indoorPool\": false,\n \"indoorPoolException\": \"\",\n \"indoorPoolsCount\": 0,\n \"indoorPoolsCountException\": \"\",\n \"lazyRiver\": false,\n \"lazyRiverException\": \"\",\n \"lifeguard\": false,\n \"lifeguardException\": \"\",\n \"outdoorPool\": false,\n \"outdoorPoolException\": \"\",\n \"outdoorPoolsCount\": 0,\n \"outdoorPoolsCountException\": \"\",\n \"pool\": false,\n \"poolException\": \"\",\n \"poolsCount\": 0,\n \"poolsCountException\": \"\",\n \"wadingPool\": false,\n \"wadingPoolException\": \"\",\n \"waterPark\": false,\n \"waterParkException\": \"\",\n \"waterslide\": false,\n \"waterslideException\": \"\",\n \"wavePool\": false,\n \"wavePoolException\": \"\"\n },\n \"property\": {\n \"builtYear\": 0,\n \"builtYearException\": \"\",\n \"floorsCount\": 0,\n \"floorsCountException\": \"\",\n \"lastRenovatedYear\": 0,\n \"lastRenovatedYearException\": \"\",\n \"roomsCount\": 0,\n \"roomsCountException\": \"\"\n },\n \"services\": {\n \"baggageStorage\": false,\n \"baggageStorageException\": \"\",\n \"concierge\": false,\n \"conciergeException\": \"\",\n \"convenienceStore\": false,\n \"convenienceStoreException\": \"\",\n \"currencyExchange\": false,\n \"currencyExchangeException\": \"\",\n \"elevator\": false,\n \"elevatorException\": \"\",\n \"frontDesk\": false,\n \"frontDeskException\": \"\",\n \"fullServiceLaundry\": false,\n \"fullServiceLaundryException\": \"\",\n \"giftShop\": false,\n \"giftShopException\": \"\",\n \"languagesSpoken\": [\n {\n \"languageCode\": \"\",\n \"spoken\": false,\n \"spokenException\": \"\"\n }\n ],\n \"selfServiceLaundry\": false,\n \"selfServiceLaundryException\": \"\",\n \"socialHour\": false,\n \"socialHourException\": \"\",\n \"twentyFourHourFrontDesk\": false,\n \"twentyFourHourFrontDeskException\": \"\",\n \"wakeUpCalls\": false,\n \"wakeUpCallsException\": \"\"\n },\n \"someUnits\": {},\n \"sustainability\": {\n \"energyEfficiency\": {\n \"carbonFreeEnergySources\": false,\n \"carbonFreeEnergySourcesException\": \"\",\n \"energyConservationProgram\": false,\n \"energyConservationProgramException\": \"\",\n \"energyEfficientHeatingAndCoolingSystems\": false,\n \"energyEfficientHeatingAndCoolingSystemsException\": \"\",\n \"energyEfficientLighting\": false,\n \"energyEfficientLightingException\": \"\",\n \"energySavingThermostats\": false,\n \"energySavingThermostatsException\": \"\",\n \"greenBuildingDesign\": false,\n \"greenBuildingDesignException\": \"\",\n \"independentOrganizationAuditsEnergyUse\": false,\n \"independentOrganizationAuditsEnergyUseException\": \"\"\n },\n \"sustainabilityCertifications\": {\n \"breeamCertification\": \"\",\n \"breeamCertificationException\": \"\",\n \"ecoCertifications\": [\n {\n \"awarded\": false,\n \"awardedException\": \"\",\n \"ecoCertificate\": \"\"\n }\n ],\n \"leedCertification\": \"\",\n \"leedCertificationException\": \"\"\n },\n \"sustainableSourcing\": {\n \"ecoFriendlyToiletries\": false,\n \"ecoFriendlyToiletriesException\": \"\",\n \"locallySourcedFoodAndBeverages\": false,\n \"locallySourcedFoodAndBeveragesException\": \"\",\n \"organicCageFreeEggs\": false,\n \"organicCageFreeEggsException\": \"\",\n \"organicFoodAndBeverages\": false,\n \"organicFoodAndBeveragesException\": \"\",\n \"responsiblePurchasingPolicy\": false,\n \"responsiblePurchasingPolicyException\": \"\",\n \"responsiblySourcesSeafood\": false,\n \"responsiblySourcesSeafoodException\": \"\",\n \"veganMeals\": false,\n \"veganMealsException\": \"\",\n \"vegetarianMeals\": false,\n \"vegetarianMealsException\": \"\"\n },\n \"wasteReduction\": {\n \"compostableFoodContainersAndCutlery\": false,\n \"compostableFoodContainersAndCutleryException\": \"\",\n \"compostsExcessFood\": false,\n \"compostsExcessFoodException\": \"\",\n \"donatesExcessFood\": false,\n \"donatesExcessFoodException\": \"\",\n \"foodWasteReductionProgram\": false,\n \"foodWasteReductionProgramException\": \"\",\n \"noSingleUsePlasticStraws\": false,\n \"noSingleUsePlasticStrawsException\": \"\",\n \"noSingleUsePlasticWaterBottles\": false,\n \"noSingleUsePlasticWaterBottlesException\": \"\",\n \"noStyrofoamFoodContainers\": false,\n \"noStyrofoamFoodContainersException\": \"\",\n \"recyclingProgram\": false,\n \"recyclingProgramException\": \"\",\n \"refillableToiletryContainers\": false,\n \"refillableToiletryContainersException\": \"\",\n \"safelyDisposesBatteries\": false,\n \"safelyDisposesBatteriesException\": \"\",\n \"safelyDisposesElectronics\": false,\n \"safelyDisposesElectronicsException\": \"\",\n \"safelyDisposesLightbulbs\": false,\n \"safelyDisposesLightbulbsException\": \"\",\n \"safelyHandlesHazardousSubstances\": false,\n \"safelyHandlesHazardousSubstancesException\": \"\",\n \"soapDonationProgram\": false,\n \"soapDonationProgramException\": \"\",\n \"toiletryDonationProgram\": false,\n \"toiletryDonationProgramException\": \"\",\n \"waterBottleFillingStations\": false,\n \"waterBottleFillingStationsException\": \"\"\n },\n \"waterConservation\": {\n \"independentOrganizationAuditsWaterUse\": false,\n \"independentOrganizationAuditsWaterUseException\": \"\",\n \"linenReuseProgram\": false,\n \"linenReuseProgramException\": \"\",\n \"towelReuseProgram\": false,\n \"towelReuseProgramException\": \"\",\n \"waterSavingShowers\": false,\n \"waterSavingShowersException\": \"\",\n \"waterSavingSinks\": false,\n \"waterSavingSinksException\": \"\",\n \"waterSavingToilets\": false,\n \"waterSavingToiletsException\": \"\"\n }\n },\n \"transportation\": {\n \"airportShuttle\": false,\n \"airportShuttleException\": \"\",\n \"carRentalOnProperty\": false,\n \"carRentalOnPropertyException\": \"\",\n \"freeAirportShuttle\": false,\n \"freeAirportShuttleException\": \"\",\n \"freePrivateCarService\": false,\n \"freePrivateCarServiceException\": \"\",\n \"localShuttle\": false,\n \"localShuttleException\": \"\",\n \"privateCarService\": false,\n \"privateCarServiceException\": \"\",\n \"transfer\": false,\n \"transferException\": \"\"\n },\n \"wellness\": {\n \"doctorOnCall\": false,\n \"doctorOnCallException\": \"\",\n \"ellipticalMachine\": false,\n \"ellipticalMachineException\": \"\",\n \"fitnessCenter\": false,\n \"fitnessCenterException\": \"\",\n \"freeFitnessCenter\": false,\n \"freeFitnessCenterException\": \"\",\n \"freeWeights\": false,\n \"freeWeightsException\": \"\",\n \"massage\": false,\n \"massageException\": \"\",\n \"salon\": false,\n \"salonException\": \"\",\n \"sauna\": false,\n \"saunaException\": \"\",\n \"spa\": false,\n \"spaException\": \"\",\n \"treadmill\": false,\n \"treadmillException\": \"\",\n \"weightMachine\": false,\n \"weightMachineException\": \"\"\n }\n}");
Request request = new Request.Builder()
.url("{{baseUrl}}/v1/:name")
.patch(body)
.addHeader("content-type", "application/json")
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.patch("{{baseUrl}}/v1/:name")
.header("content-type", "application/json")
.body("{\n \"accessibility\": {\n \"mobilityAccessible\": false,\n \"mobilityAccessibleElevator\": false,\n \"mobilityAccessibleElevatorException\": \"\",\n \"mobilityAccessibleException\": \"\",\n \"mobilityAccessibleParking\": false,\n \"mobilityAccessibleParkingException\": \"\",\n \"mobilityAccessiblePool\": false,\n \"mobilityAccessiblePoolException\": \"\"\n },\n \"activities\": {\n \"beachAccess\": false,\n \"beachAccessException\": \"\",\n \"beachFront\": false,\n \"beachFrontException\": \"\",\n \"bicycleRental\": false,\n \"bicycleRentalException\": \"\",\n \"boutiqueStores\": false,\n \"boutiqueStoresException\": \"\",\n \"casino\": false,\n \"casinoException\": \"\",\n \"freeBicycleRental\": false,\n \"freeBicycleRentalException\": \"\",\n \"freeWatercraftRental\": false,\n \"freeWatercraftRentalException\": \"\",\n \"gameRoom\": false,\n \"gameRoomException\": \"\",\n \"golf\": false,\n \"golfException\": \"\",\n \"horsebackRiding\": false,\n \"horsebackRidingException\": \"\",\n \"nightclub\": false,\n \"nightclubException\": \"\",\n \"privateBeach\": false,\n \"privateBeachException\": \"\",\n \"scuba\": false,\n \"scubaException\": \"\",\n \"snorkeling\": false,\n \"snorkelingException\": \"\",\n \"tennis\": false,\n \"tennisException\": \"\",\n \"waterSkiing\": false,\n \"waterSkiingException\": \"\",\n \"watercraftRental\": false,\n \"watercraftRentalException\": \"\"\n },\n \"allUnits\": {\n \"bungalowOrVilla\": false,\n \"bungalowOrVillaException\": \"\",\n \"connectingUnitAvailable\": false,\n \"connectingUnitAvailableException\": \"\",\n \"executiveFloor\": false,\n \"executiveFloorException\": \"\",\n \"maxAdultOccupantsCount\": 0,\n \"maxAdultOccupantsCountException\": \"\",\n \"maxChildOccupantsCount\": 0,\n \"maxChildOccupantsCountException\": \"\",\n \"maxOccupantsCount\": 0,\n \"maxOccupantsCountException\": \"\",\n \"privateHome\": false,\n \"privateHomeException\": \"\",\n \"suite\": false,\n \"suiteException\": \"\",\n \"tier\": \"\",\n \"tierException\": \"\",\n \"totalLivingAreas\": {\n \"accessibility\": {\n \"adaCompliantUnit\": false,\n \"adaCompliantUnitException\": \"\",\n \"hearingAccessibleDoorbell\": false,\n \"hearingAccessibleDoorbellException\": \"\",\n \"hearingAccessibleFireAlarm\": false,\n \"hearingAccessibleFireAlarmException\": \"\",\n \"hearingAccessibleUnit\": false,\n \"hearingAccessibleUnitException\": \"\",\n \"mobilityAccessibleBathtub\": false,\n \"mobilityAccessibleBathtubException\": \"\",\n \"mobilityAccessibleShower\": false,\n \"mobilityAccessibleShowerException\": \"\",\n \"mobilityAccessibleToilet\": false,\n \"mobilityAccessibleToiletException\": \"\",\n \"mobilityAccessibleUnit\": false,\n \"mobilityAccessibleUnitException\": \"\"\n },\n \"eating\": {\n \"coffeeMaker\": false,\n \"coffeeMakerException\": \"\",\n \"cookware\": false,\n \"cookwareException\": \"\",\n \"dishwasher\": false,\n \"dishwasherException\": \"\",\n \"indoorGrill\": false,\n \"indoorGrillException\": \"\",\n \"kettle\": false,\n \"kettleException\": \"\",\n \"kitchenAvailable\": false,\n \"kitchenAvailableException\": \"\",\n \"microwave\": false,\n \"microwaveException\": \"\",\n \"minibar\": false,\n \"minibarException\": \"\",\n \"outdoorGrill\": false,\n \"outdoorGrillException\": \"\",\n \"oven\": false,\n \"ovenException\": \"\",\n \"refrigerator\": false,\n \"refrigeratorException\": \"\",\n \"sink\": false,\n \"sinkException\": \"\",\n \"snackbar\": false,\n \"snackbarException\": \"\",\n \"stove\": false,\n \"stoveException\": \"\",\n \"teaStation\": false,\n \"teaStationException\": \"\",\n \"toaster\": false,\n \"toasterException\": \"\"\n },\n \"features\": {\n \"airConditioning\": false,\n \"airConditioningException\": \"\",\n \"bathtub\": false,\n \"bathtubException\": \"\",\n \"bidet\": false,\n \"bidetException\": \"\",\n \"dryer\": false,\n \"dryerException\": \"\",\n \"electronicRoomKey\": false,\n \"electronicRoomKeyException\": \"\",\n \"fireplace\": false,\n \"fireplaceException\": \"\",\n \"hairdryer\": false,\n \"hairdryerException\": \"\",\n \"heating\": false,\n \"heatingException\": \"\",\n \"inunitSafe\": false,\n \"inunitSafeException\": \"\",\n \"inunitWifiAvailable\": false,\n \"inunitWifiAvailableException\": \"\",\n \"ironingEquipment\": false,\n \"ironingEquipmentException\": \"\",\n \"payPerViewMovies\": false,\n \"payPerViewMoviesException\": \"\",\n \"privateBathroom\": false,\n \"privateBathroomException\": \"\",\n \"shower\": false,\n \"showerException\": \"\",\n \"toilet\": false,\n \"toiletException\": \"\",\n \"tv\": false,\n \"tvCasting\": false,\n \"tvCastingException\": \"\",\n \"tvException\": \"\",\n \"tvStreaming\": false,\n \"tvStreamingException\": \"\",\n \"universalPowerAdapters\": false,\n \"universalPowerAdaptersException\": \"\",\n \"washer\": false,\n \"washerException\": \"\"\n },\n \"layout\": {\n \"balcony\": false,\n \"balconyException\": \"\",\n \"livingAreaSqMeters\": \"\",\n \"livingAreaSqMetersException\": \"\",\n \"loft\": false,\n \"loftException\": \"\",\n \"nonSmoking\": false,\n \"nonSmokingException\": \"\",\n \"patio\": false,\n \"patioException\": \"\",\n \"stairs\": false,\n \"stairsException\": \"\"\n },\n \"sleeping\": {\n \"bedsCount\": 0,\n \"bedsCountException\": \"\",\n \"bunkBedsCount\": 0,\n \"bunkBedsCountException\": \"\",\n \"cribsCount\": 0,\n \"cribsCountException\": \"\",\n \"doubleBedsCount\": 0,\n \"doubleBedsCountException\": \"\",\n \"featherPillows\": false,\n \"featherPillowsException\": \"\",\n \"hypoallergenicBedding\": false,\n \"hypoallergenicBeddingException\": \"\",\n \"kingBedsCount\": 0,\n \"kingBedsCountException\": \"\",\n \"memoryFoamPillows\": false,\n \"memoryFoamPillowsException\": \"\",\n \"otherBedsCount\": 0,\n \"otherBedsCountException\": \"\",\n \"queenBedsCount\": 0,\n \"queenBedsCountException\": \"\",\n \"rollAwayBedsCount\": 0,\n \"rollAwayBedsCountException\": \"\",\n \"singleOrTwinBedsCount\": 0,\n \"singleOrTwinBedsCountException\": \"\",\n \"sofaBedsCount\": 0,\n \"sofaBedsCountException\": \"\",\n \"syntheticPillows\": false,\n \"syntheticPillowsException\": \"\"\n }\n },\n \"views\": {\n \"beachView\": false,\n \"beachViewException\": \"\",\n \"cityView\": false,\n \"cityViewException\": \"\",\n \"gardenView\": false,\n \"gardenViewException\": \"\",\n \"lakeView\": false,\n \"lakeViewException\": \"\",\n \"landmarkView\": false,\n \"landmarkViewException\": \"\",\n \"oceanView\": false,\n \"oceanViewException\": \"\",\n \"poolView\": false,\n \"poolViewException\": \"\",\n \"valleyView\": false,\n \"valleyViewException\": \"\"\n }\n },\n \"business\": {\n \"businessCenter\": false,\n \"businessCenterException\": \"\",\n \"meetingRooms\": false,\n \"meetingRoomsCount\": 0,\n \"meetingRoomsCountException\": \"\",\n \"meetingRoomsException\": \"\"\n },\n \"commonLivingArea\": {},\n \"connectivity\": {\n \"freeWifi\": false,\n \"freeWifiException\": \"\",\n \"publicAreaWifiAvailable\": false,\n \"publicAreaWifiAvailableException\": \"\",\n \"publicInternetTerminal\": false,\n \"publicInternetTerminalException\": \"\",\n \"wifiAvailable\": false,\n \"wifiAvailableException\": \"\"\n },\n \"families\": {\n \"babysitting\": false,\n \"babysittingException\": \"\",\n \"kidsActivities\": false,\n \"kidsActivitiesException\": \"\",\n \"kidsClub\": false,\n \"kidsClubException\": \"\",\n \"kidsFriendly\": false,\n \"kidsFriendlyException\": \"\"\n },\n \"foodAndDrink\": {\n \"bar\": false,\n \"barException\": \"\",\n \"breakfastAvailable\": false,\n \"breakfastAvailableException\": \"\",\n \"breakfastBuffet\": false,\n \"breakfastBuffetException\": \"\",\n \"buffet\": false,\n \"buffetException\": \"\",\n \"dinnerBuffet\": false,\n \"dinnerBuffetException\": \"\",\n \"freeBreakfast\": false,\n \"freeBreakfastException\": \"\",\n \"restaurant\": false,\n \"restaurantException\": \"\",\n \"restaurantsCount\": 0,\n \"restaurantsCountException\": \"\",\n \"roomService\": false,\n \"roomServiceException\": \"\",\n \"tableService\": false,\n \"tableServiceException\": \"\",\n \"twentyFourHourRoomService\": false,\n \"twentyFourHourRoomServiceException\": \"\",\n \"vendingMachine\": false,\n \"vendingMachineException\": \"\"\n },\n \"guestUnits\": [\n {\n \"codes\": [],\n \"features\": {},\n \"label\": \"\"\n }\n ],\n \"healthAndSafety\": {\n \"enhancedCleaning\": {\n \"commercialGradeDisinfectantCleaning\": false,\n \"commercialGradeDisinfectantCleaningException\": \"\",\n \"commonAreasEnhancedCleaning\": false,\n \"commonAreasEnhancedCleaningException\": \"\",\n \"employeesTrainedCleaningProcedures\": false,\n \"employeesTrainedCleaningProceduresException\": \"\",\n \"employeesTrainedThoroughHandWashing\": false,\n \"employeesTrainedThoroughHandWashingException\": \"\",\n \"employeesWearProtectiveEquipment\": false,\n \"employeesWearProtectiveEquipmentException\": \"\",\n \"guestRoomsEnhancedCleaning\": false,\n \"guestRoomsEnhancedCleaningException\": \"\"\n },\n \"increasedFoodSafety\": {\n \"diningAreasAdditionalSanitation\": false,\n \"diningAreasAdditionalSanitationException\": \"\",\n \"disposableFlatware\": false,\n \"disposableFlatwareException\": \"\",\n \"foodPreparationAndServingAdditionalSafety\": false,\n \"foodPreparationAndServingAdditionalSafetyException\": \"\",\n \"individualPackagedMeals\": false,\n \"individualPackagedMealsException\": \"\",\n \"singleUseFoodMenus\": false,\n \"singleUseFoodMenusException\": \"\"\n },\n \"minimizedContact\": {\n \"contactlessCheckinCheckout\": false,\n \"contactlessCheckinCheckoutException\": \"\",\n \"digitalGuestRoomKeys\": false,\n \"digitalGuestRoomKeysException\": \"\",\n \"housekeepingScheduledRequestOnly\": false,\n \"housekeepingScheduledRequestOnlyException\": \"\",\n \"noHighTouchItemsCommonAreas\": false,\n \"noHighTouchItemsCommonAreasException\": \"\",\n \"noHighTouchItemsGuestRooms\": false,\n \"noHighTouchItemsGuestRoomsException\": \"\",\n \"plasticKeycardsDisinfected\": false,\n \"plasticKeycardsDisinfectedException\": \"\",\n \"roomBookingsBuffer\": false,\n \"roomBookingsBufferException\": \"\"\n },\n \"personalProtection\": {\n \"commonAreasOfferSanitizingItems\": false,\n \"commonAreasOfferSanitizingItemsException\": \"\",\n \"faceMaskRequired\": false,\n \"faceMaskRequiredException\": \"\",\n \"guestRoomHygieneKitsAvailable\": false,\n \"guestRoomHygieneKitsAvailableException\": \"\",\n \"protectiveEquipmentAvailable\": false,\n \"protectiveEquipmentAvailableException\": \"\"\n },\n \"physicalDistancing\": {\n \"commonAreasPhysicalDistancingArranged\": false,\n \"commonAreasPhysicalDistancingArrangedException\": \"\",\n \"physicalDistancingRequired\": false,\n \"physicalDistancingRequiredException\": \"\",\n \"safetyDividers\": false,\n \"safetyDividersException\": \"\",\n \"sharedAreasLimitedOccupancy\": false,\n \"sharedAreasLimitedOccupancyException\": \"\",\n \"wellnessAreasHavePrivateSpaces\": false,\n \"wellnessAreasHavePrivateSpacesException\": \"\"\n }\n },\n \"housekeeping\": {\n \"dailyHousekeeping\": false,\n \"dailyHousekeepingException\": \"\",\n \"housekeepingAvailable\": false,\n \"housekeepingAvailableException\": \"\",\n \"turndownService\": false,\n \"turndownServiceException\": \"\"\n },\n \"metadata\": {\n \"updateTime\": \"\"\n },\n \"name\": \"\",\n \"parking\": {\n \"electricCarChargingStations\": false,\n \"electricCarChargingStationsException\": \"\",\n \"freeParking\": false,\n \"freeParkingException\": \"\",\n \"freeSelfParking\": false,\n \"freeSelfParkingException\": \"\",\n \"freeValetParking\": false,\n \"freeValetParkingException\": \"\",\n \"parkingAvailable\": false,\n \"parkingAvailableException\": \"\",\n \"selfParkingAvailable\": false,\n \"selfParkingAvailableException\": \"\",\n \"valetParkingAvailable\": false,\n \"valetParkingAvailableException\": \"\"\n },\n \"pets\": {\n \"catsAllowed\": false,\n \"catsAllowedException\": \"\",\n \"dogsAllowed\": false,\n \"dogsAllowedException\": \"\",\n \"petsAllowed\": false,\n \"petsAllowedException\": \"\",\n \"petsAllowedFree\": false,\n \"petsAllowedFreeException\": \"\"\n },\n \"policies\": {\n \"allInclusiveAvailable\": false,\n \"allInclusiveAvailableException\": \"\",\n \"allInclusiveOnly\": false,\n \"allInclusiveOnlyException\": \"\",\n \"checkinTime\": {\n \"hours\": 0,\n \"minutes\": 0,\n \"nanos\": 0,\n \"seconds\": 0\n },\n \"checkinTimeException\": \"\",\n \"checkoutTime\": {},\n \"checkoutTimeException\": \"\",\n \"kidsStayFree\": false,\n \"kidsStayFreeException\": \"\",\n \"maxChildAge\": 0,\n \"maxChildAgeException\": \"\",\n \"maxKidsStayFreeCount\": 0,\n \"maxKidsStayFreeCountException\": \"\",\n \"paymentOptions\": {\n \"cash\": false,\n \"cashException\": \"\",\n \"cheque\": false,\n \"chequeException\": \"\",\n \"creditCard\": false,\n \"creditCardException\": \"\",\n \"debitCard\": false,\n \"debitCardException\": \"\",\n \"mobileNfc\": false,\n \"mobileNfcException\": \"\"\n },\n \"smokeFreeProperty\": false,\n \"smokeFreePropertyException\": \"\"\n },\n \"pools\": {\n \"adultPool\": false,\n \"adultPoolException\": \"\",\n \"hotTub\": false,\n \"hotTubException\": \"\",\n \"indoorPool\": false,\n \"indoorPoolException\": \"\",\n \"indoorPoolsCount\": 0,\n \"indoorPoolsCountException\": \"\",\n \"lazyRiver\": false,\n \"lazyRiverException\": \"\",\n \"lifeguard\": false,\n \"lifeguardException\": \"\",\n \"outdoorPool\": false,\n \"outdoorPoolException\": \"\",\n \"outdoorPoolsCount\": 0,\n \"outdoorPoolsCountException\": \"\",\n \"pool\": false,\n \"poolException\": \"\",\n \"poolsCount\": 0,\n \"poolsCountException\": \"\",\n \"wadingPool\": false,\n \"wadingPoolException\": \"\",\n \"waterPark\": false,\n \"waterParkException\": \"\",\n \"waterslide\": false,\n \"waterslideException\": \"\",\n \"wavePool\": false,\n \"wavePoolException\": \"\"\n },\n \"property\": {\n \"builtYear\": 0,\n \"builtYearException\": \"\",\n \"floorsCount\": 0,\n \"floorsCountException\": \"\",\n \"lastRenovatedYear\": 0,\n \"lastRenovatedYearException\": \"\",\n \"roomsCount\": 0,\n \"roomsCountException\": \"\"\n },\n \"services\": {\n \"baggageStorage\": false,\n \"baggageStorageException\": \"\",\n \"concierge\": false,\n \"conciergeException\": \"\",\n \"convenienceStore\": false,\n \"convenienceStoreException\": \"\",\n \"currencyExchange\": false,\n \"currencyExchangeException\": \"\",\n \"elevator\": false,\n \"elevatorException\": \"\",\n \"frontDesk\": false,\n \"frontDeskException\": \"\",\n \"fullServiceLaundry\": false,\n \"fullServiceLaundryException\": \"\",\n \"giftShop\": false,\n \"giftShopException\": \"\",\n \"languagesSpoken\": [\n {\n \"languageCode\": \"\",\n \"spoken\": false,\n \"spokenException\": \"\"\n }\n ],\n \"selfServiceLaundry\": false,\n \"selfServiceLaundryException\": \"\",\n \"socialHour\": false,\n \"socialHourException\": \"\",\n \"twentyFourHourFrontDesk\": false,\n \"twentyFourHourFrontDeskException\": \"\",\n \"wakeUpCalls\": false,\n \"wakeUpCallsException\": \"\"\n },\n \"someUnits\": {},\n \"sustainability\": {\n \"energyEfficiency\": {\n \"carbonFreeEnergySources\": false,\n \"carbonFreeEnergySourcesException\": \"\",\n \"energyConservationProgram\": false,\n \"energyConservationProgramException\": \"\",\n \"energyEfficientHeatingAndCoolingSystems\": false,\n \"energyEfficientHeatingAndCoolingSystemsException\": \"\",\n \"energyEfficientLighting\": false,\n \"energyEfficientLightingException\": \"\",\n \"energySavingThermostats\": false,\n \"energySavingThermostatsException\": \"\",\n \"greenBuildingDesign\": false,\n \"greenBuildingDesignException\": \"\",\n \"independentOrganizationAuditsEnergyUse\": false,\n \"independentOrganizationAuditsEnergyUseException\": \"\"\n },\n \"sustainabilityCertifications\": {\n \"breeamCertification\": \"\",\n \"breeamCertificationException\": \"\",\n \"ecoCertifications\": [\n {\n \"awarded\": false,\n \"awardedException\": \"\",\n \"ecoCertificate\": \"\"\n }\n ],\n \"leedCertification\": \"\",\n \"leedCertificationException\": \"\"\n },\n \"sustainableSourcing\": {\n \"ecoFriendlyToiletries\": false,\n \"ecoFriendlyToiletriesException\": \"\",\n \"locallySourcedFoodAndBeverages\": false,\n \"locallySourcedFoodAndBeveragesException\": \"\",\n \"organicCageFreeEggs\": false,\n \"organicCageFreeEggsException\": \"\",\n \"organicFoodAndBeverages\": false,\n \"organicFoodAndBeveragesException\": \"\",\n \"responsiblePurchasingPolicy\": false,\n \"responsiblePurchasingPolicyException\": \"\",\n \"responsiblySourcesSeafood\": false,\n \"responsiblySourcesSeafoodException\": \"\",\n \"veganMeals\": false,\n \"veganMealsException\": \"\",\n \"vegetarianMeals\": false,\n \"vegetarianMealsException\": \"\"\n },\n \"wasteReduction\": {\n \"compostableFoodContainersAndCutlery\": false,\n \"compostableFoodContainersAndCutleryException\": \"\",\n \"compostsExcessFood\": false,\n \"compostsExcessFoodException\": \"\",\n \"donatesExcessFood\": false,\n \"donatesExcessFoodException\": \"\",\n \"foodWasteReductionProgram\": false,\n \"foodWasteReductionProgramException\": \"\",\n \"noSingleUsePlasticStraws\": false,\n \"noSingleUsePlasticStrawsException\": \"\",\n \"noSingleUsePlasticWaterBottles\": false,\n \"noSingleUsePlasticWaterBottlesException\": \"\",\n \"noStyrofoamFoodContainers\": false,\n \"noStyrofoamFoodContainersException\": \"\",\n \"recyclingProgram\": false,\n \"recyclingProgramException\": \"\",\n \"refillableToiletryContainers\": false,\n \"refillableToiletryContainersException\": \"\",\n \"safelyDisposesBatteries\": false,\n \"safelyDisposesBatteriesException\": \"\",\n \"safelyDisposesElectronics\": false,\n \"safelyDisposesElectronicsException\": \"\",\n \"safelyDisposesLightbulbs\": false,\n \"safelyDisposesLightbulbsException\": \"\",\n \"safelyHandlesHazardousSubstances\": false,\n \"safelyHandlesHazardousSubstancesException\": \"\",\n \"soapDonationProgram\": false,\n \"soapDonationProgramException\": \"\",\n \"toiletryDonationProgram\": false,\n \"toiletryDonationProgramException\": \"\",\n \"waterBottleFillingStations\": false,\n \"waterBottleFillingStationsException\": \"\"\n },\n \"waterConservation\": {\n \"independentOrganizationAuditsWaterUse\": false,\n \"independentOrganizationAuditsWaterUseException\": \"\",\n \"linenReuseProgram\": false,\n \"linenReuseProgramException\": \"\",\n \"towelReuseProgram\": false,\n \"towelReuseProgramException\": \"\",\n \"waterSavingShowers\": false,\n \"waterSavingShowersException\": \"\",\n \"waterSavingSinks\": false,\n \"waterSavingSinksException\": \"\",\n \"waterSavingToilets\": false,\n \"waterSavingToiletsException\": \"\"\n }\n },\n \"transportation\": {\n \"airportShuttle\": false,\n \"airportShuttleException\": \"\",\n \"carRentalOnProperty\": false,\n \"carRentalOnPropertyException\": \"\",\n \"freeAirportShuttle\": false,\n \"freeAirportShuttleException\": \"\",\n \"freePrivateCarService\": false,\n \"freePrivateCarServiceException\": \"\",\n \"localShuttle\": false,\n \"localShuttleException\": \"\",\n \"privateCarService\": false,\n \"privateCarServiceException\": \"\",\n \"transfer\": false,\n \"transferException\": \"\"\n },\n \"wellness\": {\n \"doctorOnCall\": false,\n \"doctorOnCallException\": \"\",\n \"ellipticalMachine\": false,\n \"ellipticalMachineException\": \"\",\n \"fitnessCenter\": false,\n \"fitnessCenterException\": \"\",\n \"freeFitnessCenter\": false,\n \"freeFitnessCenterException\": \"\",\n \"freeWeights\": false,\n \"freeWeightsException\": \"\",\n \"massage\": false,\n \"massageException\": \"\",\n \"salon\": false,\n \"salonException\": \"\",\n \"sauna\": false,\n \"saunaException\": \"\",\n \"spa\": false,\n \"spaException\": \"\",\n \"treadmill\": false,\n \"treadmillException\": \"\",\n \"weightMachine\": false,\n \"weightMachineException\": \"\"\n }\n}")
.asString();
const data = JSON.stringify({
accessibility: {
mobilityAccessible: false,
mobilityAccessibleElevator: false,
mobilityAccessibleElevatorException: '',
mobilityAccessibleException: '',
mobilityAccessibleParking: false,
mobilityAccessibleParkingException: '',
mobilityAccessiblePool: false,
mobilityAccessiblePoolException: ''
},
activities: {
beachAccess: false,
beachAccessException: '',
beachFront: false,
beachFrontException: '',
bicycleRental: false,
bicycleRentalException: '',
boutiqueStores: false,
boutiqueStoresException: '',
casino: false,
casinoException: '',
freeBicycleRental: false,
freeBicycleRentalException: '',
freeWatercraftRental: false,
freeWatercraftRentalException: '',
gameRoom: false,
gameRoomException: '',
golf: false,
golfException: '',
horsebackRiding: false,
horsebackRidingException: '',
nightclub: false,
nightclubException: '',
privateBeach: false,
privateBeachException: '',
scuba: false,
scubaException: '',
snorkeling: false,
snorkelingException: '',
tennis: false,
tennisException: '',
waterSkiing: false,
waterSkiingException: '',
watercraftRental: false,
watercraftRentalException: ''
},
allUnits: {
bungalowOrVilla: false,
bungalowOrVillaException: '',
connectingUnitAvailable: false,
connectingUnitAvailableException: '',
executiveFloor: false,
executiveFloorException: '',
maxAdultOccupantsCount: 0,
maxAdultOccupantsCountException: '',
maxChildOccupantsCount: 0,
maxChildOccupantsCountException: '',
maxOccupantsCount: 0,
maxOccupantsCountException: '',
privateHome: false,
privateHomeException: '',
suite: false,
suiteException: '',
tier: '',
tierException: '',
totalLivingAreas: {
accessibility: {
adaCompliantUnit: false,
adaCompliantUnitException: '',
hearingAccessibleDoorbell: false,
hearingAccessibleDoorbellException: '',
hearingAccessibleFireAlarm: false,
hearingAccessibleFireAlarmException: '',
hearingAccessibleUnit: false,
hearingAccessibleUnitException: '',
mobilityAccessibleBathtub: false,
mobilityAccessibleBathtubException: '',
mobilityAccessibleShower: false,
mobilityAccessibleShowerException: '',
mobilityAccessibleToilet: false,
mobilityAccessibleToiletException: '',
mobilityAccessibleUnit: false,
mobilityAccessibleUnitException: ''
},
eating: {
coffeeMaker: false,
coffeeMakerException: '',
cookware: false,
cookwareException: '',
dishwasher: false,
dishwasherException: '',
indoorGrill: false,
indoorGrillException: '',
kettle: false,
kettleException: '',
kitchenAvailable: false,
kitchenAvailableException: '',
microwave: false,
microwaveException: '',
minibar: false,
minibarException: '',
outdoorGrill: false,
outdoorGrillException: '',
oven: false,
ovenException: '',
refrigerator: false,
refrigeratorException: '',
sink: false,
sinkException: '',
snackbar: false,
snackbarException: '',
stove: false,
stoveException: '',
teaStation: false,
teaStationException: '',
toaster: false,
toasterException: ''
},
features: {
airConditioning: false,
airConditioningException: '',
bathtub: false,
bathtubException: '',
bidet: false,
bidetException: '',
dryer: false,
dryerException: '',
electronicRoomKey: false,
electronicRoomKeyException: '',
fireplace: false,
fireplaceException: '',
hairdryer: false,
hairdryerException: '',
heating: false,
heatingException: '',
inunitSafe: false,
inunitSafeException: '',
inunitWifiAvailable: false,
inunitWifiAvailableException: '',
ironingEquipment: false,
ironingEquipmentException: '',
payPerViewMovies: false,
payPerViewMoviesException: '',
privateBathroom: false,
privateBathroomException: '',
shower: false,
showerException: '',
toilet: false,
toiletException: '',
tv: false,
tvCasting: false,
tvCastingException: '',
tvException: '',
tvStreaming: false,
tvStreamingException: '',
universalPowerAdapters: false,
universalPowerAdaptersException: '',
washer: false,
washerException: ''
},
layout: {
balcony: false,
balconyException: '',
livingAreaSqMeters: '',
livingAreaSqMetersException: '',
loft: false,
loftException: '',
nonSmoking: false,
nonSmokingException: '',
patio: false,
patioException: '',
stairs: false,
stairsException: ''
},
sleeping: {
bedsCount: 0,
bedsCountException: '',
bunkBedsCount: 0,
bunkBedsCountException: '',
cribsCount: 0,
cribsCountException: '',
doubleBedsCount: 0,
doubleBedsCountException: '',
featherPillows: false,
featherPillowsException: '',
hypoallergenicBedding: false,
hypoallergenicBeddingException: '',
kingBedsCount: 0,
kingBedsCountException: '',
memoryFoamPillows: false,
memoryFoamPillowsException: '',
otherBedsCount: 0,
otherBedsCountException: '',
queenBedsCount: 0,
queenBedsCountException: '',
rollAwayBedsCount: 0,
rollAwayBedsCountException: '',
singleOrTwinBedsCount: 0,
singleOrTwinBedsCountException: '',
sofaBedsCount: 0,
sofaBedsCountException: '',
syntheticPillows: false,
syntheticPillowsException: ''
}
},
views: {
beachView: false,
beachViewException: '',
cityView: false,
cityViewException: '',
gardenView: false,
gardenViewException: '',
lakeView: false,
lakeViewException: '',
landmarkView: false,
landmarkViewException: '',
oceanView: false,
oceanViewException: '',
poolView: false,
poolViewException: '',
valleyView: false,
valleyViewException: ''
}
},
business: {
businessCenter: false,
businessCenterException: '',
meetingRooms: false,
meetingRoomsCount: 0,
meetingRoomsCountException: '',
meetingRoomsException: ''
},
commonLivingArea: {},
connectivity: {
freeWifi: false,
freeWifiException: '',
publicAreaWifiAvailable: false,
publicAreaWifiAvailableException: '',
publicInternetTerminal: false,
publicInternetTerminalException: '',
wifiAvailable: false,
wifiAvailableException: ''
},
families: {
babysitting: false,
babysittingException: '',
kidsActivities: false,
kidsActivitiesException: '',
kidsClub: false,
kidsClubException: '',
kidsFriendly: false,
kidsFriendlyException: ''
},
foodAndDrink: {
bar: false,
barException: '',
breakfastAvailable: false,
breakfastAvailableException: '',
breakfastBuffet: false,
breakfastBuffetException: '',
buffet: false,
buffetException: '',
dinnerBuffet: false,
dinnerBuffetException: '',
freeBreakfast: false,
freeBreakfastException: '',
restaurant: false,
restaurantException: '',
restaurantsCount: 0,
restaurantsCountException: '',
roomService: false,
roomServiceException: '',
tableService: false,
tableServiceException: '',
twentyFourHourRoomService: false,
twentyFourHourRoomServiceException: '',
vendingMachine: false,
vendingMachineException: ''
},
guestUnits: [
{
codes: [],
features: {},
label: ''
}
],
healthAndSafety: {
enhancedCleaning: {
commercialGradeDisinfectantCleaning: false,
commercialGradeDisinfectantCleaningException: '',
commonAreasEnhancedCleaning: false,
commonAreasEnhancedCleaningException: '',
employeesTrainedCleaningProcedures: false,
employeesTrainedCleaningProceduresException: '',
employeesTrainedThoroughHandWashing: false,
employeesTrainedThoroughHandWashingException: '',
employeesWearProtectiveEquipment: false,
employeesWearProtectiveEquipmentException: '',
guestRoomsEnhancedCleaning: false,
guestRoomsEnhancedCleaningException: ''
},
increasedFoodSafety: {
diningAreasAdditionalSanitation: false,
diningAreasAdditionalSanitationException: '',
disposableFlatware: false,
disposableFlatwareException: '',
foodPreparationAndServingAdditionalSafety: false,
foodPreparationAndServingAdditionalSafetyException: '',
individualPackagedMeals: false,
individualPackagedMealsException: '',
singleUseFoodMenus: false,
singleUseFoodMenusException: ''
},
minimizedContact: {
contactlessCheckinCheckout: false,
contactlessCheckinCheckoutException: '',
digitalGuestRoomKeys: false,
digitalGuestRoomKeysException: '',
housekeepingScheduledRequestOnly: false,
housekeepingScheduledRequestOnlyException: '',
noHighTouchItemsCommonAreas: false,
noHighTouchItemsCommonAreasException: '',
noHighTouchItemsGuestRooms: false,
noHighTouchItemsGuestRoomsException: '',
plasticKeycardsDisinfected: false,
plasticKeycardsDisinfectedException: '',
roomBookingsBuffer: false,
roomBookingsBufferException: ''
},
personalProtection: {
commonAreasOfferSanitizingItems: false,
commonAreasOfferSanitizingItemsException: '',
faceMaskRequired: false,
faceMaskRequiredException: '',
guestRoomHygieneKitsAvailable: false,
guestRoomHygieneKitsAvailableException: '',
protectiveEquipmentAvailable: false,
protectiveEquipmentAvailableException: ''
},
physicalDistancing: {
commonAreasPhysicalDistancingArranged: false,
commonAreasPhysicalDistancingArrangedException: '',
physicalDistancingRequired: false,
physicalDistancingRequiredException: '',
safetyDividers: false,
safetyDividersException: '',
sharedAreasLimitedOccupancy: false,
sharedAreasLimitedOccupancyException: '',
wellnessAreasHavePrivateSpaces: false,
wellnessAreasHavePrivateSpacesException: ''
}
},
housekeeping: {
dailyHousekeeping: false,
dailyHousekeepingException: '',
housekeepingAvailable: false,
housekeepingAvailableException: '',
turndownService: false,
turndownServiceException: ''
},
metadata: {
updateTime: ''
},
name: '',
parking: {
electricCarChargingStations: false,
electricCarChargingStationsException: '',
freeParking: false,
freeParkingException: '',
freeSelfParking: false,
freeSelfParkingException: '',
freeValetParking: false,
freeValetParkingException: '',
parkingAvailable: false,
parkingAvailableException: '',
selfParkingAvailable: false,
selfParkingAvailableException: '',
valetParkingAvailable: false,
valetParkingAvailableException: ''
},
pets: {
catsAllowed: false,
catsAllowedException: '',
dogsAllowed: false,
dogsAllowedException: '',
petsAllowed: false,
petsAllowedException: '',
petsAllowedFree: false,
petsAllowedFreeException: ''
},
policies: {
allInclusiveAvailable: false,
allInclusiveAvailableException: '',
allInclusiveOnly: false,
allInclusiveOnlyException: '',
checkinTime: {
hours: 0,
minutes: 0,
nanos: 0,
seconds: 0
},
checkinTimeException: '',
checkoutTime: {},
checkoutTimeException: '',
kidsStayFree: false,
kidsStayFreeException: '',
maxChildAge: 0,
maxChildAgeException: '',
maxKidsStayFreeCount: 0,
maxKidsStayFreeCountException: '',
paymentOptions: {
cash: false,
cashException: '',
cheque: false,
chequeException: '',
creditCard: false,
creditCardException: '',
debitCard: false,
debitCardException: '',
mobileNfc: false,
mobileNfcException: ''
},
smokeFreeProperty: false,
smokeFreePropertyException: ''
},
pools: {
adultPool: false,
adultPoolException: '',
hotTub: false,
hotTubException: '',
indoorPool: false,
indoorPoolException: '',
indoorPoolsCount: 0,
indoorPoolsCountException: '',
lazyRiver: false,
lazyRiverException: '',
lifeguard: false,
lifeguardException: '',
outdoorPool: false,
outdoorPoolException: '',
outdoorPoolsCount: 0,
outdoorPoolsCountException: '',
pool: false,
poolException: '',
poolsCount: 0,
poolsCountException: '',
wadingPool: false,
wadingPoolException: '',
waterPark: false,
waterParkException: '',
waterslide: false,
waterslideException: '',
wavePool: false,
wavePoolException: ''
},
property: {
builtYear: 0,
builtYearException: '',
floorsCount: 0,
floorsCountException: '',
lastRenovatedYear: 0,
lastRenovatedYearException: '',
roomsCount: 0,
roomsCountException: ''
},
services: {
baggageStorage: false,
baggageStorageException: '',
concierge: false,
conciergeException: '',
convenienceStore: false,
convenienceStoreException: '',
currencyExchange: false,
currencyExchangeException: '',
elevator: false,
elevatorException: '',
frontDesk: false,
frontDeskException: '',
fullServiceLaundry: false,
fullServiceLaundryException: '',
giftShop: false,
giftShopException: '',
languagesSpoken: [
{
languageCode: '',
spoken: false,
spokenException: ''
}
],
selfServiceLaundry: false,
selfServiceLaundryException: '',
socialHour: false,
socialHourException: '',
twentyFourHourFrontDesk: false,
twentyFourHourFrontDeskException: '',
wakeUpCalls: false,
wakeUpCallsException: ''
},
someUnits: {},
sustainability: {
energyEfficiency: {
carbonFreeEnergySources: false,
carbonFreeEnergySourcesException: '',
energyConservationProgram: false,
energyConservationProgramException: '',
energyEfficientHeatingAndCoolingSystems: false,
energyEfficientHeatingAndCoolingSystemsException: '',
energyEfficientLighting: false,
energyEfficientLightingException: '',
energySavingThermostats: false,
energySavingThermostatsException: '',
greenBuildingDesign: false,
greenBuildingDesignException: '',
independentOrganizationAuditsEnergyUse: false,
independentOrganizationAuditsEnergyUseException: ''
},
sustainabilityCertifications: {
breeamCertification: '',
breeamCertificationException: '',
ecoCertifications: [
{
awarded: false,
awardedException: '',
ecoCertificate: ''
}
],
leedCertification: '',
leedCertificationException: ''
},
sustainableSourcing: {
ecoFriendlyToiletries: false,
ecoFriendlyToiletriesException: '',
locallySourcedFoodAndBeverages: false,
locallySourcedFoodAndBeveragesException: '',
organicCageFreeEggs: false,
organicCageFreeEggsException: '',
organicFoodAndBeverages: false,
organicFoodAndBeveragesException: '',
responsiblePurchasingPolicy: false,
responsiblePurchasingPolicyException: '',
responsiblySourcesSeafood: false,
responsiblySourcesSeafoodException: '',
veganMeals: false,
veganMealsException: '',
vegetarianMeals: false,
vegetarianMealsException: ''
},
wasteReduction: {
compostableFoodContainersAndCutlery: false,
compostableFoodContainersAndCutleryException: '',
compostsExcessFood: false,
compostsExcessFoodException: '',
donatesExcessFood: false,
donatesExcessFoodException: '',
foodWasteReductionProgram: false,
foodWasteReductionProgramException: '',
noSingleUsePlasticStraws: false,
noSingleUsePlasticStrawsException: '',
noSingleUsePlasticWaterBottles: false,
noSingleUsePlasticWaterBottlesException: '',
noStyrofoamFoodContainers: false,
noStyrofoamFoodContainersException: '',
recyclingProgram: false,
recyclingProgramException: '',
refillableToiletryContainers: false,
refillableToiletryContainersException: '',
safelyDisposesBatteries: false,
safelyDisposesBatteriesException: '',
safelyDisposesElectronics: false,
safelyDisposesElectronicsException: '',
safelyDisposesLightbulbs: false,
safelyDisposesLightbulbsException: '',
safelyHandlesHazardousSubstances: false,
safelyHandlesHazardousSubstancesException: '',
soapDonationProgram: false,
soapDonationProgramException: '',
toiletryDonationProgram: false,
toiletryDonationProgramException: '',
waterBottleFillingStations: false,
waterBottleFillingStationsException: ''
},
waterConservation: {
independentOrganizationAuditsWaterUse: false,
independentOrganizationAuditsWaterUseException: '',
linenReuseProgram: false,
linenReuseProgramException: '',
towelReuseProgram: false,
towelReuseProgramException: '',
waterSavingShowers: false,
waterSavingShowersException: '',
waterSavingSinks: false,
waterSavingSinksException: '',
waterSavingToilets: false,
waterSavingToiletsException: ''
}
},
transportation: {
airportShuttle: false,
airportShuttleException: '',
carRentalOnProperty: false,
carRentalOnPropertyException: '',
freeAirportShuttle: false,
freeAirportShuttleException: '',
freePrivateCarService: false,
freePrivateCarServiceException: '',
localShuttle: false,
localShuttleException: '',
privateCarService: false,
privateCarServiceException: '',
transfer: false,
transferException: ''
},
wellness: {
doctorOnCall: false,
doctorOnCallException: '',
ellipticalMachine: false,
ellipticalMachineException: '',
fitnessCenter: false,
fitnessCenterException: '',
freeFitnessCenter: false,
freeFitnessCenterException: '',
freeWeights: false,
freeWeightsException: '',
massage: false,
massageException: '',
salon: false,
salonException: '',
sauna: false,
saunaException: '',
spa: false,
spaException: '',
treadmill: false,
treadmillException: '',
weightMachine: false,
weightMachineException: ''
}
});
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('PATCH', '{{baseUrl}}/v1/:name');
xhr.setRequestHeader('content-type', 'application/json');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'PATCH',
url: '{{baseUrl}}/v1/:name',
headers: {'content-type': 'application/json'},
data: {
accessibility: {
mobilityAccessible: false,
mobilityAccessibleElevator: false,
mobilityAccessibleElevatorException: '',
mobilityAccessibleException: '',
mobilityAccessibleParking: false,
mobilityAccessibleParkingException: '',
mobilityAccessiblePool: false,
mobilityAccessiblePoolException: ''
},
activities: {
beachAccess: false,
beachAccessException: '',
beachFront: false,
beachFrontException: '',
bicycleRental: false,
bicycleRentalException: '',
boutiqueStores: false,
boutiqueStoresException: '',
casino: false,
casinoException: '',
freeBicycleRental: false,
freeBicycleRentalException: '',
freeWatercraftRental: false,
freeWatercraftRentalException: '',
gameRoom: false,
gameRoomException: '',
golf: false,
golfException: '',
horsebackRiding: false,
horsebackRidingException: '',
nightclub: false,
nightclubException: '',
privateBeach: false,
privateBeachException: '',
scuba: false,
scubaException: '',
snorkeling: false,
snorkelingException: '',
tennis: false,
tennisException: '',
waterSkiing: false,
waterSkiingException: '',
watercraftRental: false,
watercraftRentalException: ''
},
allUnits: {
bungalowOrVilla: false,
bungalowOrVillaException: '',
connectingUnitAvailable: false,
connectingUnitAvailableException: '',
executiveFloor: false,
executiveFloorException: '',
maxAdultOccupantsCount: 0,
maxAdultOccupantsCountException: '',
maxChildOccupantsCount: 0,
maxChildOccupantsCountException: '',
maxOccupantsCount: 0,
maxOccupantsCountException: '',
privateHome: false,
privateHomeException: '',
suite: false,
suiteException: '',
tier: '',
tierException: '',
totalLivingAreas: {
accessibility: {
adaCompliantUnit: false,
adaCompliantUnitException: '',
hearingAccessibleDoorbell: false,
hearingAccessibleDoorbellException: '',
hearingAccessibleFireAlarm: false,
hearingAccessibleFireAlarmException: '',
hearingAccessibleUnit: false,
hearingAccessibleUnitException: '',
mobilityAccessibleBathtub: false,
mobilityAccessibleBathtubException: '',
mobilityAccessibleShower: false,
mobilityAccessibleShowerException: '',
mobilityAccessibleToilet: false,
mobilityAccessibleToiletException: '',
mobilityAccessibleUnit: false,
mobilityAccessibleUnitException: ''
},
eating: {
coffeeMaker: false,
coffeeMakerException: '',
cookware: false,
cookwareException: '',
dishwasher: false,
dishwasherException: '',
indoorGrill: false,
indoorGrillException: '',
kettle: false,
kettleException: '',
kitchenAvailable: false,
kitchenAvailableException: '',
microwave: false,
microwaveException: '',
minibar: false,
minibarException: '',
outdoorGrill: false,
outdoorGrillException: '',
oven: false,
ovenException: '',
refrigerator: false,
refrigeratorException: '',
sink: false,
sinkException: '',
snackbar: false,
snackbarException: '',
stove: false,
stoveException: '',
teaStation: false,
teaStationException: '',
toaster: false,
toasterException: ''
},
features: {
airConditioning: false,
airConditioningException: '',
bathtub: false,
bathtubException: '',
bidet: false,
bidetException: '',
dryer: false,
dryerException: '',
electronicRoomKey: false,
electronicRoomKeyException: '',
fireplace: false,
fireplaceException: '',
hairdryer: false,
hairdryerException: '',
heating: false,
heatingException: '',
inunitSafe: false,
inunitSafeException: '',
inunitWifiAvailable: false,
inunitWifiAvailableException: '',
ironingEquipment: false,
ironingEquipmentException: '',
payPerViewMovies: false,
payPerViewMoviesException: '',
privateBathroom: false,
privateBathroomException: '',
shower: false,
showerException: '',
toilet: false,
toiletException: '',
tv: false,
tvCasting: false,
tvCastingException: '',
tvException: '',
tvStreaming: false,
tvStreamingException: '',
universalPowerAdapters: false,
universalPowerAdaptersException: '',
washer: false,
washerException: ''
},
layout: {
balcony: false,
balconyException: '',
livingAreaSqMeters: '',
livingAreaSqMetersException: '',
loft: false,
loftException: '',
nonSmoking: false,
nonSmokingException: '',
patio: false,
patioException: '',
stairs: false,
stairsException: ''
},
sleeping: {
bedsCount: 0,
bedsCountException: '',
bunkBedsCount: 0,
bunkBedsCountException: '',
cribsCount: 0,
cribsCountException: '',
doubleBedsCount: 0,
doubleBedsCountException: '',
featherPillows: false,
featherPillowsException: '',
hypoallergenicBedding: false,
hypoallergenicBeddingException: '',
kingBedsCount: 0,
kingBedsCountException: '',
memoryFoamPillows: false,
memoryFoamPillowsException: '',
otherBedsCount: 0,
otherBedsCountException: '',
queenBedsCount: 0,
queenBedsCountException: '',
rollAwayBedsCount: 0,
rollAwayBedsCountException: '',
singleOrTwinBedsCount: 0,
singleOrTwinBedsCountException: '',
sofaBedsCount: 0,
sofaBedsCountException: '',
syntheticPillows: false,
syntheticPillowsException: ''
}
},
views: {
beachView: false,
beachViewException: '',
cityView: false,
cityViewException: '',
gardenView: false,
gardenViewException: '',
lakeView: false,
lakeViewException: '',
landmarkView: false,
landmarkViewException: '',
oceanView: false,
oceanViewException: '',
poolView: false,
poolViewException: '',
valleyView: false,
valleyViewException: ''
}
},
business: {
businessCenter: false,
businessCenterException: '',
meetingRooms: false,
meetingRoomsCount: 0,
meetingRoomsCountException: '',
meetingRoomsException: ''
},
commonLivingArea: {},
connectivity: {
freeWifi: false,
freeWifiException: '',
publicAreaWifiAvailable: false,
publicAreaWifiAvailableException: '',
publicInternetTerminal: false,
publicInternetTerminalException: '',
wifiAvailable: false,
wifiAvailableException: ''
},
families: {
babysitting: false,
babysittingException: '',
kidsActivities: false,
kidsActivitiesException: '',
kidsClub: false,
kidsClubException: '',
kidsFriendly: false,
kidsFriendlyException: ''
},
foodAndDrink: {
bar: false,
barException: '',
breakfastAvailable: false,
breakfastAvailableException: '',
breakfastBuffet: false,
breakfastBuffetException: '',
buffet: false,
buffetException: '',
dinnerBuffet: false,
dinnerBuffetException: '',
freeBreakfast: false,
freeBreakfastException: '',
restaurant: false,
restaurantException: '',
restaurantsCount: 0,
restaurantsCountException: '',
roomService: false,
roomServiceException: '',
tableService: false,
tableServiceException: '',
twentyFourHourRoomService: false,
twentyFourHourRoomServiceException: '',
vendingMachine: false,
vendingMachineException: ''
},
guestUnits: [{codes: [], features: {}, label: ''}],
healthAndSafety: {
enhancedCleaning: {
commercialGradeDisinfectantCleaning: false,
commercialGradeDisinfectantCleaningException: '',
commonAreasEnhancedCleaning: false,
commonAreasEnhancedCleaningException: '',
employeesTrainedCleaningProcedures: false,
employeesTrainedCleaningProceduresException: '',
employeesTrainedThoroughHandWashing: false,
employeesTrainedThoroughHandWashingException: '',
employeesWearProtectiveEquipment: false,
employeesWearProtectiveEquipmentException: '',
guestRoomsEnhancedCleaning: false,
guestRoomsEnhancedCleaningException: ''
},
increasedFoodSafety: {
diningAreasAdditionalSanitation: false,
diningAreasAdditionalSanitationException: '',
disposableFlatware: false,
disposableFlatwareException: '',
foodPreparationAndServingAdditionalSafety: false,
foodPreparationAndServingAdditionalSafetyException: '',
individualPackagedMeals: false,
individualPackagedMealsException: '',
singleUseFoodMenus: false,
singleUseFoodMenusException: ''
},
minimizedContact: {
contactlessCheckinCheckout: false,
contactlessCheckinCheckoutException: '',
digitalGuestRoomKeys: false,
digitalGuestRoomKeysException: '',
housekeepingScheduledRequestOnly: false,
housekeepingScheduledRequestOnlyException: '',
noHighTouchItemsCommonAreas: false,
noHighTouchItemsCommonAreasException: '',
noHighTouchItemsGuestRooms: false,
noHighTouchItemsGuestRoomsException: '',
plasticKeycardsDisinfected: false,
plasticKeycardsDisinfectedException: '',
roomBookingsBuffer: false,
roomBookingsBufferException: ''
},
personalProtection: {
commonAreasOfferSanitizingItems: false,
commonAreasOfferSanitizingItemsException: '',
faceMaskRequired: false,
faceMaskRequiredException: '',
guestRoomHygieneKitsAvailable: false,
guestRoomHygieneKitsAvailableException: '',
protectiveEquipmentAvailable: false,
protectiveEquipmentAvailableException: ''
},
physicalDistancing: {
commonAreasPhysicalDistancingArranged: false,
commonAreasPhysicalDistancingArrangedException: '',
physicalDistancingRequired: false,
physicalDistancingRequiredException: '',
safetyDividers: false,
safetyDividersException: '',
sharedAreasLimitedOccupancy: false,
sharedAreasLimitedOccupancyException: '',
wellnessAreasHavePrivateSpaces: false,
wellnessAreasHavePrivateSpacesException: ''
}
},
housekeeping: {
dailyHousekeeping: false,
dailyHousekeepingException: '',
housekeepingAvailable: false,
housekeepingAvailableException: '',
turndownService: false,
turndownServiceException: ''
},
metadata: {updateTime: ''},
name: '',
parking: {
electricCarChargingStations: false,
electricCarChargingStationsException: '',
freeParking: false,
freeParkingException: '',
freeSelfParking: false,
freeSelfParkingException: '',
freeValetParking: false,
freeValetParkingException: '',
parkingAvailable: false,
parkingAvailableException: '',
selfParkingAvailable: false,
selfParkingAvailableException: '',
valetParkingAvailable: false,
valetParkingAvailableException: ''
},
pets: {
catsAllowed: false,
catsAllowedException: '',
dogsAllowed: false,
dogsAllowedException: '',
petsAllowed: false,
petsAllowedException: '',
petsAllowedFree: false,
petsAllowedFreeException: ''
},
policies: {
allInclusiveAvailable: false,
allInclusiveAvailableException: '',
allInclusiveOnly: false,
allInclusiveOnlyException: '',
checkinTime: {hours: 0, minutes: 0, nanos: 0, seconds: 0},
checkinTimeException: '',
checkoutTime: {},
checkoutTimeException: '',
kidsStayFree: false,
kidsStayFreeException: '',
maxChildAge: 0,
maxChildAgeException: '',
maxKidsStayFreeCount: 0,
maxKidsStayFreeCountException: '',
paymentOptions: {
cash: false,
cashException: '',
cheque: false,
chequeException: '',
creditCard: false,
creditCardException: '',
debitCard: false,
debitCardException: '',
mobileNfc: false,
mobileNfcException: ''
},
smokeFreeProperty: false,
smokeFreePropertyException: ''
},
pools: {
adultPool: false,
adultPoolException: '',
hotTub: false,
hotTubException: '',
indoorPool: false,
indoorPoolException: '',
indoorPoolsCount: 0,
indoorPoolsCountException: '',
lazyRiver: false,
lazyRiverException: '',
lifeguard: false,
lifeguardException: '',
outdoorPool: false,
outdoorPoolException: '',
outdoorPoolsCount: 0,
outdoorPoolsCountException: '',
pool: false,
poolException: '',
poolsCount: 0,
poolsCountException: '',
wadingPool: false,
wadingPoolException: '',
waterPark: false,
waterParkException: '',
waterslide: false,
waterslideException: '',
wavePool: false,
wavePoolException: ''
},
property: {
builtYear: 0,
builtYearException: '',
floorsCount: 0,
floorsCountException: '',
lastRenovatedYear: 0,
lastRenovatedYearException: '',
roomsCount: 0,
roomsCountException: ''
},
services: {
baggageStorage: false,
baggageStorageException: '',
concierge: false,
conciergeException: '',
convenienceStore: false,
convenienceStoreException: '',
currencyExchange: false,
currencyExchangeException: '',
elevator: false,
elevatorException: '',
frontDesk: false,
frontDeskException: '',
fullServiceLaundry: false,
fullServiceLaundryException: '',
giftShop: false,
giftShopException: '',
languagesSpoken: [{languageCode: '', spoken: false, spokenException: ''}],
selfServiceLaundry: false,
selfServiceLaundryException: '',
socialHour: false,
socialHourException: '',
twentyFourHourFrontDesk: false,
twentyFourHourFrontDeskException: '',
wakeUpCalls: false,
wakeUpCallsException: ''
},
someUnits: {},
sustainability: {
energyEfficiency: {
carbonFreeEnergySources: false,
carbonFreeEnergySourcesException: '',
energyConservationProgram: false,
energyConservationProgramException: '',
energyEfficientHeatingAndCoolingSystems: false,
energyEfficientHeatingAndCoolingSystemsException: '',
energyEfficientLighting: false,
energyEfficientLightingException: '',
energySavingThermostats: false,
energySavingThermostatsException: '',
greenBuildingDesign: false,
greenBuildingDesignException: '',
independentOrganizationAuditsEnergyUse: false,
independentOrganizationAuditsEnergyUseException: ''
},
sustainabilityCertifications: {
breeamCertification: '',
breeamCertificationException: '',
ecoCertifications: [{awarded: false, awardedException: '', ecoCertificate: ''}],
leedCertification: '',
leedCertificationException: ''
},
sustainableSourcing: {
ecoFriendlyToiletries: false,
ecoFriendlyToiletriesException: '',
locallySourcedFoodAndBeverages: false,
locallySourcedFoodAndBeveragesException: '',
organicCageFreeEggs: false,
organicCageFreeEggsException: '',
organicFoodAndBeverages: false,
organicFoodAndBeveragesException: '',
responsiblePurchasingPolicy: false,
responsiblePurchasingPolicyException: '',
responsiblySourcesSeafood: false,
responsiblySourcesSeafoodException: '',
veganMeals: false,
veganMealsException: '',
vegetarianMeals: false,
vegetarianMealsException: ''
},
wasteReduction: {
compostableFoodContainersAndCutlery: false,
compostableFoodContainersAndCutleryException: '',
compostsExcessFood: false,
compostsExcessFoodException: '',
donatesExcessFood: false,
donatesExcessFoodException: '',
foodWasteReductionProgram: false,
foodWasteReductionProgramException: '',
noSingleUsePlasticStraws: false,
noSingleUsePlasticStrawsException: '',
noSingleUsePlasticWaterBottles: false,
noSingleUsePlasticWaterBottlesException: '',
noStyrofoamFoodContainers: false,
noStyrofoamFoodContainersException: '',
recyclingProgram: false,
recyclingProgramException: '',
refillableToiletryContainers: false,
refillableToiletryContainersException: '',
safelyDisposesBatteries: false,
safelyDisposesBatteriesException: '',
safelyDisposesElectronics: false,
safelyDisposesElectronicsException: '',
safelyDisposesLightbulbs: false,
safelyDisposesLightbulbsException: '',
safelyHandlesHazardousSubstances: false,
safelyHandlesHazardousSubstancesException: '',
soapDonationProgram: false,
soapDonationProgramException: '',
toiletryDonationProgram: false,
toiletryDonationProgramException: '',
waterBottleFillingStations: false,
waterBottleFillingStationsException: ''
},
waterConservation: {
independentOrganizationAuditsWaterUse: false,
independentOrganizationAuditsWaterUseException: '',
linenReuseProgram: false,
linenReuseProgramException: '',
towelReuseProgram: false,
towelReuseProgramException: '',
waterSavingShowers: false,
waterSavingShowersException: '',
waterSavingSinks: false,
waterSavingSinksException: '',
waterSavingToilets: false,
waterSavingToiletsException: ''
}
},
transportation: {
airportShuttle: false,
airportShuttleException: '',
carRentalOnProperty: false,
carRentalOnPropertyException: '',
freeAirportShuttle: false,
freeAirportShuttleException: '',
freePrivateCarService: false,
freePrivateCarServiceException: '',
localShuttle: false,
localShuttleException: '',
privateCarService: false,
privateCarServiceException: '',
transfer: false,
transferException: ''
},
wellness: {
doctorOnCall: false,
doctorOnCallException: '',
ellipticalMachine: false,
ellipticalMachineException: '',
fitnessCenter: false,
fitnessCenterException: '',
freeFitnessCenter: false,
freeFitnessCenterException: '',
freeWeights: false,
freeWeightsException: '',
massage: false,
massageException: '',
salon: false,
salonException: '',
sauna: false,
saunaException: '',
spa: false,
spaException: '',
treadmill: false,
treadmillException: '',
weightMachine: false,
weightMachineException: ''
}
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/v1/:name';
const options = {
method: 'PATCH',
headers: {'content-type': 'application/json'},
body: '{"accessibility":{"mobilityAccessible":false,"mobilityAccessibleElevator":false,"mobilityAccessibleElevatorException":"","mobilityAccessibleException":"","mobilityAccessibleParking":false,"mobilityAccessibleParkingException":"","mobilityAccessiblePool":false,"mobilityAccessiblePoolException":""},"activities":{"beachAccess":false,"beachAccessException":"","beachFront":false,"beachFrontException":"","bicycleRental":false,"bicycleRentalException":"","boutiqueStores":false,"boutiqueStoresException":"","casino":false,"casinoException":"","freeBicycleRental":false,"freeBicycleRentalException":"","freeWatercraftRental":false,"freeWatercraftRentalException":"","gameRoom":false,"gameRoomException":"","golf":false,"golfException":"","horsebackRiding":false,"horsebackRidingException":"","nightclub":false,"nightclubException":"","privateBeach":false,"privateBeachException":"","scuba":false,"scubaException":"","snorkeling":false,"snorkelingException":"","tennis":false,"tennisException":"","waterSkiing":false,"waterSkiingException":"","watercraftRental":false,"watercraftRentalException":""},"allUnits":{"bungalowOrVilla":false,"bungalowOrVillaException":"","connectingUnitAvailable":false,"connectingUnitAvailableException":"","executiveFloor":false,"executiveFloorException":"","maxAdultOccupantsCount":0,"maxAdultOccupantsCountException":"","maxChildOccupantsCount":0,"maxChildOccupantsCountException":"","maxOccupantsCount":0,"maxOccupantsCountException":"","privateHome":false,"privateHomeException":"","suite":false,"suiteException":"","tier":"","tierException":"","totalLivingAreas":{"accessibility":{"adaCompliantUnit":false,"adaCompliantUnitException":"","hearingAccessibleDoorbell":false,"hearingAccessibleDoorbellException":"","hearingAccessibleFireAlarm":false,"hearingAccessibleFireAlarmException":"","hearingAccessibleUnit":false,"hearingAccessibleUnitException":"","mobilityAccessibleBathtub":false,"mobilityAccessibleBathtubException":"","mobilityAccessibleShower":false,"mobilityAccessibleShowerException":"","mobilityAccessibleToilet":false,"mobilityAccessibleToiletException":"","mobilityAccessibleUnit":false,"mobilityAccessibleUnitException":""},"eating":{"coffeeMaker":false,"coffeeMakerException":"","cookware":false,"cookwareException":"","dishwasher":false,"dishwasherException":"","indoorGrill":false,"indoorGrillException":"","kettle":false,"kettleException":"","kitchenAvailable":false,"kitchenAvailableException":"","microwave":false,"microwaveException":"","minibar":false,"minibarException":"","outdoorGrill":false,"outdoorGrillException":"","oven":false,"ovenException":"","refrigerator":false,"refrigeratorException":"","sink":false,"sinkException":"","snackbar":false,"snackbarException":"","stove":false,"stoveException":"","teaStation":false,"teaStationException":"","toaster":false,"toasterException":""},"features":{"airConditioning":false,"airConditioningException":"","bathtub":false,"bathtubException":"","bidet":false,"bidetException":"","dryer":false,"dryerException":"","electronicRoomKey":false,"electronicRoomKeyException":"","fireplace":false,"fireplaceException":"","hairdryer":false,"hairdryerException":"","heating":false,"heatingException":"","inunitSafe":false,"inunitSafeException":"","inunitWifiAvailable":false,"inunitWifiAvailableException":"","ironingEquipment":false,"ironingEquipmentException":"","payPerViewMovies":false,"payPerViewMoviesException":"","privateBathroom":false,"privateBathroomException":"","shower":false,"showerException":"","toilet":false,"toiletException":"","tv":false,"tvCasting":false,"tvCastingException":"","tvException":"","tvStreaming":false,"tvStreamingException":"","universalPowerAdapters":false,"universalPowerAdaptersException":"","washer":false,"washerException":""},"layout":{"balcony":false,"balconyException":"","livingAreaSqMeters":"","livingAreaSqMetersException":"","loft":false,"loftException":"","nonSmoking":false,"nonSmokingException":"","patio":false,"patioException":"","stairs":false,"stairsException":""},"sleeping":{"bedsCount":0,"bedsCountException":"","bunkBedsCount":0,"bunkBedsCountException":"","cribsCount":0,"cribsCountException":"","doubleBedsCount":0,"doubleBedsCountException":"","featherPillows":false,"featherPillowsException":"","hypoallergenicBedding":false,"hypoallergenicBeddingException":"","kingBedsCount":0,"kingBedsCountException":"","memoryFoamPillows":false,"memoryFoamPillowsException":"","otherBedsCount":0,"otherBedsCountException":"","queenBedsCount":0,"queenBedsCountException":"","rollAwayBedsCount":0,"rollAwayBedsCountException":"","singleOrTwinBedsCount":0,"singleOrTwinBedsCountException":"","sofaBedsCount":0,"sofaBedsCountException":"","syntheticPillows":false,"syntheticPillowsException":""}},"views":{"beachView":false,"beachViewException":"","cityView":false,"cityViewException":"","gardenView":false,"gardenViewException":"","lakeView":false,"lakeViewException":"","landmarkView":false,"landmarkViewException":"","oceanView":false,"oceanViewException":"","poolView":false,"poolViewException":"","valleyView":false,"valleyViewException":""}},"business":{"businessCenter":false,"businessCenterException":"","meetingRooms":false,"meetingRoomsCount":0,"meetingRoomsCountException":"","meetingRoomsException":""},"commonLivingArea":{},"connectivity":{"freeWifi":false,"freeWifiException":"","publicAreaWifiAvailable":false,"publicAreaWifiAvailableException":"","publicInternetTerminal":false,"publicInternetTerminalException":"","wifiAvailable":false,"wifiAvailableException":""},"families":{"babysitting":false,"babysittingException":"","kidsActivities":false,"kidsActivitiesException":"","kidsClub":false,"kidsClubException":"","kidsFriendly":false,"kidsFriendlyException":""},"foodAndDrink":{"bar":false,"barException":"","breakfastAvailable":false,"breakfastAvailableException":"","breakfastBuffet":false,"breakfastBuffetException":"","buffet":false,"buffetException":"","dinnerBuffet":false,"dinnerBuffetException":"","freeBreakfast":false,"freeBreakfastException":"","restaurant":false,"restaurantException":"","restaurantsCount":0,"restaurantsCountException":"","roomService":false,"roomServiceException":"","tableService":false,"tableServiceException":"","twentyFourHourRoomService":false,"twentyFourHourRoomServiceException":"","vendingMachine":false,"vendingMachineException":""},"guestUnits":[{"codes":[],"features":{},"label":""}],"healthAndSafety":{"enhancedCleaning":{"commercialGradeDisinfectantCleaning":false,"commercialGradeDisinfectantCleaningException":"","commonAreasEnhancedCleaning":false,"commonAreasEnhancedCleaningException":"","employeesTrainedCleaningProcedures":false,"employeesTrainedCleaningProceduresException":"","employeesTrainedThoroughHandWashing":false,"employeesTrainedThoroughHandWashingException":"","employeesWearProtectiveEquipment":false,"employeesWearProtectiveEquipmentException":"","guestRoomsEnhancedCleaning":false,"guestRoomsEnhancedCleaningException":""},"increasedFoodSafety":{"diningAreasAdditionalSanitation":false,"diningAreasAdditionalSanitationException":"","disposableFlatware":false,"disposableFlatwareException":"","foodPreparationAndServingAdditionalSafety":false,"foodPreparationAndServingAdditionalSafetyException":"","individualPackagedMeals":false,"individualPackagedMealsException":"","singleUseFoodMenus":false,"singleUseFoodMenusException":""},"minimizedContact":{"contactlessCheckinCheckout":false,"contactlessCheckinCheckoutException":"","digitalGuestRoomKeys":false,"digitalGuestRoomKeysException":"","housekeepingScheduledRequestOnly":false,"housekeepingScheduledRequestOnlyException":"","noHighTouchItemsCommonAreas":false,"noHighTouchItemsCommonAreasException":"","noHighTouchItemsGuestRooms":false,"noHighTouchItemsGuestRoomsException":"","plasticKeycardsDisinfected":false,"plasticKeycardsDisinfectedException":"","roomBookingsBuffer":false,"roomBookingsBufferException":""},"personalProtection":{"commonAreasOfferSanitizingItems":false,"commonAreasOfferSanitizingItemsException":"","faceMaskRequired":false,"faceMaskRequiredException":"","guestRoomHygieneKitsAvailable":false,"guestRoomHygieneKitsAvailableException":"","protectiveEquipmentAvailable":false,"protectiveEquipmentAvailableException":""},"physicalDistancing":{"commonAreasPhysicalDistancingArranged":false,"commonAreasPhysicalDistancingArrangedException":"","physicalDistancingRequired":false,"physicalDistancingRequiredException":"","safetyDividers":false,"safetyDividersException":"","sharedAreasLimitedOccupancy":false,"sharedAreasLimitedOccupancyException":"","wellnessAreasHavePrivateSpaces":false,"wellnessAreasHavePrivateSpacesException":""}},"housekeeping":{"dailyHousekeeping":false,"dailyHousekeepingException":"","housekeepingAvailable":false,"housekeepingAvailableException":"","turndownService":false,"turndownServiceException":""},"metadata":{"updateTime":""},"name":"","parking":{"electricCarChargingStations":false,"electricCarChargingStationsException":"","freeParking":false,"freeParkingException":"","freeSelfParking":false,"freeSelfParkingException":"","freeValetParking":false,"freeValetParkingException":"","parkingAvailable":false,"parkingAvailableException":"","selfParkingAvailable":false,"selfParkingAvailableException":"","valetParkingAvailable":false,"valetParkingAvailableException":""},"pets":{"catsAllowed":false,"catsAllowedException":"","dogsAllowed":false,"dogsAllowedException":"","petsAllowed":false,"petsAllowedException":"","petsAllowedFree":false,"petsAllowedFreeException":""},"policies":{"allInclusiveAvailable":false,"allInclusiveAvailableException":"","allInclusiveOnly":false,"allInclusiveOnlyException":"","checkinTime":{"hours":0,"minutes":0,"nanos":0,"seconds":0},"checkinTimeException":"","checkoutTime":{},"checkoutTimeException":"","kidsStayFree":false,"kidsStayFreeException":"","maxChildAge":0,"maxChildAgeException":"","maxKidsStayFreeCount":0,"maxKidsStayFreeCountException":"","paymentOptions":{"cash":false,"cashException":"","cheque":false,"chequeException":"","creditCard":false,"creditCardException":"","debitCard":false,"debitCardException":"","mobileNfc":false,"mobileNfcException":""},"smokeFreeProperty":false,"smokeFreePropertyException":""},"pools":{"adultPool":false,"adultPoolException":"","hotTub":false,"hotTubException":"","indoorPool":false,"indoorPoolException":"","indoorPoolsCount":0,"indoorPoolsCountException":"","lazyRiver":false,"lazyRiverException":"","lifeguard":false,"lifeguardException":"","outdoorPool":false,"outdoorPoolException":"","outdoorPoolsCount":0,"outdoorPoolsCountException":"","pool":false,"poolException":"","poolsCount":0,"poolsCountException":"","wadingPool":false,"wadingPoolException":"","waterPark":false,"waterParkException":"","waterslide":false,"waterslideException":"","wavePool":false,"wavePoolException":""},"property":{"builtYear":0,"builtYearException":"","floorsCount":0,"floorsCountException":"","lastRenovatedYear":0,"lastRenovatedYearException":"","roomsCount":0,"roomsCountException":""},"services":{"baggageStorage":false,"baggageStorageException":"","concierge":false,"conciergeException":"","convenienceStore":false,"convenienceStoreException":"","currencyExchange":false,"currencyExchangeException":"","elevator":false,"elevatorException":"","frontDesk":false,"frontDeskException":"","fullServiceLaundry":false,"fullServiceLaundryException":"","giftShop":false,"giftShopException":"","languagesSpoken":[{"languageCode":"","spoken":false,"spokenException":""}],"selfServiceLaundry":false,"selfServiceLaundryException":"","socialHour":false,"socialHourException":"","twentyFourHourFrontDesk":false,"twentyFourHourFrontDeskException":"","wakeUpCalls":false,"wakeUpCallsException":""},"someUnits":{},"sustainability":{"energyEfficiency":{"carbonFreeEnergySources":false,"carbonFreeEnergySourcesException":"","energyConservationProgram":false,"energyConservationProgramException":"","energyEfficientHeatingAndCoolingSystems":false,"energyEfficientHeatingAndCoolingSystemsException":"","energyEfficientLighting":false,"energyEfficientLightingException":"","energySavingThermostats":false,"energySavingThermostatsException":"","greenBuildingDesign":false,"greenBuildingDesignException":"","independentOrganizationAuditsEnergyUse":false,"independentOrganizationAuditsEnergyUseException":""},"sustainabilityCertifications":{"breeamCertification":"","breeamCertificationException":"","ecoCertifications":[{"awarded":false,"awardedException":"","ecoCertificate":""}],"leedCertification":"","leedCertificationException":""},"sustainableSourcing":{"ecoFriendlyToiletries":false,"ecoFriendlyToiletriesException":"","locallySourcedFoodAndBeverages":false,"locallySourcedFoodAndBeveragesException":"","organicCageFreeEggs":false,"organicCageFreeEggsException":"","organicFoodAndBeverages":false,"organicFoodAndBeveragesException":"","responsiblePurchasingPolicy":false,"responsiblePurchasingPolicyException":"","responsiblySourcesSeafood":false,"responsiblySourcesSeafoodException":"","veganMeals":false,"veganMealsException":"","vegetarianMeals":false,"vegetarianMealsException":""},"wasteReduction":{"compostableFoodContainersAndCutlery":false,"compostableFoodContainersAndCutleryException":"","compostsExcessFood":false,"compostsExcessFoodException":"","donatesExcessFood":false,"donatesExcessFoodException":"","foodWasteReductionProgram":false,"foodWasteReductionProgramException":"","noSingleUsePlasticStraws":false,"noSingleUsePlasticStrawsException":"","noSingleUsePlasticWaterBottles":false,"noSingleUsePlasticWaterBottlesException":"","noStyrofoamFoodContainers":false,"noStyrofoamFoodContainersException":"","recyclingProgram":false,"recyclingProgramException":"","refillableToiletryContainers":false,"refillableToiletryContainersException":"","safelyDisposesBatteries":false,"safelyDisposesBatteriesException":"","safelyDisposesElectronics":false,"safelyDisposesElectronicsException":"","safelyDisposesLightbulbs":false,"safelyDisposesLightbulbsException":"","safelyHandlesHazardousSubstances":false,"safelyHandlesHazardousSubstancesException":"","soapDonationProgram":false,"soapDonationProgramException":"","toiletryDonationProgram":false,"toiletryDonationProgramException":"","waterBottleFillingStations":false,"waterBottleFillingStationsException":""},"waterConservation":{"independentOrganizationAuditsWaterUse":false,"independentOrganizationAuditsWaterUseException":"","linenReuseProgram":false,"linenReuseProgramException":"","towelReuseProgram":false,"towelReuseProgramException":"","waterSavingShowers":false,"waterSavingShowersException":"","waterSavingSinks":false,"waterSavingSinksException":"","waterSavingToilets":false,"waterSavingToiletsException":""}},"transportation":{"airportShuttle":false,"airportShuttleException":"","carRentalOnProperty":false,"carRentalOnPropertyException":"","freeAirportShuttle":false,"freeAirportShuttleException":"","freePrivateCarService":false,"freePrivateCarServiceException":"","localShuttle":false,"localShuttleException":"","privateCarService":false,"privateCarServiceException":"","transfer":false,"transferException":""},"wellness":{"doctorOnCall":false,"doctorOnCallException":"","ellipticalMachine":false,"ellipticalMachineException":"","fitnessCenter":false,"fitnessCenterException":"","freeFitnessCenter":false,"freeFitnessCenterException":"","freeWeights":false,"freeWeightsException":"","massage":false,"massageException":"","salon":false,"salonException":"","sauna":false,"saunaException":"","spa":false,"spaException":"","treadmill":false,"treadmillException":"","weightMachine":false,"weightMachineException":""}}'
};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/v1/:name',
method: 'PATCH',
headers: {
'content-type': 'application/json'
},
processData: false,
data: '{\n "accessibility": {\n "mobilityAccessible": false,\n "mobilityAccessibleElevator": false,\n "mobilityAccessibleElevatorException": "",\n "mobilityAccessibleException": "",\n "mobilityAccessibleParking": false,\n "mobilityAccessibleParkingException": "",\n "mobilityAccessiblePool": false,\n "mobilityAccessiblePoolException": ""\n },\n "activities": {\n "beachAccess": false,\n "beachAccessException": "",\n "beachFront": false,\n "beachFrontException": "",\n "bicycleRental": false,\n "bicycleRentalException": "",\n "boutiqueStores": false,\n "boutiqueStoresException": "",\n "casino": false,\n "casinoException": "",\n "freeBicycleRental": false,\n "freeBicycleRentalException": "",\n "freeWatercraftRental": false,\n "freeWatercraftRentalException": "",\n "gameRoom": false,\n "gameRoomException": "",\n "golf": false,\n "golfException": "",\n "horsebackRiding": false,\n "horsebackRidingException": "",\n "nightclub": false,\n "nightclubException": "",\n "privateBeach": false,\n "privateBeachException": "",\n "scuba": false,\n "scubaException": "",\n "snorkeling": false,\n "snorkelingException": "",\n "tennis": false,\n "tennisException": "",\n "waterSkiing": false,\n "waterSkiingException": "",\n "watercraftRental": false,\n "watercraftRentalException": ""\n },\n "allUnits": {\n "bungalowOrVilla": false,\n "bungalowOrVillaException": "",\n "connectingUnitAvailable": false,\n "connectingUnitAvailableException": "",\n "executiveFloor": false,\n "executiveFloorException": "",\n "maxAdultOccupantsCount": 0,\n "maxAdultOccupantsCountException": "",\n "maxChildOccupantsCount": 0,\n "maxChildOccupantsCountException": "",\n "maxOccupantsCount": 0,\n "maxOccupantsCountException": "",\n "privateHome": false,\n "privateHomeException": "",\n "suite": false,\n "suiteException": "",\n "tier": "",\n "tierException": "",\n "totalLivingAreas": {\n "accessibility": {\n "adaCompliantUnit": false,\n "adaCompliantUnitException": "",\n "hearingAccessibleDoorbell": false,\n "hearingAccessibleDoorbellException": "",\n "hearingAccessibleFireAlarm": false,\n "hearingAccessibleFireAlarmException": "",\n "hearingAccessibleUnit": false,\n "hearingAccessibleUnitException": "",\n "mobilityAccessibleBathtub": false,\n "mobilityAccessibleBathtubException": "",\n "mobilityAccessibleShower": false,\n "mobilityAccessibleShowerException": "",\n "mobilityAccessibleToilet": false,\n "mobilityAccessibleToiletException": "",\n "mobilityAccessibleUnit": false,\n "mobilityAccessibleUnitException": ""\n },\n "eating": {\n "coffeeMaker": false,\n "coffeeMakerException": "",\n "cookware": false,\n "cookwareException": "",\n "dishwasher": false,\n "dishwasherException": "",\n "indoorGrill": false,\n "indoorGrillException": "",\n "kettle": false,\n "kettleException": "",\n "kitchenAvailable": false,\n "kitchenAvailableException": "",\n "microwave": false,\n "microwaveException": "",\n "minibar": false,\n "minibarException": "",\n "outdoorGrill": false,\n "outdoorGrillException": "",\n "oven": false,\n "ovenException": "",\n "refrigerator": false,\n "refrigeratorException": "",\n "sink": false,\n "sinkException": "",\n "snackbar": false,\n "snackbarException": "",\n "stove": false,\n "stoveException": "",\n "teaStation": false,\n "teaStationException": "",\n "toaster": false,\n "toasterException": ""\n },\n "features": {\n "airConditioning": false,\n "airConditioningException": "",\n "bathtub": false,\n "bathtubException": "",\n "bidet": false,\n "bidetException": "",\n "dryer": false,\n "dryerException": "",\n "electronicRoomKey": false,\n "electronicRoomKeyException": "",\n "fireplace": false,\n "fireplaceException": "",\n "hairdryer": false,\n "hairdryerException": "",\n "heating": false,\n "heatingException": "",\n "inunitSafe": false,\n "inunitSafeException": "",\n "inunitWifiAvailable": false,\n "inunitWifiAvailableException": "",\n "ironingEquipment": false,\n "ironingEquipmentException": "",\n "payPerViewMovies": false,\n "payPerViewMoviesException": "",\n "privateBathroom": false,\n "privateBathroomException": "",\n "shower": false,\n "showerException": "",\n "toilet": false,\n "toiletException": "",\n "tv": false,\n "tvCasting": false,\n "tvCastingException": "",\n "tvException": "",\n "tvStreaming": false,\n "tvStreamingException": "",\n "universalPowerAdapters": false,\n "universalPowerAdaptersException": "",\n "washer": false,\n "washerException": ""\n },\n "layout": {\n "balcony": false,\n "balconyException": "",\n "livingAreaSqMeters": "",\n "livingAreaSqMetersException": "",\n "loft": false,\n "loftException": "",\n "nonSmoking": false,\n "nonSmokingException": "",\n "patio": false,\n "patioException": "",\n "stairs": false,\n "stairsException": ""\n },\n "sleeping": {\n "bedsCount": 0,\n "bedsCountException": "",\n "bunkBedsCount": 0,\n "bunkBedsCountException": "",\n "cribsCount": 0,\n "cribsCountException": "",\n "doubleBedsCount": 0,\n "doubleBedsCountException": "",\n "featherPillows": false,\n "featherPillowsException": "",\n "hypoallergenicBedding": false,\n "hypoallergenicBeddingException": "",\n "kingBedsCount": 0,\n "kingBedsCountException": "",\n "memoryFoamPillows": false,\n "memoryFoamPillowsException": "",\n "otherBedsCount": 0,\n "otherBedsCountException": "",\n "queenBedsCount": 0,\n "queenBedsCountException": "",\n "rollAwayBedsCount": 0,\n "rollAwayBedsCountException": "",\n "singleOrTwinBedsCount": 0,\n "singleOrTwinBedsCountException": "",\n "sofaBedsCount": 0,\n "sofaBedsCountException": "",\n "syntheticPillows": false,\n "syntheticPillowsException": ""\n }\n },\n "views": {\n "beachView": false,\n "beachViewException": "",\n "cityView": false,\n "cityViewException": "",\n "gardenView": false,\n "gardenViewException": "",\n "lakeView": false,\n "lakeViewException": "",\n "landmarkView": false,\n "landmarkViewException": "",\n "oceanView": false,\n "oceanViewException": "",\n "poolView": false,\n "poolViewException": "",\n "valleyView": false,\n "valleyViewException": ""\n }\n },\n "business": {\n "businessCenter": false,\n "businessCenterException": "",\n "meetingRooms": false,\n "meetingRoomsCount": 0,\n "meetingRoomsCountException": "",\n "meetingRoomsException": ""\n },\n "commonLivingArea": {},\n "connectivity": {\n "freeWifi": false,\n "freeWifiException": "",\n "publicAreaWifiAvailable": false,\n "publicAreaWifiAvailableException": "",\n "publicInternetTerminal": false,\n "publicInternetTerminalException": "",\n "wifiAvailable": false,\n "wifiAvailableException": ""\n },\n "families": {\n "babysitting": false,\n "babysittingException": "",\n "kidsActivities": false,\n "kidsActivitiesException": "",\n "kidsClub": false,\n "kidsClubException": "",\n "kidsFriendly": false,\n "kidsFriendlyException": ""\n },\n "foodAndDrink": {\n "bar": false,\n "barException": "",\n "breakfastAvailable": false,\n "breakfastAvailableException": "",\n "breakfastBuffet": false,\n "breakfastBuffetException": "",\n "buffet": false,\n "buffetException": "",\n "dinnerBuffet": false,\n "dinnerBuffetException": "",\n "freeBreakfast": false,\n "freeBreakfastException": "",\n "restaurant": false,\n "restaurantException": "",\n "restaurantsCount": 0,\n "restaurantsCountException": "",\n "roomService": false,\n "roomServiceException": "",\n "tableService": false,\n "tableServiceException": "",\n "twentyFourHourRoomService": false,\n "twentyFourHourRoomServiceException": "",\n "vendingMachine": false,\n "vendingMachineException": ""\n },\n "guestUnits": [\n {\n "codes": [],\n "features": {},\n "label": ""\n }\n ],\n "healthAndSafety": {\n "enhancedCleaning": {\n "commercialGradeDisinfectantCleaning": false,\n "commercialGradeDisinfectantCleaningException": "",\n "commonAreasEnhancedCleaning": false,\n "commonAreasEnhancedCleaningException": "",\n "employeesTrainedCleaningProcedures": false,\n "employeesTrainedCleaningProceduresException": "",\n "employeesTrainedThoroughHandWashing": false,\n "employeesTrainedThoroughHandWashingException": "",\n "employeesWearProtectiveEquipment": false,\n "employeesWearProtectiveEquipmentException": "",\n "guestRoomsEnhancedCleaning": false,\n "guestRoomsEnhancedCleaningException": ""\n },\n "increasedFoodSafety": {\n "diningAreasAdditionalSanitation": false,\n "diningAreasAdditionalSanitationException": "",\n "disposableFlatware": false,\n "disposableFlatwareException": "",\n "foodPreparationAndServingAdditionalSafety": false,\n "foodPreparationAndServingAdditionalSafetyException": "",\n "individualPackagedMeals": false,\n "individualPackagedMealsException": "",\n "singleUseFoodMenus": false,\n "singleUseFoodMenusException": ""\n },\n "minimizedContact": {\n "contactlessCheckinCheckout": false,\n "contactlessCheckinCheckoutException": "",\n "digitalGuestRoomKeys": false,\n "digitalGuestRoomKeysException": "",\n "housekeepingScheduledRequestOnly": false,\n "housekeepingScheduledRequestOnlyException": "",\n "noHighTouchItemsCommonAreas": false,\n "noHighTouchItemsCommonAreasException": "",\n "noHighTouchItemsGuestRooms": false,\n "noHighTouchItemsGuestRoomsException": "",\n "plasticKeycardsDisinfected": false,\n "plasticKeycardsDisinfectedException": "",\n "roomBookingsBuffer": false,\n "roomBookingsBufferException": ""\n },\n "personalProtection": {\n "commonAreasOfferSanitizingItems": false,\n "commonAreasOfferSanitizingItemsException": "",\n "faceMaskRequired": false,\n "faceMaskRequiredException": "",\n "guestRoomHygieneKitsAvailable": false,\n "guestRoomHygieneKitsAvailableException": "",\n "protectiveEquipmentAvailable": false,\n "protectiveEquipmentAvailableException": ""\n },\n "physicalDistancing": {\n "commonAreasPhysicalDistancingArranged": false,\n "commonAreasPhysicalDistancingArrangedException": "",\n "physicalDistancingRequired": false,\n "physicalDistancingRequiredException": "",\n "safetyDividers": false,\n "safetyDividersException": "",\n "sharedAreasLimitedOccupancy": false,\n "sharedAreasLimitedOccupancyException": "",\n "wellnessAreasHavePrivateSpaces": false,\n "wellnessAreasHavePrivateSpacesException": ""\n }\n },\n "housekeeping": {\n "dailyHousekeeping": false,\n "dailyHousekeepingException": "",\n "housekeepingAvailable": false,\n "housekeepingAvailableException": "",\n "turndownService": false,\n "turndownServiceException": ""\n },\n "metadata": {\n "updateTime": ""\n },\n "name": "",\n "parking": {\n "electricCarChargingStations": false,\n "electricCarChargingStationsException": "",\n "freeParking": false,\n "freeParkingException": "",\n "freeSelfParking": false,\n "freeSelfParkingException": "",\n "freeValetParking": false,\n "freeValetParkingException": "",\n "parkingAvailable": false,\n "parkingAvailableException": "",\n "selfParkingAvailable": false,\n "selfParkingAvailableException": "",\n "valetParkingAvailable": false,\n "valetParkingAvailableException": ""\n },\n "pets": {\n "catsAllowed": false,\n "catsAllowedException": "",\n "dogsAllowed": false,\n "dogsAllowedException": "",\n "petsAllowed": false,\n "petsAllowedException": "",\n "petsAllowedFree": false,\n "petsAllowedFreeException": ""\n },\n "policies": {\n "allInclusiveAvailable": false,\n "allInclusiveAvailableException": "",\n "allInclusiveOnly": false,\n "allInclusiveOnlyException": "",\n "checkinTime": {\n "hours": 0,\n "minutes": 0,\n "nanos": 0,\n "seconds": 0\n },\n "checkinTimeException": "",\n "checkoutTime": {},\n "checkoutTimeException": "",\n "kidsStayFree": false,\n "kidsStayFreeException": "",\n "maxChildAge": 0,\n "maxChildAgeException": "",\n "maxKidsStayFreeCount": 0,\n "maxKidsStayFreeCountException": "",\n "paymentOptions": {\n "cash": false,\n "cashException": "",\n "cheque": false,\n "chequeException": "",\n "creditCard": false,\n "creditCardException": "",\n "debitCard": false,\n "debitCardException": "",\n "mobileNfc": false,\n "mobileNfcException": ""\n },\n "smokeFreeProperty": false,\n "smokeFreePropertyException": ""\n },\n "pools": {\n "adultPool": false,\n "adultPoolException": "",\n "hotTub": false,\n "hotTubException": "",\n "indoorPool": false,\n "indoorPoolException": "",\n "indoorPoolsCount": 0,\n "indoorPoolsCountException": "",\n "lazyRiver": false,\n "lazyRiverException": "",\n "lifeguard": false,\n "lifeguardException": "",\n "outdoorPool": false,\n "outdoorPoolException": "",\n "outdoorPoolsCount": 0,\n "outdoorPoolsCountException": "",\n "pool": false,\n "poolException": "",\n "poolsCount": 0,\n "poolsCountException": "",\n "wadingPool": false,\n "wadingPoolException": "",\n "waterPark": false,\n "waterParkException": "",\n "waterslide": false,\n "waterslideException": "",\n "wavePool": false,\n "wavePoolException": ""\n },\n "property": {\n "builtYear": 0,\n "builtYearException": "",\n "floorsCount": 0,\n "floorsCountException": "",\n "lastRenovatedYear": 0,\n "lastRenovatedYearException": "",\n "roomsCount": 0,\n "roomsCountException": ""\n },\n "services": {\n "baggageStorage": false,\n "baggageStorageException": "",\n "concierge": false,\n "conciergeException": "",\n "convenienceStore": false,\n "convenienceStoreException": "",\n "currencyExchange": false,\n "currencyExchangeException": "",\n "elevator": false,\n "elevatorException": "",\n "frontDesk": false,\n "frontDeskException": "",\n "fullServiceLaundry": false,\n "fullServiceLaundryException": "",\n "giftShop": false,\n "giftShopException": "",\n "languagesSpoken": [\n {\n "languageCode": "",\n "spoken": false,\n "spokenException": ""\n }\n ],\n "selfServiceLaundry": false,\n "selfServiceLaundryException": "",\n "socialHour": false,\n "socialHourException": "",\n "twentyFourHourFrontDesk": false,\n "twentyFourHourFrontDeskException": "",\n "wakeUpCalls": false,\n "wakeUpCallsException": ""\n },\n "someUnits": {},\n "sustainability": {\n "energyEfficiency": {\n "carbonFreeEnergySources": false,\n "carbonFreeEnergySourcesException": "",\n "energyConservationProgram": false,\n "energyConservationProgramException": "",\n "energyEfficientHeatingAndCoolingSystems": false,\n "energyEfficientHeatingAndCoolingSystemsException": "",\n "energyEfficientLighting": false,\n "energyEfficientLightingException": "",\n "energySavingThermostats": false,\n "energySavingThermostatsException": "",\n "greenBuildingDesign": false,\n "greenBuildingDesignException": "",\n "independentOrganizationAuditsEnergyUse": false,\n "independentOrganizationAuditsEnergyUseException": ""\n },\n "sustainabilityCertifications": {\n "breeamCertification": "",\n "breeamCertificationException": "",\n "ecoCertifications": [\n {\n "awarded": false,\n "awardedException": "",\n "ecoCertificate": ""\n }\n ],\n "leedCertification": "",\n "leedCertificationException": ""\n },\n "sustainableSourcing": {\n "ecoFriendlyToiletries": false,\n "ecoFriendlyToiletriesException": "",\n "locallySourcedFoodAndBeverages": false,\n "locallySourcedFoodAndBeveragesException": "",\n "organicCageFreeEggs": false,\n "organicCageFreeEggsException": "",\n "organicFoodAndBeverages": false,\n "organicFoodAndBeveragesException": "",\n "responsiblePurchasingPolicy": false,\n "responsiblePurchasingPolicyException": "",\n "responsiblySourcesSeafood": false,\n "responsiblySourcesSeafoodException": "",\n "veganMeals": false,\n "veganMealsException": "",\n "vegetarianMeals": false,\n "vegetarianMealsException": ""\n },\n "wasteReduction": {\n "compostableFoodContainersAndCutlery": false,\n "compostableFoodContainersAndCutleryException": "",\n "compostsExcessFood": false,\n "compostsExcessFoodException": "",\n "donatesExcessFood": false,\n "donatesExcessFoodException": "",\n "foodWasteReductionProgram": false,\n "foodWasteReductionProgramException": "",\n "noSingleUsePlasticStraws": false,\n "noSingleUsePlasticStrawsException": "",\n "noSingleUsePlasticWaterBottles": false,\n "noSingleUsePlasticWaterBottlesException": "",\n "noStyrofoamFoodContainers": false,\n "noStyrofoamFoodContainersException": "",\n "recyclingProgram": false,\n "recyclingProgramException": "",\n "refillableToiletryContainers": false,\n "refillableToiletryContainersException": "",\n "safelyDisposesBatteries": false,\n "safelyDisposesBatteriesException": "",\n "safelyDisposesElectronics": false,\n "safelyDisposesElectronicsException": "",\n "safelyDisposesLightbulbs": false,\n "safelyDisposesLightbulbsException": "",\n "safelyHandlesHazardousSubstances": false,\n "safelyHandlesHazardousSubstancesException": "",\n "soapDonationProgram": false,\n "soapDonationProgramException": "",\n "toiletryDonationProgram": false,\n "toiletryDonationProgramException": "",\n "waterBottleFillingStations": false,\n "waterBottleFillingStationsException": ""\n },\n "waterConservation": {\n "independentOrganizationAuditsWaterUse": false,\n "independentOrganizationAuditsWaterUseException": "",\n "linenReuseProgram": false,\n "linenReuseProgramException": "",\n "towelReuseProgram": false,\n "towelReuseProgramException": "",\n "waterSavingShowers": false,\n "waterSavingShowersException": "",\n "waterSavingSinks": false,\n "waterSavingSinksException": "",\n "waterSavingToilets": false,\n "waterSavingToiletsException": ""\n }\n },\n "transportation": {\n "airportShuttle": false,\n "airportShuttleException": "",\n "carRentalOnProperty": false,\n "carRentalOnPropertyException": "",\n "freeAirportShuttle": false,\n "freeAirportShuttleException": "",\n "freePrivateCarService": false,\n "freePrivateCarServiceException": "",\n "localShuttle": false,\n "localShuttleException": "",\n "privateCarService": false,\n "privateCarServiceException": "",\n "transfer": false,\n "transferException": ""\n },\n "wellness": {\n "doctorOnCall": false,\n "doctorOnCallException": "",\n "ellipticalMachine": false,\n "ellipticalMachineException": "",\n "fitnessCenter": false,\n "fitnessCenterException": "",\n "freeFitnessCenter": false,\n "freeFitnessCenterException": "",\n "freeWeights": false,\n "freeWeightsException": "",\n "massage": false,\n "massageException": "",\n "salon": false,\n "salonException": "",\n "sauna": false,\n "saunaException": "",\n "spa": false,\n "spaException": "",\n "treadmill": false,\n "treadmillException": "",\n "weightMachine": false,\n "weightMachineException": ""\n }\n}'
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n \"accessibility\": {\n \"mobilityAccessible\": false,\n \"mobilityAccessibleElevator\": false,\n \"mobilityAccessibleElevatorException\": \"\",\n \"mobilityAccessibleException\": \"\",\n \"mobilityAccessibleParking\": false,\n \"mobilityAccessibleParkingException\": \"\",\n \"mobilityAccessiblePool\": false,\n \"mobilityAccessiblePoolException\": \"\"\n },\n \"activities\": {\n \"beachAccess\": false,\n \"beachAccessException\": \"\",\n \"beachFront\": false,\n \"beachFrontException\": \"\",\n \"bicycleRental\": false,\n \"bicycleRentalException\": \"\",\n \"boutiqueStores\": false,\n \"boutiqueStoresException\": \"\",\n \"casino\": false,\n \"casinoException\": \"\",\n \"freeBicycleRental\": false,\n \"freeBicycleRentalException\": \"\",\n \"freeWatercraftRental\": false,\n \"freeWatercraftRentalException\": \"\",\n \"gameRoom\": false,\n \"gameRoomException\": \"\",\n \"golf\": false,\n \"golfException\": \"\",\n \"horsebackRiding\": false,\n \"horsebackRidingException\": \"\",\n \"nightclub\": false,\n \"nightclubException\": \"\",\n \"privateBeach\": false,\n \"privateBeachException\": \"\",\n \"scuba\": false,\n \"scubaException\": \"\",\n \"snorkeling\": false,\n \"snorkelingException\": \"\",\n \"tennis\": false,\n \"tennisException\": \"\",\n \"waterSkiing\": false,\n \"waterSkiingException\": \"\",\n \"watercraftRental\": false,\n \"watercraftRentalException\": \"\"\n },\n \"allUnits\": {\n \"bungalowOrVilla\": false,\n \"bungalowOrVillaException\": \"\",\n \"connectingUnitAvailable\": false,\n \"connectingUnitAvailableException\": \"\",\n \"executiveFloor\": false,\n \"executiveFloorException\": \"\",\n \"maxAdultOccupantsCount\": 0,\n \"maxAdultOccupantsCountException\": \"\",\n \"maxChildOccupantsCount\": 0,\n \"maxChildOccupantsCountException\": \"\",\n \"maxOccupantsCount\": 0,\n \"maxOccupantsCountException\": \"\",\n \"privateHome\": false,\n \"privateHomeException\": \"\",\n \"suite\": false,\n \"suiteException\": \"\",\n \"tier\": \"\",\n \"tierException\": \"\",\n \"totalLivingAreas\": {\n \"accessibility\": {\n \"adaCompliantUnit\": false,\n \"adaCompliantUnitException\": \"\",\n \"hearingAccessibleDoorbell\": false,\n \"hearingAccessibleDoorbellException\": \"\",\n \"hearingAccessibleFireAlarm\": false,\n \"hearingAccessibleFireAlarmException\": \"\",\n \"hearingAccessibleUnit\": false,\n \"hearingAccessibleUnitException\": \"\",\n \"mobilityAccessibleBathtub\": false,\n \"mobilityAccessibleBathtubException\": \"\",\n \"mobilityAccessibleShower\": false,\n \"mobilityAccessibleShowerException\": \"\",\n \"mobilityAccessibleToilet\": false,\n \"mobilityAccessibleToiletException\": \"\",\n \"mobilityAccessibleUnit\": false,\n \"mobilityAccessibleUnitException\": \"\"\n },\n \"eating\": {\n \"coffeeMaker\": false,\n \"coffeeMakerException\": \"\",\n \"cookware\": false,\n \"cookwareException\": \"\",\n \"dishwasher\": false,\n \"dishwasherException\": \"\",\n \"indoorGrill\": false,\n \"indoorGrillException\": \"\",\n \"kettle\": false,\n \"kettleException\": \"\",\n \"kitchenAvailable\": false,\n \"kitchenAvailableException\": \"\",\n \"microwave\": false,\n \"microwaveException\": \"\",\n \"minibar\": false,\n \"minibarException\": \"\",\n \"outdoorGrill\": false,\n \"outdoorGrillException\": \"\",\n \"oven\": false,\n \"ovenException\": \"\",\n \"refrigerator\": false,\n \"refrigeratorException\": \"\",\n \"sink\": false,\n \"sinkException\": \"\",\n \"snackbar\": false,\n \"snackbarException\": \"\",\n \"stove\": false,\n \"stoveException\": \"\",\n \"teaStation\": false,\n \"teaStationException\": \"\",\n \"toaster\": false,\n \"toasterException\": \"\"\n },\n \"features\": {\n \"airConditioning\": false,\n \"airConditioningException\": \"\",\n \"bathtub\": false,\n \"bathtubException\": \"\",\n \"bidet\": false,\n \"bidetException\": \"\",\n \"dryer\": false,\n \"dryerException\": \"\",\n \"electronicRoomKey\": false,\n \"electronicRoomKeyException\": \"\",\n \"fireplace\": false,\n \"fireplaceException\": \"\",\n \"hairdryer\": false,\n \"hairdryerException\": \"\",\n \"heating\": false,\n \"heatingException\": \"\",\n \"inunitSafe\": false,\n \"inunitSafeException\": \"\",\n \"inunitWifiAvailable\": false,\n \"inunitWifiAvailableException\": \"\",\n \"ironingEquipment\": false,\n \"ironingEquipmentException\": \"\",\n \"payPerViewMovies\": false,\n \"payPerViewMoviesException\": \"\",\n \"privateBathroom\": false,\n \"privateBathroomException\": \"\",\n \"shower\": false,\n \"showerException\": \"\",\n \"toilet\": false,\n \"toiletException\": \"\",\n \"tv\": false,\n \"tvCasting\": false,\n \"tvCastingException\": \"\",\n \"tvException\": \"\",\n \"tvStreaming\": false,\n \"tvStreamingException\": \"\",\n \"universalPowerAdapters\": false,\n \"universalPowerAdaptersException\": \"\",\n \"washer\": false,\n \"washerException\": \"\"\n },\n \"layout\": {\n \"balcony\": false,\n \"balconyException\": \"\",\n \"livingAreaSqMeters\": \"\",\n \"livingAreaSqMetersException\": \"\",\n \"loft\": false,\n \"loftException\": \"\",\n \"nonSmoking\": false,\n \"nonSmokingException\": \"\",\n \"patio\": false,\n \"patioException\": \"\",\n \"stairs\": false,\n \"stairsException\": \"\"\n },\n \"sleeping\": {\n \"bedsCount\": 0,\n \"bedsCountException\": \"\",\n \"bunkBedsCount\": 0,\n \"bunkBedsCountException\": \"\",\n \"cribsCount\": 0,\n \"cribsCountException\": \"\",\n \"doubleBedsCount\": 0,\n \"doubleBedsCountException\": \"\",\n \"featherPillows\": false,\n \"featherPillowsException\": \"\",\n \"hypoallergenicBedding\": false,\n \"hypoallergenicBeddingException\": \"\",\n \"kingBedsCount\": 0,\n \"kingBedsCountException\": \"\",\n \"memoryFoamPillows\": false,\n \"memoryFoamPillowsException\": \"\",\n \"otherBedsCount\": 0,\n \"otherBedsCountException\": \"\",\n \"queenBedsCount\": 0,\n \"queenBedsCountException\": \"\",\n \"rollAwayBedsCount\": 0,\n \"rollAwayBedsCountException\": \"\",\n \"singleOrTwinBedsCount\": 0,\n \"singleOrTwinBedsCountException\": \"\",\n \"sofaBedsCount\": 0,\n \"sofaBedsCountException\": \"\",\n \"syntheticPillows\": false,\n \"syntheticPillowsException\": \"\"\n }\n },\n \"views\": {\n \"beachView\": false,\n \"beachViewException\": \"\",\n \"cityView\": false,\n \"cityViewException\": \"\",\n \"gardenView\": false,\n \"gardenViewException\": \"\",\n \"lakeView\": false,\n \"lakeViewException\": \"\",\n \"landmarkView\": false,\n \"landmarkViewException\": \"\",\n \"oceanView\": false,\n \"oceanViewException\": \"\",\n \"poolView\": false,\n \"poolViewException\": \"\",\n \"valleyView\": false,\n \"valleyViewException\": \"\"\n }\n },\n \"business\": {\n \"businessCenter\": false,\n \"businessCenterException\": \"\",\n \"meetingRooms\": false,\n \"meetingRoomsCount\": 0,\n \"meetingRoomsCountException\": \"\",\n \"meetingRoomsException\": \"\"\n },\n \"commonLivingArea\": {},\n \"connectivity\": {\n \"freeWifi\": false,\n \"freeWifiException\": \"\",\n \"publicAreaWifiAvailable\": false,\n \"publicAreaWifiAvailableException\": \"\",\n \"publicInternetTerminal\": false,\n \"publicInternetTerminalException\": \"\",\n \"wifiAvailable\": false,\n \"wifiAvailableException\": \"\"\n },\n \"families\": {\n \"babysitting\": false,\n \"babysittingException\": \"\",\n \"kidsActivities\": false,\n \"kidsActivitiesException\": \"\",\n \"kidsClub\": false,\n \"kidsClubException\": \"\",\n \"kidsFriendly\": false,\n \"kidsFriendlyException\": \"\"\n },\n \"foodAndDrink\": {\n \"bar\": false,\n \"barException\": \"\",\n \"breakfastAvailable\": false,\n \"breakfastAvailableException\": \"\",\n \"breakfastBuffet\": false,\n \"breakfastBuffetException\": \"\",\n \"buffet\": false,\n \"buffetException\": \"\",\n \"dinnerBuffet\": false,\n \"dinnerBuffetException\": \"\",\n \"freeBreakfast\": false,\n \"freeBreakfastException\": \"\",\n \"restaurant\": false,\n \"restaurantException\": \"\",\n \"restaurantsCount\": 0,\n \"restaurantsCountException\": \"\",\n \"roomService\": false,\n \"roomServiceException\": \"\",\n \"tableService\": false,\n \"tableServiceException\": \"\",\n \"twentyFourHourRoomService\": false,\n \"twentyFourHourRoomServiceException\": \"\",\n \"vendingMachine\": false,\n \"vendingMachineException\": \"\"\n },\n \"guestUnits\": [\n {\n \"codes\": [],\n \"features\": {},\n \"label\": \"\"\n }\n ],\n \"healthAndSafety\": {\n \"enhancedCleaning\": {\n \"commercialGradeDisinfectantCleaning\": false,\n \"commercialGradeDisinfectantCleaningException\": \"\",\n \"commonAreasEnhancedCleaning\": false,\n \"commonAreasEnhancedCleaningException\": \"\",\n \"employeesTrainedCleaningProcedures\": false,\n \"employeesTrainedCleaningProceduresException\": \"\",\n \"employeesTrainedThoroughHandWashing\": false,\n \"employeesTrainedThoroughHandWashingException\": \"\",\n \"employeesWearProtectiveEquipment\": false,\n \"employeesWearProtectiveEquipmentException\": \"\",\n \"guestRoomsEnhancedCleaning\": false,\n \"guestRoomsEnhancedCleaningException\": \"\"\n },\n \"increasedFoodSafety\": {\n \"diningAreasAdditionalSanitation\": false,\n \"diningAreasAdditionalSanitationException\": \"\",\n \"disposableFlatware\": false,\n \"disposableFlatwareException\": \"\",\n \"foodPreparationAndServingAdditionalSafety\": false,\n \"foodPreparationAndServingAdditionalSafetyException\": \"\",\n \"individualPackagedMeals\": false,\n \"individualPackagedMealsException\": \"\",\n \"singleUseFoodMenus\": false,\n \"singleUseFoodMenusException\": \"\"\n },\n \"minimizedContact\": {\n \"contactlessCheckinCheckout\": false,\n \"contactlessCheckinCheckoutException\": \"\",\n \"digitalGuestRoomKeys\": false,\n \"digitalGuestRoomKeysException\": \"\",\n \"housekeepingScheduledRequestOnly\": false,\n \"housekeepingScheduledRequestOnlyException\": \"\",\n \"noHighTouchItemsCommonAreas\": false,\n \"noHighTouchItemsCommonAreasException\": \"\",\n \"noHighTouchItemsGuestRooms\": false,\n \"noHighTouchItemsGuestRoomsException\": \"\",\n \"plasticKeycardsDisinfected\": false,\n \"plasticKeycardsDisinfectedException\": \"\",\n \"roomBookingsBuffer\": false,\n \"roomBookingsBufferException\": \"\"\n },\n \"personalProtection\": {\n \"commonAreasOfferSanitizingItems\": false,\n \"commonAreasOfferSanitizingItemsException\": \"\",\n \"faceMaskRequired\": false,\n \"faceMaskRequiredException\": \"\",\n \"guestRoomHygieneKitsAvailable\": false,\n \"guestRoomHygieneKitsAvailableException\": \"\",\n \"protectiveEquipmentAvailable\": false,\n \"protectiveEquipmentAvailableException\": \"\"\n },\n \"physicalDistancing\": {\n \"commonAreasPhysicalDistancingArranged\": false,\n \"commonAreasPhysicalDistancingArrangedException\": \"\",\n \"physicalDistancingRequired\": false,\n \"physicalDistancingRequiredException\": \"\",\n \"safetyDividers\": false,\n \"safetyDividersException\": \"\",\n \"sharedAreasLimitedOccupancy\": false,\n \"sharedAreasLimitedOccupancyException\": \"\",\n \"wellnessAreasHavePrivateSpaces\": false,\n \"wellnessAreasHavePrivateSpacesException\": \"\"\n }\n },\n \"housekeeping\": {\n \"dailyHousekeeping\": false,\n \"dailyHousekeepingException\": \"\",\n \"housekeepingAvailable\": false,\n \"housekeepingAvailableException\": \"\",\n \"turndownService\": false,\n \"turndownServiceException\": \"\"\n },\n \"metadata\": {\n \"updateTime\": \"\"\n },\n \"name\": \"\",\n \"parking\": {\n \"electricCarChargingStations\": false,\n \"electricCarChargingStationsException\": \"\",\n \"freeParking\": false,\n \"freeParkingException\": \"\",\n \"freeSelfParking\": false,\n \"freeSelfParkingException\": \"\",\n \"freeValetParking\": false,\n \"freeValetParkingException\": \"\",\n \"parkingAvailable\": false,\n \"parkingAvailableException\": \"\",\n \"selfParkingAvailable\": false,\n \"selfParkingAvailableException\": \"\",\n \"valetParkingAvailable\": false,\n \"valetParkingAvailableException\": \"\"\n },\n \"pets\": {\n \"catsAllowed\": false,\n \"catsAllowedException\": \"\",\n \"dogsAllowed\": false,\n \"dogsAllowedException\": \"\",\n \"petsAllowed\": false,\n \"petsAllowedException\": \"\",\n \"petsAllowedFree\": false,\n \"petsAllowedFreeException\": \"\"\n },\n \"policies\": {\n \"allInclusiveAvailable\": false,\n \"allInclusiveAvailableException\": \"\",\n \"allInclusiveOnly\": false,\n \"allInclusiveOnlyException\": \"\",\n \"checkinTime\": {\n \"hours\": 0,\n \"minutes\": 0,\n \"nanos\": 0,\n \"seconds\": 0\n },\n \"checkinTimeException\": \"\",\n \"checkoutTime\": {},\n \"checkoutTimeException\": \"\",\n \"kidsStayFree\": false,\n \"kidsStayFreeException\": \"\",\n \"maxChildAge\": 0,\n \"maxChildAgeException\": \"\",\n \"maxKidsStayFreeCount\": 0,\n \"maxKidsStayFreeCountException\": \"\",\n \"paymentOptions\": {\n \"cash\": false,\n \"cashException\": \"\",\n \"cheque\": false,\n \"chequeException\": \"\",\n \"creditCard\": false,\n \"creditCardException\": \"\",\n \"debitCard\": false,\n \"debitCardException\": \"\",\n \"mobileNfc\": false,\n \"mobileNfcException\": \"\"\n },\n \"smokeFreeProperty\": false,\n \"smokeFreePropertyException\": \"\"\n },\n \"pools\": {\n \"adultPool\": false,\n \"adultPoolException\": \"\",\n \"hotTub\": false,\n \"hotTubException\": \"\",\n \"indoorPool\": false,\n \"indoorPoolException\": \"\",\n \"indoorPoolsCount\": 0,\n \"indoorPoolsCountException\": \"\",\n \"lazyRiver\": false,\n \"lazyRiverException\": \"\",\n \"lifeguard\": false,\n \"lifeguardException\": \"\",\n \"outdoorPool\": false,\n \"outdoorPoolException\": \"\",\n \"outdoorPoolsCount\": 0,\n \"outdoorPoolsCountException\": \"\",\n \"pool\": false,\n \"poolException\": \"\",\n \"poolsCount\": 0,\n \"poolsCountException\": \"\",\n \"wadingPool\": false,\n \"wadingPoolException\": \"\",\n \"waterPark\": false,\n \"waterParkException\": \"\",\n \"waterslide\": false,\n \"waterslideException\": \"\",\n \"wavePool\": false,\n \"wavePoolException\": \"\"\n },\n \"property\": {\n \"builtYear\": 0,\n \"builtYearException\": \"\",\n \"floorsCount\": 0,\n \"floorsCountException\": \"\",\n \"lastRenovatedYear\": 0,\n \"lastRenovatedYearException\": \"\",\n \"roomsCount\": 0,\n \"roomsCountException\": \"\"\n },\n \"services\": {\n \"baggageStorage\": false,\n \"baggageStorageException\": \"\",\n \"concierge\": false,\n \"conciergeException\": \"\",\n \"convenienceStore\": false,\n \"convenienceStoreException\": \"\",\n \"currencyExchange\": false,\n \"currencyExchangeException\": \"\",\n \"elevator\": false,\n \"elevatorException\": \"\",\n \"frontDesk\": false,\n \"frontDeskException\": \"\",\n \"fullServiceLaundry\": false,\n \"fullServiceLaundryException\": \"\",\n \"giftShop\": false,\n \"giftShopException\": \"\",\n \"languagesSpoken\": [\n {\n \"languageCode\": \"\",\n \"spoken\": false,\n \"spokenException\": \"\"\n }\n ],\n \"selfServiceLaundry\": false,\n \"selfServiceLaundryException\": \"\",\n \"socialHour\": false,\n \"socialHourException\": \"\",\n \"twentyFourHourFrontDesk\": false,\n \"twentyFourHourFrontDeskException\": \"\",\n \"wakeUpCalls\": false,\n \"wakeUpCallsException\": \"\"\n },\n \"someUnits\": {},\n \"sustainability\": {\n \"energyEfficiency\": {\n \"carbonFreeEnergySources\": false,\n \"carbonFreeEnergySourcesException\": \"\",\n \"energyConservationProgram\": false,\n \"energyConservationProgramException\": \"\",\n \"energyEfficientHeatingAndCoolingSystems\": false,\n \"energyEfficientHeatingAndCoolingSystemsException\": \"\",\n \"energyEfficientLighting\": false,\n \"energyEfficientLightingException\": \"\",\n \"energySavingThermostats\": false,\n \"energySavingThermostatsException\": \"\",\n \"greenBuildingDesign\": false,\n \"greenBuildingDesignException\": \"\",\n \"independentOrganizationAuditsEnergyUse\": false,\n \"independentOrganizationAuditsEnergyUseException\": \"\"\n },\n \"sustainabilityCertifications\": {\n \"breeamCertification\": \"\",\n \"breeamCertificationException\": \"\",\n \"ecoCertifications\": [\n {\n \"awarded\": false,\n \"awardedException\": \"\",\n \"ecoCertificate\": \"\"\n }\n ],\n \"leedCertification\": \"\",\n \"leedCertificationException\": \"\"\n },\n \"sustainableSourcing\": {\n \"ecoFriendlyToiletries\": false,\n \"ecoFriendlyToiletriesException\": \"\",\n \"locallySourcedFoodAndBeverages\": false,\n \"locallySourcedFoodAndBeveragesException\": \"\",\n \"organicCageFreeEggs\": false,\n \"organicCageFreeEggsException\": \"\",\n \"organicFoodAndBeverages\": false,\n \"organicFoodAndBeveragesException\": \"\",\n \"responsiblePurchasingPolicy\": false,\n \"responsiblePurchasingPolicyException\": \"\",\n \"responsiblySourcesSeafood\": false,\n \"responsiblySourcesSeafoodException\": \"\",\n \"veganMeals\": false,\n \"veganMealsException\": \"\",\n \"vegetarianMeals\": false,\n \"vegetarianMealsException\": \"\"\n },\n \"wasteReduction\": {\n \"compostableFoodContainersAndCutlery\": false,\n \"compostableFoodContainersAndCutleryException\": \"\",\n \"compostsExcessFood\": false,\n \"compostsExcessFoodException\": \"\",\n \"donatesExcessFood\": false,\n \"donatesExcessFoodException\": \"\",\n \"foodWasteReductionProgram\": false,\n \"foodWasteReductionProgramException\": \"\",\n \"noSingleUsePlasticStraws\": false,\n \"noSingleUsePlasticStrawsException\": \"\",\n \"noSingleUsePlasticWaterBottles\": false,\n \"noSingleUsePlasticWaterBottlesException\": \"\",\n \"noStyrofoamFoodContainers\": false,\n \"noStyrofoamFoodContainersException\": \"\",\n \"recyclingProgram\": false,\n \"recyclingProgramException\": \"\",\n \"refillableToiletryContainers\": false,\n \"refillableToiletryContainersException\": \"\",\n \"safelyDisposesBatteries\": false,\n \"safelyDisposesBatteriesException\": \"\",\n \"safelyDisposesElectronics\": false,\n \"safelyDisposesElectronicsException\": \"\",\n \"safelyDisposesLightbulbs\": false,\n \"safelyDisposesLightbulbsException\": \"\",\n \"safelyHandlesHazardousSubstances\": false,\n \"safelyHandlesHazardousSubstancesException\": \"\",\n \"soapDonationProgram\": false,\n \"soapDonationProgramException\": \"\",\n \"toiletryDonationProgram\": false,\n \"toiletryDonationProgramException\": \"\",\n \"waterBottleFillingStations\": false,\n \"waterBottleFillingStationsException\": \"\"\n },\n \"waterConservation\": {\n \"independentOrganizationAuditsWaterUse\": false,\n \"independentOrganizationAuditsWaterUseException\": \"\",\n \"linenReuseProgram\": false,\n \"linenReuseProgramException\": \"\",\n \"towelReuseProgram\": false,\n \"towelReuseProgramException\": \"\",\n \"waterSavingShowers\": false,\n \"waterSavingShowersException\": \"\",\n \"waterSavingSinks\": false,\n \"waterSavingSinksException\": \"\",\n \"waterSavingToilets\": false,\n \"waterSavingToiletsException\": \"\"\n }\n },\n \"transportation\": {\n \"airportShuttle\": false,\n \"airportShuttleException\": \"\",\n \"carRentalOnProperty\": false,\n \"carRentalOnPropertyException\": \"\",\n \"freeAirportShuttle\": false,\n \"freeAirportShuttleException\": \"\",\n \"freePrivateCarService\": false,\n \"freePrivateCarServiceException\": \"\",\n \"localShuttle\": false,\n \"localShuttleException\": \"\",\n \"privateCarService\": false,\n \"privateCarServiceException\": \"\",\n \"transfer\": false,\n \"transferException\": \"\"\n },\n \"wellness\": {\n \"doctorOnCall\": false,\n \"doctorOnCallException\": \"\",\n \"ellipticalMachine\": false,\n \"ellipticalMachineException\": \"\",\n \"fitnessCenter\": false,\n \"fitnessCenterException\": \"\",\n \"freeFitnessCenter\": false,\n \"freeFitnessCenterException\": \"\",\n \"freeWeights\": false,\n \"freeWeightsException\": \"\",\n \"massage\": false,\n \"massageException\": \"\",\n \"salon\": false,\n \"salonException\": \"\",\n \"sauna\": false,\n \"saunaException\": \"\",\n \"spa\": false,\n \"spaException\": \"\",\n \"treadmill\": false,\n \"treadmillException\": \"\",\n \"weightMachine\": false,\n \"weightMachineException\": \"\"\n }\n}")
val request = Request.Builder()
.url("{{baseUrl}}/v1/:name")
.patch(body)
.addHeader("content-type", "application/json")
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'PATCH',
hostname: 'example.com',
port: null,
path: '/baseUrl/v1/:name',
headers: {
'content-type': 'application/json'
}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.write(JSON.stringify({
accessibility: {
mobilityAccessible: false,
mobilityAccessibleElevator: false,
mobilityAccessibleElevatorException: '',
mobilityAccessibleException: '',
mobilityAccessibleParking: false,
mobilityAccessibleParkingException: '',
mobilityAccessiblePool: false,
mobilityAccessiblePoolException: ''
},
activities: {
beachAccess: false,
beachAccessException: '',
beachFront: false,
beachFrontException: '',
bicycleRental: false,
bicycleRentalException: '',
boutiqueStores: false,
boutiqueStoresException: '',
casino: false,
casinoException: '',
freeBicycleRental: false,
freeBicycleRentalException: '',
freeWatercraftRental: false,
freeWatercraftRentalException: '',
gameRoom: false,
gameRoomException: '',
golf: false,
golfException: '',
horsebackRiding: false,
horsebackRidingException: '',
nightclub: false,
nightclubException: '',
privateBeach: false,
privateBeachException: '',
scuba: false,
scubaException: '',
snorkeling: false,
snorkelingException: '',
tennis: false,
tennisException: '',
waterSkiing: false,
waterSkiingException: '',
watercraftRental: false,
watercraftRentalException: ''
},
allUnits: {
bungalowOrVilla: false,
bungalowOrVillaException: '',
connectingUnitAvailable: false,
connectingUnitAvailableException: '',
executiveFloor: false,
executiveFloorException: '',
maxAdultOccupantsCount: 0,
maxAdultOccupantsCountException: '',
maxChildOccupantsCount: 0,
maxChildOccupantsCountException: '',
maxOccupantsCount: 0,
maxOccupantsCountException: '',
privateHome: false,
privateHomeException: '',
suite: false,
suiteException: '',
tier: '',
tierException: '',
totalLivingAreas: {
accessibility: {
adaCompliantUnit: false,
adaCompliantUnitException: '',
hearingAccessibleDoorbell: false,
hearingAccessibleDoorbellException: '',
hearingAccessibleFireAlarm: false,
hearingAccessibleFireAlarmException: '',
hearingAccessibleUnit: false,
hearingAccessibleUnitException: '',
mobilityAccessibleBathtub: false,
mobilityAccessibleBathtubException: '',
mobilityAccessibleShower: false,
mobilityAccessibleShowerException: '',
mobilityAccessibleToilet: false,
mobilityAccessibleToiletException: '',
mobilityAccessibleUnit: false,
mobilityAccessibleUnitException: ''
},
eating: {
coffeeMaker: false,
coffeeMakerException: '',
cookware: false,
cookwareException: '',
dishwasher: false,
dishwasherException: '',
indoorGrill: false,
indoorGrillException: '',
kettle: false,
kettleException: '',
kitchenAvailable: false,
kitchenAvailableException: '',
microwave: false,
microwaveException: '',
minibar: false,
minibarException: '',
outdoorGrill: false,
outdoorGrillException: '',
oven: false,
ovenException: '',
refrigerator: false,
refrigeratorException: '',
sink: false,
sinkException: '',
snackbar: false,
snackbarException: '',
stove: false,
stoveException: '',
teaStation: false,
teaStationException: '',
toaster: false,
toasterException: ''
},
features: {
airConditioning: false,
airConditioningException: '',
bathtub: false,
bathtubException: '',
bidet: false,
bidetException: '',
dryer: false,
dryerException: '',
electronicRoomKey: false,
electronicRoomKeyException: '',
fireplace: false,
fireplaceException: '',
hairdryer: false,
hairdryerException: '',
heating: false,
heatingException: '',
inunitSafe: false,
inunitSafeException: '',
inunitWifiAvailable: false,
inunitWifiAvailableException: '',
ironingEquipment: false,
ironingEquipmentException: '',
payPerViewMovies: false,
payPerViewMoviesException: '',
privateBathroom: false,
privateBathroomException: '',
shower: false,
showerException: '',
toilet: false,
toiletException: '',
tv: false,
tvCasting: false,
tvCastingException: '',
tvException: '',
tvStreaming: false,
tvStreamingException: '',
universalPowerAdapters: false,
universalPowerAdaptersException: '',
washer: false,
washerException: ''
},
layout: {
balcony: false,
balconyException: '',
livingAreaSqMeters: '',
livingAreaSqMetersException: '',
loft: false,
loftException: '',
nonSmoking: false,
nonSmokingException: '',
patio: false,
patioException: '',
stairs: false,
stairsException: ''
},
sleeping: {
bedsCount: 0,
bedsCountException: '',
bunkBedsCount: 0,
bunkBedsCountException: '',
cribsCount: 0,
cribsCountException: '',
doubleBedsCount: 0,
doubleBedsCountException: '',
featherPillows: false,
featherPillowsException: '',
hypoallergenicBedding: false,
hypoallergenicBeddingException: '',
kingBedsCount: 0,
kingBedsCountException: '',
memoryFoamPillows: false,
memoryFoamPillowsException: '',
otherBedsCount: 0,
otherBedsCountException: '',
queenBedsCount: 0,
queenBedsCountException: '',
rollAwayBedsCount: 0,
rollAwayBedsCountException: '',
singleOrTwinBedsCount: 0,
singleOrTwinBedsCountException: '',
sofaBedsCount: 0,
sofaBedsCountException: '',
syntheticPillows: false,
syntheticPillowsException: ''
}
},
views: {
beachView: false,
beachViewException: '',
cityView: false,
cityViewException: '',
gardenView: false,
gardenViewException: '',
lakeView: false,
lakeViewException: '',
landmarkView: false,
landmarkViewException: '',
oceanView: false,
oceanViewException: '',
poolView: false,
poolViewException: '',
valleyView: false,
valleyViewException: ''
}
},
business: {
businessCenter: false,
businessCenterException: '',
meetingRooms: false,
meetingRoomsCount: 0,
meetingRoomsCountException: '',
meetingRoomsException: ''
},
commonLivingArea: {},
connectivity: {
freeWifi: false,
freeWifiException: '',
publicAreaWifiAvailable: false,
publicAreaWifiAvailableException: '',
publicInternetTerminal: false,
publicInternetTerminalException: '',
wifiAvailable: false,
wifiAvailableException: ''
},
families: {
babysitting: false,
babysittingException: '',
kidsActivities: false,
kidsActivitiesException: '',
kidsClub: false,
kidsClubException: '',
kidsFriendly: false,
kidsFriendlyException: ''
},
foodAndDrink: {
bar: false,
barException: '',
breakfastAvailable: false,
breakfastAvailableException: '',
breakfastBuffet: false,
breakfastBuffetException: '',
buffet: false,
buffetException: '',
dinnerBuffet: false,
dinnerBuffetException: '',
freeBreakfast: false,
freeBreakfastException: '',
restaurant: false,
restaurantException: '',
restaurantsCount: 0,
restaurantsCountException: '',
roomService: false,
roomServiceException: '',
tableService: false,
tableServiceException: '',
twentyFourHourRoomService: false,
twentyFourHourRoomServiceException: '',
vendingMachine: false,
vendingMachineException: ''
},
guestUnits: [{codes: [], features: {}, label: ''}],
healthAndSafety: {
enhancedCleaning: {
commercialGradeDisinfectantCleaning: false,
commercialGradeDisinfectantCleaningException: '',
commonAreasEnhancedCleaning: false,
commonAreasEnhancedCleaningException: '',
employeesTrainedCleaningProcedures: false,
employeesTrainedCleaningProceduresException: '',
employeesTrainedThoroughHandWashing: false,
employeesTrainedThoroughHandWashingException: '',
employeesWearProtectiveEquipment: false,
employeesWearProtectiveEquipmentException: '',
guestRoomsEnhancedCleaning: false,
guestRoomsEnhancedCleaningException: ''
},
increasedFoodSafety: {
diningAreasAdditionalSanitation: false,
diningAreasAdditionalSanitationException: '',
disposableFlatware: false,
disposableFlatwareException: '',
foodPreparationAndServingAdditionalSafety: false,
foodPreparationAndServingAdditionalSafetyException: '',
individualPackagedMeals: false,
individualPackagedMealsException: '',
singleUseFoodMenus: false,
singleUseFoodMenusException: ''
},
minimizedContact: {
contactlessCheckinCheckout: false,
contactlessCheckinCheckoutException: '',
digitalGuestRoomKeys: false,
digitalGuestRoomKeysException: '',
housekeepingScheduledRequestOnly: false,
housekeepingScheduledRequestOnlyException: '',
noHighTouchItemsCommonAreas: false,
noHighTouchItemsCommonAreasException: '',
noHighTouchItemsGuestRooms: false,
noHighTouchItemsGuestRoomsException: '',
plasticKeycardsDisinfected: false,
plasticKeycardsDisinfectedException: '',
roomBookingsBuffer: false,
roomBookingsBufferException: ''
},
personalProtection: {
commonAreasOfferSanitizingItems: false,
commonAreasOfferSanitizingItemsException: '',
faceMaskRequired: false,
faceMaskRequiredException: '',
guestRoomHygieneKitsAvailable: false,
guestRoomHygieneKitsAvailableException: '',
protectiveEquipmentAvailable: false,
protectiveEquipmentAvailableException: ''
},
physicalDistancing: {
commonAreasPhysicalDistancingArranged: false,
commonAreasPhysicalDistancingArrangedException: '',
physicalDistancingRequired: false,
physicalDistancingRequiredException: '',
safetyDividers: false,
safetyDividersException: '',
sharedAreasLimitedOccupancy: false,
sharedAreasLimitedOccupancyException: '',
wellnessAreasHavePrivateSpaces: false,
wellnessAreasHavePrivateSpacesException: ''
}
},
housekeeping: {
dailyHousekeeping: false,
dailyHousekeepingException: '',
housekeepingAvailable: false,
housekeepingAvailableException: '',
turndownService: false,
turndownServiceException: ''
},
metadata: {updateTime: ''},
name: '',
parking: {
electricCarChargingStations: false,
electricCarChargingStationsException: '',
freeParking: false,
freeParkingException: '',
freeSelfParking: false,
freeSelfParkingException: '',
freeValetParking: false,
freeValetParkingException: '',
parkingAvailable: false,
parkingAvailableException: '',
selfParkingAvailable: false,
selfParkingAvailableException: '',
valetParkingAvailable: false,
valetParkingAvailableException: ''
},
pets: {
catsAllowed: false,
catsAllowedException: '',
dogsAllowed: false,
dogsAllowedException: '',
petsAllowed: false,
petsAllowedException: '',
petsAllowedFree: false,
petsAllowedFreeException: ''
},
policies: {
allInclusiveAvailable: false,
allInclusiveAvailableException: '',
allInclusiveOnly: false,
allInclusiveOnlyException: '',
checkinTime: {hours: 0, minutes: 0, nanos: 0, seconds: 0},
checkinTimeException: '',
checkoutTime: {},
checkoutTimeException: '',
kidsStayFree: false,
kidsStayFreeException: '',
maxChildAge: 0,
maxChildAgeException: '',
maxKidsStayFreeCount: 0,
maxKidsStayFreeCountException: '',
paymentOptions: {
cash: false,
cashException: '',
cheque: false,
chequeException: '',
creditCard: false,
creditCardException: '',
debitCard: false,
debitCardException: '',
mobileNfc: false,
mobileNfcException: ''
},
smokeFreeProperty: false,
smokeFreePropertyException: ''
},
pools: {
adultPool: false,
adultPoolException: '',
hotTub: false,
hotTubException: '',
indoorPool: false,
indoorPoolException: '',
indoorPoolsCount: 0,
indoorPoolsCountException: '',
lazyRiver: false,
lazyRiverException: '',
lifeguard: false,
lifeguardException: '',
outdoorPool: false,
outdoorPoolException: '',
outdoorPoolsCount: 0,
outdoorPoolsCountException: '',
pool: false,
poolException: '',
poolsCount: 0,
poolsCountException: '',
wadingPool: false,
wadingPoolException: '',
waterPark: false,
waterParkException: '',
waterslide: false,
waterslideException: '',
wavePool: false,
wavePoolException: ''
},
property: {
builtYear: 0,
builtYearException: '',
floorsCount: 0,
floorsCountException: '',
lastRenovatedYear: 0,
lastRenovatedYearException: '',
roomsCount: 0,
roomsCountException: ''
},
services: {
baggageStorage: false,
baggageStorageException: '',
concierge: false,
conciergeException: '',
convenienceStore: false,
convenienceStoreException: '',
currencyExchange: false,
currencyExchangeException: '',
elevator: false,
elevatorException: '',
frontDesk: false,
frontDeskException: '',
fullServiceLaundry: false,
fullServiceLaundryException: '',
giftShop: false,
giftShopException: '',
languagesSpoken: [{languageCode: '', spoken: false, spokenException: ''}],
selfServiceLaundry: false,
selfServiceLaundryException: '',
socialHour: false,
socialHourException: '',
twentyFourHourFrontDesk: false,
twentyFourHourFrontDeskException: '',
wakeUpCalls: false,
wakeUpCallsException: ''
},
someUnits: {},
sustainability: {
energyEfficiency: {
carbonFreeEnergySources: false,
carbonFreeEnergySourcesException: '',
energyConservationProgram: false,
energyConservationProgramException: '',
energyEfficientHeatingAndCoolingSystems: false,
energyEfficientHeatingAndCoolingSystemsException: '',
energyEfficientLighting: false,
energyEfficientLightingException: '',
energySavingThermostats: false,
energySavingThermostatsException: '',
greenBuildingDesign: false,
greenBuildingDesignException: '',
independentOrganizationAuditsEnergyUse: false,
independentOrganizationAuditsEnergyUseException: ''
},
sustainabilityCertifications: {
breeamCertification: '',
breeamCertificationException: '',
ecoCertifications: [{awarded: false, awardedException: '', ecoCertificate: ''}],
leedCertification: '',
leedCertificationException: ''
},
sustainableSourcing: {
ecoFriendlyToiletries: false,
ecoFriendlyToiletriesException: '',
locallySourcedFoodAndBeverages: false,
locallySourcedFoodAndBeveragesException: '',
organicCageFreeEggs: false,
organicCageFreeEggsException: '',
organicFoodAndBeverages: false,
organicFoodAndBeveragesException: '',
responsiblePurchasingPolicy: false,
responsiblePurchasingPolicyException: '',
responsiblySourcesSeafood: false,
responsiblySourcesSeafoodException: '',
veganMeals: false,
veganMealsException: '',
vegetarianMeals: false,
vegetarianMealsException: ''
},
wasteReduction: {
compostableFoodContainersAndCutlery: false,
compostableFoodContainersAndCutleryException: '',
compostsExcessFood: false,
compostsExcessFoodException: '',
donatesExcessFood: false,
donatesExcessFoodException: '',
foodWasteReductionProgram: false,
foodWasteReductionProgramException: '',
noSingleUsePlasticStraws: false,
noSingleUsePlasticStrawsException: '',
noSingleUsePlasticWaterBottles: false,
noSingleUsePlasticWaterBottlesException: '',
noStyrofoamFoodContainers: false,
noStyrofoamFoodContainersException: '',
recyclingProgram: false,
recyclingProgramException: '',
refillableToiletryContainers: false,
refillableToiletryContainersException: '',
safelyDisposesBatteries: false,
safelyDisposesBatteriesException: '',
safelyDisposesElectronics: false,
safelyDisposesElectronicsException: '',
safelyDisposesLightbulbs: false,
safelyDisposesLightbulbsException: '',
safelyHandlesHazardousSubstances: false,
safelyHandlesHazardousSubstancesException: '',
soapDonationProgram: false,
soapDonationProgramException: '',
toiletryDonationProgram: false,
toiletryDonationProgramException: '',
waterBottleFillingStations: false,
waterBottleFillingStationsException: ''
},
waterConservation: {
independentOrganizationAuditsWaterUse: false,
independentOrganizationAuditsWaterUseException: '',
linenReuseProgram: false,
linenReuseProgramException: '',
towelReuseProgram: false,
towelReuseProgramException: '',
waterSavingShowers: false,
waterSavingShowersException: '',
waterSavingSinks: false,
waterSavingSinksException: '',
waterSavingToilets: false,
waterSavingToiletsException: ''
}
},
transportation: {
airportShuttle: false,
airportShuttleException: '',
carRentalOnProperty: false,
carRentalOnPropertyException: '',
freeAirportShuttle: false,
freeAirportShuttleException: '',
freePrivateCarService: false,
freePrivateCarServiceException: '',
localShuttle: false,
localShuttleException: '',
privateCarService: false,
privateCarServiceException: '',
transfer: false,
transferException: ''
},
wellness: {
doctorOnCall: false,
doctorOnCallException: '',
ellipticalMachine: false,
ellipticalMachineException: '',
fitnessCenter: false,
fitnessCenterException: '',
freeFitnessCenter: false,
freeFitnessCenterException: '',
freeWeights: false,
freeWeightsException: '',
massage: false,
massageException: '',
salon: false,
salonException: '',
sauna: false,
saunaException: '',
spa: false,
spaException: '',
treadmill: false,
treadmillException: '',
weightMachine: false,
weightMachineException: ''
}
}));
req.end();
const request = require('request');
const options = {
method: 'PATCH',
url: '{{baseUrl}}/v1/:name',
headers: {'content-type': 'application/json'},
body: {
accessibility: {
mobilityAccessible: false,
mobilityAccessibleElevator: false,
mobilityAccessibleElevatorException: '',
mobilityAccessibleException: '',
mobilityAccessibleParking: false,
mobilityAccessibleParkingException: '',
mobilityAccessiblePool: false,
mobilityAccessiblePoolException: ''
},
activities: {
beachAccess: false,
beachAccessException: '',
beachFront: false,
beachFrontException: '',
bicycleRental: false,
bicycleRentalException: '',
boutiqueStores: false,
boutiqueStoresException: '',
casino: false,
casinoException: '',
freeBicycleRental: false,
freeBicycleRentalException: '',
freeWatercraftRental: false,
freeWatercraftRentalException: '',
gameRoom: false,
gameRoomException: '',
golf: false,
golfException: '',
horsebackRiding: false,
horsebackRidingException: '',
nightclub: false,
nightclubException: '',
privateBeach: false,
privateBeachException: '',
scuba: false,
scubaException: '',
snorkeling: false,
snorkelingException: '',
tennis: false,
tennisException: '',
waterSkiing: false,
waterSkiingException: '',
watercraftRental: false,
watercraftRentalException: ''
},
allUnits: {
bungalowOrVilla: false,
bungalowOrVillaException: '',
connectingUnitAvailable: false,
connectingUnitAvailableException: '',
executiveFloor: false,
executiveFloorException: '',
maxAdultOccupantsCount: 0,
maxAdultOccupantsCountException: '',
maxChildOccupantsCount: 0,
maxChildOccupantsCountException: '',
maxOccupantsCount: 0,
maxOccupantsCountException: '',
privateHome: false,
privateHomeException: '',
suite: false,
suiteException: '',
tier: '',
tierException: '',
totalLivingAreas: {
accessibility: {
adaCompliantUnit: false,
adaCompliantUnitException: '',
hearingAccessibleDoorbell: false,
hearingAccessibleDoorbellException: '',
hearingAccessibleFireAlarm: false,
hearingAccessibleFireAlarmException: '',
hearingAccessibleUnit: false,
hearingAccessibleUnitException: '',
mobilityAccessibleBathtub: false,
mobilityAccessibleBathtubException: '',
mobilityAccessibleShower: false,
mobilityAccessibleShowerException: '',
mobilityAccessibleToilet: false,
mobilityAccessibleToiletException: '',
mobilityAccessibleUnit: false,
mobilityAccessibleUnitException: ''
},
eating: {
coffeeMaker: false,
coffeeMakerException: '',
cookware: false,
cookwareException: '',
dishwasher: false,
dishwasherException: '',
indoorGrill: false,
indoorGrillException: '',
kettle: false,
kettleException: '',
kitchenAvailable: false,
kitchenAvailableException: '',
microwave: false,
microwaveException: '',
minibar: false,
minibarException: '',
outdoorGrill: false,
outdoorGrillException: '',
oven: false,
ovenException: '',
refrigerator: false,
refrigeratorException: '',
sink: false,
sinkException: '',
snackbar: false,
snackbarException: '',
stove: false,
stoveException: '',
teaStation: false,
teaStationException: '',
toaster: false,
toasterException: ''
},
features: {
airConditioning: false,
airConditioningException: '',
bathtub: false,
bathtubException: '',
bidet: false,
bidetException: '',
dryer: false,
dryerException: '',
electronicRoomKey: false,
electronicRoomKeyException: '',
fireplace: false,
fireplaceException: '',
hairdryer: false,
hairdryerException: '',
heating: false,
heatingException: '',
inunitSafe: false,
inunitSafeException: '',
inunitWifiAvailable: false,
inunitWifiAvailableException: '',
ironingEquipment: false,
ironingEquipmentException: '',
payPerViewMovies: false,
payPerViewMoviesException: '',
privateBathroom: false,
privateBathroomException: '',
shower: false,
showerException: '',
toilet: false,
toiletException: '',
tv: false,
tvCasting: false,
tvCastingException: '',
tvException: '',
tvStreaming: false,
tvStreamingException: '',
universalPowerAdapters: false,
universalPowerAdaptersException: '',
washer: false,
washerException: ''
},
layout: {
balcony: false,
balconyException: '',
livingAreaSqMeters: '',
livingAreaSqMetersException: '',
loft: false,
loftException: '',
nonSmoking: false,
nonSmokingException: '',
patio: false,
patioException: '',
stairs: false,
stairsException: ''
},
sleeping: {
bedsCount: 0,
bedsCountException: '',
bunkBedsCount: 0,
bunkBedsCountException: '',
cribsCount: 0,
cribsCountException: '',
doubleBedsCount: 0,
doubleBedsCountException: '',
featherPillows: false,
featherPillowsException: '',
hypoallergenicBedding: false,
hypoallergenicBeddingException: '',
kingBedsCount: 0,
kingBedsCountException: '',
memoryFoamPillows: false,
memoryFoamPillowsException: '',
otherBedsCount: 0,
otherBedsCountException: '',
queenBedsCount: 0,
queenBedsCountException: '',
rollAwayBedsCount: 0,
rollAwayBedsCountException: '',
singleOrTwinBedsCount: 0,
singleOrTwinBedsCountException: '',
sofaBedsCount: 0,
sofaBedsCountException: '',
syntheticPillows: false,
syntheticPillowsException: ''
}
},
views: {
beachView: false,
beachViewException: '',
cityView: false,
cityViewException: '',
gardenView: false,
gardenViewException: '',
lakeView: false,
lakeViewException: '',
landmarkView: false,
landmarkViewException: '',
oceanView: false,
oceanViewException: '',
poolView: false,
poolViewException: '',
valleyView: false,
valleyViewException: ''
}
},
business: {
businessCenter: false,
businessCenterException: '',
meetingRooms: false,
meetingRoomsCount: 0,
meetingRoomsCountException: '',
meetingRoomsException: ''
},
commonLivingArea: {},
connectivity: {
freeWifi: false,
freeWifiException: '',
publicAreaWifiAvailable: false,
publicAreaWifiAvailableException: '',
publicInternetTerminal: false,
publicInternetTerminalException: '',
wifiAvailable: false,
wifiAvailableException: ''
},
families: {
babysitting: false,
babysittingException: '',
kidsActivities: false,
kidsActivitiesException: '',
kidsClub: false,
kidsClubException: '',
kidsFriendly: false,
kidsFriendlyException: ''
},
foodAndDrink: {
bar: false,
barException: '',
breakfastAvailable: false,
breakfastAvailableException: '',
breakfastBuffet: false,
breakfastBuffetException: '',
buffet: false,
buffetException: '',
dinnerBuffet: false,
dinnerBuffetException: '',
freeBreakfast: false,
freeBreakfastException: '',
restaurant: false,
restaurantException: '',
restaurantsCount: 0,
restaurantsCountException: '',
roomService: false,
roomServiceException: '',
tableService: false,
tableServiceException: '',
twentyFourHourRoomService: false,
twentyFourHourRoomServiceException: '',
vendingMachine: false,
vendingMachineException: ''
},
guestUnits: [{codes: [], features: {}, label: ''}],
healthAndSafety: {
enhancedCleaning: {
commercialGradeDisinfectantCleaning: false,
commercialGradeDisinfectantCleaningException: '',
commonAreasEnhancedCleaning: false,
commonAreasEnhancedCleaningException: '',
employeesTrainedCleaningProcedures: false,
employeesTrainedCleaningProceduresException: '',
employeesTrainedThoroughHandWashing: false,
employeesTrainedThoroughHandWashingException: '',
employeesWearProtectiveEquipment: false,
employeesWearProtectiveEquipmentException: '',
guestRoomsEnhancedCleaning: false,
guestRoomsEnhancedCleaningException: ''
},
increasedFoodSafety: {
diningAreasAdditionalSanitation: false,
diningAreasAdditionalSanitationException: '',
disposableFlatware: false,
disposableFlatwareException: '',
foodPreparationAndServingAdditionalSafety: false,
foodPreparationAndServingAdditionalSafetyException: '',
individualPackagedMeals: false,
individualPackagedMealsException: '',
singleUseFoodMenus: false,
singleUseFoodMenusException: ''
},
minimizedContact: {
contactlessCheckinCheckout: false,
contactlessCheckinCheckoutException: '',
digitalGuestRoomKeys: false,
digitalGuestRoomKeysException: '',
housekeepingScheduledRequestOnly: false,
housekeepingScheduledRequestOnlyException: '',
noHighTouchItemsCommonAreas: false,
noHighTouchItemsCommonAreasException: '',
noHighTouchItemsGuestRooms: false,
noHighTouchItemsGuestRoomsException: '',
plasticKeycardsDisinfected: false,
plasticKeycardsDisinfectedException: '',
roomBookingsBuffer: false,
roomBookingsBufferException: ''
},
personalProtection: {
commonAreasOfferSanitizingItems: false,
commonAreasOfferSanitizingItemsException: '',
faceMaskRequired: false,
faceMaskRequiredException: '',
guestRoomHygieneKitsAvailable: false,
guestRoomHygieneKitsAvailableException: '',
protectiveEquipmentAvailable: false,
protectiveEquipmentAvailableException: ''
},
physicalDistancing: {
commonAreasPhysicalDistancingArranged: false,
commonAreasPhysicalDistancingArrangedException: '',
physicalDistancingRequired: false,
physicalDistancingRequiredException: '',
safetyDividers: false,
safetyDividersException: '',
sharedAreasLimitedOccupancy: false,
sharedAreasLimitedOccupancyException: '',
wellnessAreasHavePrivateSpaces: false,
wellnessAreasHavePrivateSpacesException: ''
}
},
housekeeping: {
dailyHousekeeping: false,
dailyHousekeepingException: '',
housekeepingAvailable: false,
housekeepingAvailableException: '',
turndownService: false,
turndownServiceException: ''
},
metadata: {updateTime: ''},
name: '',
parking: {
electricCarChargingStations: false,
electricCarChargingStationsException: '',
freeParking: false,
freeParkingException: '',
freeSelfParking: false,
freeSelfParkingException: '',
freeValetParking: false,
freeValetParkingException: '',
parkingAvailable: false,
parkingAvailableException: '',
selfParkingAvailable: false,
selfParkingAvailableException: '',
valetParkingAvailable: false,
valetParkingAvailableException: ''
},
pets: {
catsAllowed: false,
catsAllowedException: '',
dogsAllowed: false,
dogsAllowedException: '',
petsAllowed: false,
petsAllowedException: '',
petsAllowedFree: false,
petsAllowedFreeException: ''
},
policies: {
allInclusiveAvailable: false,
allInclusiveAvailableException: '',
allInclusiveOnly: false,
allInclusiveOnlyException: '',
checkinTime: {hours: 0, minutes: 0, nanos: 0, seconds: 0},
checkinTimeException: '',
checkoutTime: {},
checkoutTimeException: '',
kidsStayFree: false,
kidsStayFreeException: '',
maxChildAge: 0,
maxChildAgeException: '',
maxKidsStayFreeCount: 0,
maxKidsStayFreeCountException: '',
paymentOptions: {
cash: false,
cashException: '',
cheque: false,
chequeException: '',
creditCard: false,
creditCardException: '',
debitCard: false,
debitCardException: '',
mobileNfc: false,
mobileNfcException: ''
},
smokeFreeProperty: false,
smokeFreePropertyException: ''
},
pools: {
adultPool: false,
adultPoolException: '',
hotTub: false,
hotTubException: '',
indoorPool: false,
indoorPoolException: '',
indoorPoolsCount: 0,
indoorPoolsCountException: '',
lazyRiver: false,
lazyRiverException: '',
lifeguard: false,
lifeguardException: '',
outdoorPool: false,
outdoorPoolException: '',
outdoorPoolsCount: 0,
outdoorPoolsCountException: '',
pool: false,
poolException: '',
poolsCount: 0,
poolsCountException: '',
wadingPool: false,
wadingPoolException: '',
waterPark: false,
waterParkException: '',
waterslide: false,
waterslideException: '',
wavePool: false,
wavePoolException: ''
},
property: {
builtYear: 0,
builtYearException: '',
floorsCount: 0,
floorsCountException: '',
lastRenovatedYear: 0,
lastRenovatedYearException: '',
roomsCount: 0,
roomsCountException: ''
},
services: {
baggageStorage: false,
baggageStorageException: '',
concierge: false,
conciergeException: '',
convenienceStore: false,
convenienceStoreException: '',
currencyExchange: false,
currencyExchangeException: '',
elevator: false,
elevatorException: '',
frontDesk: false,
frontDeskException: '',
fullServiceLaundry: false,
fullServiceLaundryException: '',
giftShop: false,
giftShopException: '',
languagesSpoken: [{languageCode: '', spoken: false, spokenException: ''}],
selfServiceLaundry: false,
selfServiceLaundryException: '',
socialHour: false,
socialHourException: '',
twentyFourHourFrontDesk: false,
twentyFourHourFrontDeskException: '',
wakeUpCalls: false,
wakeUpCallsException: ''
},
someUnits: {},
sustainability: {
energyEfficiency: {
carbonFreeEnergySources: false,
carbonFreeEnergySourcesException: '',
energyConservationProgram: false,
energyConservationProgramException: '',
energyEfficientHeatingAndCoolingSystems: false,
energyEfficientHeatingAndCoolingSystemsException: '',
energyEfficientLighting: false,
energyEfficientLightingException: '',
energySavingThermostats: false,
energySavingThermostatsException: '',
greenBuildingDesign: false,
greenBuildingDesignException: '',
independentOrganizationAuditsEnergyUse: false,
independentOrganizationAuditsEnergyUseException: ''
},
sustainabilityCertifications: {
breeamCertification: '',
breeamCertificationException: '',
ecoCertifications: [{awarded: false, awardedException: '', ecoCertificate: ''}],
leedCertification: '',
leedCertificationException: ''
},
sustainableSourcing: {
ecoFriendlyToiletries: false,
ecoFriendlyToiletriesException: '',
locallySourcedFoodAndBeverages: false,
locallySourcedFoodAndBeveragesException: '',
organicCageFreeEggs: false,
organicCageFreeEggsException: '',
organicFoodAndBeverages: false,
organicFoodAndBeveragesException: '',
responsiblePurchasingPolicy: false,
responsiblePurchasingPolicyException: '',
responsiblySourcesSeafood: false,
responsiblySourcesSeafoodException: '',
veganMeals: false,
veganMealsException: '',
vegetarianMeals: false,
vegetarianMealsException: ''
},
wasteReduction: {
compostableFoodContainersAndCutlery: false,
compostableFoodContainersAndCutleryException: '',
compostsExcessFood: false,
compostsExcessFoodException: '',
donatesExcessFood: false,
donatesExcessFoodException: '',
foodWasteReductionProgram: false,
foodWasteReductionProgramException: '',
noSingleUsePlasticStraws: false,
noSingleUsePlasticStrawsException: '',
noSingleUsePlasticWaterBottles: false,
noSingleUsePlasticWaterBottlesException: '',
noStyrofoamFoodContainers: false,
noStyrofoamFoodContainersException: '',
recyclingProgram: false,
recyclingProgramException: '',
refillableToiletryContainers: false,
refillableToiletryContainersException: '',
safelyDisposesBatteries: false,
safelyDisposesBatteriesException: '',
safelyDisposesElectronics: false,
safelyDisposesElectronicsException: '',
safelyDisposesLightbulbs: false,
safelyDisposesLightbulbsException: '',
safelyHandlesHazardousSubstances: false,
safelyHandlesHazardousSubstancesException: '',
soapDonationProgram: false,
soapDonationProgramException: '',
toiletryDonationProgram: false,
toiletryDonationProgramException: '',
waterBottleFillingStations: false,
waterBottleFillingStationsException: ''
},
waterConservation: {
independentOrganizationAuditsWaterUse: false,
independentOrganizationAuditsWaterUseException: '',
linenReuseProgram: false,
linenReuseProgramException: '',
towelReuseProgram: false,
towelReuseProgramException: '',
waterSavingShowers: false,
waterSavingShowersException: '',
waterSavingSinks: false,
waterSavingSinksException: '',
waterSavingToilets: false,
waterSavingToiletsException: ''
}
},
transportation: {
airportShuttle: false,
airportShuttleException: '',
carRentalOnProperty: false,
carRentalOnPropertyException: '',
freeAirportShuttle: false,
freeAirportShuttleException: '',
freePrivateCarService: false,
freePrivateCarServiceException: '',
localShuttle: false,
localShuttleException: '',
privateCarService: false,
privateCarServiceException: '',
transfer: false,
transferException: ''
},
wellness: {
doctorOnCall: false,
doctorOnCallException: '',
ellipticalMachine: false,
ellipticalMachineException: '',
fitnessCenter: false,
fitnessCenterException: '',
freeFitnessCenter: false,
freeFitnessCenterException: '',
freeWeights: false,
freeWeightsException: '',
massage: false,
massageException: '',
salon: false,
salonException: '',
sauna: false,
saunaException: '',
spa: false,
spaException: '',
treadmill: false,
treadmillException: '',
weightMachine: false,
weightMachineException: ''
}
},
json: true
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('PATCH', '{{baseUrl}}/v1/:name');
req.headers({
'content-type': 'application/json'
});
req.type('json');
req.send({
accessibility: {
mobilityAccessible: false,
mobilityAccessibleElevator: false,
mobilityAccessibleElevatorException: '',
mobilityAccessibleException: '',
mobilityAccessibleParking: false,
mobilityAccessibleParkingException: '',
mobilityAccessiblePool: false,
mobilityAccessiblePoolException: ''
},
activities: {
beachAccess: false,
beachAccessException: '',
beachFront: false,
beachFrontException: '',
bicycleRental: false,
bicycleRentalException: '',
boutiqueStores: false,
boutiqueStoresException: '',
casino: false,
casinoException: '',
freeBicycleRental: false,
freeBicycleRentalException: '',
freeWatercraftRental: false,
freeWatercraftRentalException: '',
gameRoom: false,
gameRoomException: '',
golf: false,
golfException: '',
horsebackRiding: false,
horsebackRidingException: '',
nightclub: false,
nightclubException: '',
privateBeach: false,
privateBeachException: '',
scuba: false,
scubaException: '',
snorkeling: false,
snorkelingException: '',
tennis: false,
tennisException: '',
waterSkiing: false,
waterSkiingException: '',
watercraftRental: false,
watercraftRentalException: ''
},
allUnits: {
bungalowOrVilla: false,
bungalowOrVillaException: '',
connectingUnitAvailable: false,
connectingUnitAvailableException: '',
executiveFloor: false,
executiveFloorException: '',
maxAdultOccupantsCount: 0,
maxAdultOccupantsCountException: '',
maxChildOccupantsCount: 0,
maxChildOccupantsCountException: '',
maxOccupantsCount: 0,
maxOccupantsCountException: '',
privateHome: false,
privateHomeException: '',
suite: false,
suiteException: '',
tier: '',
tierException: '',
totalLivingAreas: {
accessibility: {
adaCompliantUnit: false,
adaCompliantUnitException: '',
hearingAccessibleDoorbell: false,
hearingAccessibleDoorbellException: '',
hearingAccessibleFireAlarm: false,
hearingAccessibleFireAlarmException: '',
hearingAccessibleUnit: false,
hearingAccessibleUnitException: '',
mobilityAccessibleBathtub: false,
mobilityAccessibleBathtubException: '',
mobilityAccessibleShower: false,
mobilityAccessibleShowerException: '',
mobilityAccessibleToilet: false,
mobilityAccessibleToiletException: '',
mobilityAccessibleUnit: false,
mobilityAccessibleUnitException: ''
},
eating: {
coffeeMaker: false,
coffeeMakerException: '',
cookware: false,
cookwareException: '',
dishwasher: false,
dishwasherException: '',
indoorGrill: false,
indoorGrillException: '',
kettle: false,
kettleException: '',
kitchenAvailable: false,
kitchenAvailableException: '',
microwave: false,
microwaveException: '',
minibar: false,
minibarException: '',
outdoorGrill: false,
outdoorGrillException: '',
oven: false,
ovenException: '',
refrigerator: false,
refrigeratorException: '',
sink: false,
sinkException: '',
snackbar: false,
snackbarException: '',
stove: false,
stoveException: '',
teaStation: false,
teaStationException: '',
toaster: false,
toasterException: ''
},
features: {
airConditioning: false,
airConditioningException: '',
bathtub: false,
bathtubException: '',
bidet: false,
bidetException: '',
dryer: false,
dryerException: '',
electronicRoomKey: false,
electronicRoomKeyException: '',
fireplace: false,
fireplaceException: '',
hairdryer: false,
hairdryerException: '',
heating: false,
heatingException: '',
inunitSafe: false,
inunitSafeException: '',
inunitWifiAvailable: false,
inunitWifiAvailableException: '',
ironingEquipment: false,
ironingEquipmentException: '',
payPerViewMovies: false,
payPerViewMoviesException: '',
privateBathroom: false,
privateBathroomException: '',
shower: false,
showerException: '',
toilet: false,
toiletException: '',
tv: false,
tvCasting: false,
tvCastingException: '',
tvException: '',
tvStreaming: false,
tvStreamingException: '',
universalPowerAdapters: false,
universalPowerAdaptersException: '',
washer: false,
washerException: ''
},
layout: {
balcony: false,
balconyException: '',
livingAreaSqMeters: '',
livingAreaSqMetersException: '',
loft: false,
loftException: '',
nonSmoking: false,
nonSmokingException: '',
patio: false,
patioException: '',
stairs: false,
stairsException: ''
},
sleeping: {
bedsCount: 0,
bedsCountException: '',
bunkBedsCount: 0,
bunkBedsCountException: '',
cribsCount: 0,
cribsCountException: '',
doubleBedsCount: 0,
doubleBedsCountException: '',
featherPillows: false,
featherPillowsException: '',
hypoallergenicBedding: false,
hypoallergenicBeddingException: '',
kingBedsCount: 0,
kingBedsCountException: '',
memoryFoamPillows: false,
memoryFoamPillowsException: '',
otherBedsCount: 0,
otherBedsCountException: '',
queenBedsCount: 0,
queenBedsCountException: '',
rollAwayBedsCount: 0,
rollAwayBedsCountException: '',
singleOrTwinBedsCount: 0,
singleOrTwinBedsCountException: '',
sofaBedsCount: 0,
sofaBedsCountException: '',
syntheticPillows: false,
syntheticPillowsException: ''
}
},
views: {
beachView: false,
beachViewException: '',
cityView: false,
cityViewException: '',
gardenView: false,
gardenViewException: '',
lakeView: false,
lakeViewException: '',
landmarkView: false,
landmarkViewException: '',
oceanView: false,
oceanViewException: '',
poolView: false,
poolViewException: '',
valleyView: false,
valleyViewException: ''
}
},
business: {
businessCenter: false,
businessCenterException: '',
meetingRooms: false,
meetingRoomsCount: 0,
meetingRoomsCountException: '',
meetingRoomsException: ''
},
commonLivingArea: {},
connectivity: {
freeWifi: false,
freeWifiException: '',
publicAreaWifiAvailable: false,
publicAreaWifiAvailableException: '',
publicInternetTerminal: false,
publicInternetTerminalException: '',
wifiAvailable: false,
wifiAvailableException: ''
},
families: {
babysitting: false,
babysittingException: '',
kidsActivities: false,
kidsActivitiesException: '',
kidsClub: false,
kidsClubException: '',
kidsFriendly: false,
kidsFriendlyException: ''
},
foodAndDrink: {
bar: false,
barException: '',
breakfastAvailable: false,
breakfastAvailableException: '',
breakfastBuffet: false,
breakfastBuffetException: '',
buffet: false,
buffetException: '',
dinnerBuffet: false,
dinnerBuffetException: '',
freeBreakfast: false,
freeBreakfastException: '',
restaurant: false,
restaurantException: '',
restaurantsCount: 0,
restaurantsCountException: '',
roomService: false,
roomServiceException: '',
tableService: false,
tableServiceException: '',
twentyFourHourRoomService: false,
twentyFourHourRoomServiceException: '',
vendingMachine: false,
vendingMachineException: ''
},
guestUnits: [
{
codes: [],
features: {},
label: ''
}
],
healthAndSafety: {
enhancedCleaning: {
commercialGradeDisinfectantCleaning: false,
commercialGradeDisinfectantCleaningException: '',
commonAreasEnhancedCleaning: false,
commonAreasEnhancedCleaningException: '',
employeesTrainedCleaningProcedures: false,
employeesTrainedCleaningProceduresException: '',
employeesTrainedThoroughHandWashing: false,
employeesTrainedThoroughHandWashingException: '',
employeesWearProtectiveEquipment: false,
employeesWearProtectiveEquipmentException: '',
guestRoomsEnhancedCleaning: false,
guestRoomsEnhancedCleaningException: ''
},
increasedFoodSafety: {
diningAreasAdditionalSanitation: false,
diningAreasAdditionalSanitationException: '',
disposableFlatware: false,
disposableFlatwareException: '',
foodPreparationAndServingAdditionalSafety: false,
foodPreparationAndServingAdditionalSafetyException: '',
individualPackagedMeals: false,
individualPackagedMealsException: '',
singleUseFoodMenus: false,
singleUseFoodMenusException: ''
},
minimizedContact: {
contactlessCheckinCheckout: false,
contactlessCheckinCheckoutException: '',
digitalGuestRoomKeys: false,
digitalGuestRoomKeysException: '',
housekeepingScheduledRequestOnly: false,
housekeepingScheduledRequestOnlyException: '',
noHighTouchItemsCommonAreas: false,
noHighTouchItemsCommonAreasException: '',
noHighTouchItemsGuestRooms: false,
noHighTouchItemsGuestRoomsException: '',
plasticKeycardsDisinfected: false,
plasticKeycardsDisinfectedException: '',
roomBookingsBuffer: false,
roomBookingsBufferException: ''
},
personalProtection: {
commonAreasOfferSanitizingItems: false,
commonAreasOfferSanitizingItemsException: '',
faceMaskRequired: false,
faceMaskRequiredException: '',
guestRoomHygieneKitsAvailable: false,
guestRoomHygieneKitsAvailableException: '',
protectiveEquipmentAvailable: false,
protectiveEquipmentAvailableException: ''
},
physicalDistancing: {
commonAreasPhysicalDistancingArranged: false,
commonAreasPhysicalDistancingArrangedException: '',
physicalDistancingRequired: false,
physicalDistancingRequiredException: '',
safetyDividers: false,
safetyDividersException: '',
sharedAreasLimitedOccupancy: false,
sharedAreasLimitedOccupancyException: '',
wellnessAreasHavePrivateSpaces: false,
wellnessAreasHavePrivateSpacesException: ''
}
},
housekeeping: {
dailyHousekeeping: false,
dailyHousekeepingException: '',
housekeepingAvailable: false,
housekeepingAvailableException: '',
turndownService: false,
turndownServiceException: ''
},
metadata: {
updateTime: ''
},
name: '',
parking: {
electricCarChargingStations: false,
electricCarChargingStationsException: '',
freeParking: false,
freeParkingException: '',
freeSelfParking: false,
freeSelfParkingException: '',
freeValetParking: false,
freeValetParkingException: '',
parkingAvailable: false,
parkingAvailableException: '',
selfParkingAvailable: false,
selfParkingAvailableException: '',
valetParkingAvailable: false,
valetParkingAvailableException: ''
},
pets: {
catsAllowed: false,
catsAllowedException: '',
dogsAllowed: false,
dogsAllowedException: '',
petsAllowed: false,
petsAllowedException: '',
petsAllowedFree: false,
petsAllowedFreeException: ''
},
policies: {
allInclusiveAvailable: false,
allInclusiveAvailableException: '',
allInclusiveOnly: false,
allInclusiveOnlyException: '',
checkinTime: {
hours: 0,
minutes: 0,
nanos: 0,
seconds: 0
},
checkinTimeException: '',
checkoutTime: {},
checkoutTimeException: '',
kidsStayFree: false,
kidsStayFreeException: '',
maxChildAge: 0,
maxChildAgeException: '',
maxKidsStayFreeCount: 0,
maxKidsStayFreeCountException: '',
paymentOptions: {
cash: false,
cashException: '',
cheque: false,
chequeException: '',
creditCard: false,
creditCardException: '',
debitCard: false,
debitCardException: '',
mobileNfc: false,
mobileNfcException: ''
},
smokeFreeProperty: false,
smokeFreePropertyException: ''
},
pools: {
adultPool: false,
adultPoolException: '',
hotTub: false,
hotTubException: '',
indoorPool: false,
indoorPoolException: '',
indoorPoolsCount: 0,
indoorPoolsCountException: '',
lazyRiver: false,
lazyRiverException: '',
lifeguard: false,
lifeguardException: '',
outdoorPool: false,
outdoorPoolException: '',
outdoorPoolsCount: 0,
outdoorPoolsCountException: '',
pool: false,
poolException: '',
poolsCount: 0,
poolsCountException: '',
wadingPool: false,
wadingPoolException: '',
waterPark: false,
waterParkException: '',
waterslide: false,
waterslideException: '',
wavePool: false,
wavePoolException: ''
},
property: {
builtYear: 0,
builtYearException: '',
floorsCount: 0,
floorsCountException: '',
lastRenovatedYear: 0,
lastRenovatedYearException: '',
roomsCount: 0,
roomsCountException: ''
},
services: {
baggageStorage: false,
baggageStorageException: '',
concierge: false,
conciergeException: '',
convenienceStore: false,
convenienceStoreException: '',
currencyExchange: false,
currencyExchangeException: '',
elevator: false,
elevatorException: '',
frontDesk: false,
frontDeskException: '',
fullServiceLaundry: false,
fullServiceLaundryException: '',
giftShop: false,
giftShopException: '',
languagesSpoken: [
{
languageCode: '',
spoken: false,
spokenException: ''
}
],
selfServiceLaundry: false,
selfServiceLaundryException: '',
socialHour: false,
socialHourException: '',
twentyFourHourFrontDesk: false,
twentyFourHourFrontDeskException: '',
wakeUpCalls: false,
wakeUpCallsException: ''
},
someUnits: {},
sustainability: {
energyEfficiency: {
carbonFreeEnergySources: false,
carbonFreeEnergySourcesException: '',
energyConservationProgram: false,
energyConservationProgramException: '',
energyEfficientHeatingAndCoolingSystems: false,
energyEfficientHeatingAndCoolingSystemsException: '',
energyEfficientLighting: false,
energyEfficientLightingException: '',
energySavingThermostats: false,
energySavingThermostatsException: '',
greenBuildingDesign: false,
greenBuildingDesignException: '',
independentOrganizationAuditsEnergyUse: false,
independentOrganizationAuditsEnergyUseException: ''
},
sustainabilityCertifications: {
breeamCertification: '',
breeamCertificationException: '',
ecoCertifications: [
{
awarded: false,
awardedException: '',
ecoCertificate: ''
}
],
leedCertification: '',
leedCertificationException: ''
},
sustainableSourcing: {
ecoFriendlyToiletries: false,
ecoFriendlyToiletriesException: '',
locallySourcedFoodAndBeverages: false,
locallySourcedFoodAndBeveragesException: '',
organicCageFreeEggs: false,
organicCageFreeEggsException: '',
organicFoodAndBeverages: false,
organicFoodAndBeveragesException: '',
responsiblePurchasingPolicy: false,
responsiblePurchasingPolicyException: '',
responsiblySourcesSeafood: false,
responsiblySourcesSeafoodException: '',
veganMeals: false,
veganMealsException: '',
vegetarianMeals: false,
vegetarianMealsException: ''
},
wasteReduction: {
compostableFoodContainersAndCutlery: false,
compostableFoodContainersAndCutleryException: '',
compostsExcessFood: false,
compostsExcessFoodException: '',
donatesExcessFood: false,
donatesExcessFoodException: '',
foodWasteReductionProgram: false,
foodWasteReductionProgramException: '',
noSingleUsePlasticStraws: false,
noSingleUsePlasticStrawsException: '',
noSingleUsePlasticWaterBottles: false,
noSingleUsePlasticWaterBottlesException: '',
noStyrofoamFoodContainers: false,
noStyrofoamFoodContainersException: '',
recyclingProgram: false,
recyclingProgramException: '',
refillableToiletryContainers: false,
refillableToiletryContainersException: '',
safelyDisposesBatteries: false,
safelyDisposesBatteriesException: '',
safelyDisposesElectronics: false,
safelyDisposesElectronicsException: '',
safelyDisposesLightbulbs: false,
safelyDisposesLightbulbsException: '',
safelyHandlesHazardousSubstances: false,
safelyHandlesHazardousSubstancesException: '',
soapDonationProgram: false,
soapDonationProgramException: '',
toiletryDonationProgram: false,
toiletryDonationProgramException: '',
waterBottleFillingStations: false,
waterBottleFillingStationsException: ''
},
waterConservation: {
independentOrganizationAuditsWaterUse: false,
independentOrganizationAuditsWaterUseException: '',
linenReuseProgram: false,
linenReuseProgramException: '',
towelReuseProgram: false,
towelReuseProgramException: '',
waterSavingShowers: false,
waterSavingShowersException: '',
waterSavingSinks: false,
waterSavingSinksException: '',
waterSavingToilets: false,
waterSavingToiletsException: ''
}
},
transportation: {
airportShuttle: false,
airportShuttleException: '',
carRentalOnProperty: false,
carRentalOnPropertyException: '',
freeAirportShuttle: false,
freeAirportShuttleException: '',
freePrivateCarService: false,
freePrivateCarServiceException: '',
localShuttle: false,
localShuttleException: '',
privateCarService: false,
privateCarServiceException: '',
transfer: false,
transferException: ''
},
wellness: {
doctorOnCall: false,
doctorOnCallException: '',
ellipticalMachine: false,
ellipticalMachineException: '',
fitnessCenter: false,
fitnessCenterException: '',
freeFitnessCenter: false,
freeFitnessCenterException: '',
freeWeights: false,
freeWeightsException: '',
massage: false,
massageException: '',
salon: false,
salonException: '',
sauna: false,
saunaException: '',
spa: false,
spaException: '',
treadmill: false,
treadmillException: '',
weightMachine: false,
weightMachineException: ''
}
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'PATCH',
url: '{{baseUrl}}/v1/:name',
headers: {'content-type': 'application/json'},
data: {
accessibility: {
mobilityAccessible: false,
mobilityAccessibleElevator: false,
mobilityAccessibleElevatorException: '',
mobilityAccessibleException: '',
mobilityAccessibleParking: false,
mobilityAccessibleParkingException: '',
mobilityAccessiblePool: false,
mobilityAccessiblePoolException: ''
},
activities: {
beachAccess: false,
beachAccessException: '',
beachFront: false,
beachFrontException: '',
bicycleRental: false,
bicycleRentalException: '',
boutiqueStores: false,
boutiqueStoresException: '',
casino: false,
casinoException: '',
freeBicycleRental: false,
freeBicycleRentalException: '',
freeWatercraftRental: false,
freeWatercraftRentalException: '',
gameRoom: false,
gameRoomException: '',
golf: false,
golfException: '',
horsebackRiding: false,
horsebackRidingException: '',
nightclub: false,
nightclubException: '',
privateBeach: false,
privateBeachException: '',
scuba: false,
scubaException: '',
snorkeling: false,
snorkelingException: '',
tennis: false,
tennisException: '',
waterSkiing: false,
waterSkiingException: '',
watercraftRental: false,
watercraftRentalException: ''
},
allUnits: {
bungalowOrVilla: false,
bungalowOrVillaException: '',
connectingUnitAvailable: false,
connectingUnitAvailableException: '',
executiveFloor: false,
executiveFloorException: '',
maxAdultOccupantsCount: 0,
maxAdultOccupantsCountException: '',
maxChildOccupantsCount: 0,
maxChildOccupantsCountException: '',
maxOccupantsCount: 0,
maxOccupantsCountException: '',
privateHome: false,
privateHomeException: '',
suite: false,
suiteException: '',
tier: '',
tierException: '',
totalLivingAreas: {
accessibility: {
adaCompliantUnit: false,
adaCompliantUnitException: '',
hearingAccessibleDoorbell: false,
hearingAccessibleDoorbellException: '',
hearingAccessibleFireAlarm: false,
hearingAccessibleFireAlarmException: '',
hearingAccessibleUnit: false,
hearingAccessibleUnitException: '',
mobilityAccessibleBathtub: false,
mobilityAccessibleBathtubException: '',
mobilityAccessibleShower: false,
mobilityAccessibleShowerException: '',
mobilityAccessibleToilet: false,
mobilityAccessibleToiletException: '',
mobilityAccessibleUnit: false,
mobilityAccessibleUnitException: ''
},
eating: {
coffeeMaker: false,
coffeeMakerException: '',
cookware: false,
cookwareException: '',
dishwasher: false,
dishwasherException: '',
indoorGrill: false,
indoorGrillException: '',
kettle: false,
kettleException: '',
kitchenAvailable: false,
kitchenAvailableException: '',
microwave: false,
microwaveException: '',
minibar: false,
minibarException: '',
outdoorGrill: false,
outdoorGrillException: '',
oven: false,
ovenException: '',
refrigerator: false,
refrigeratorException: '',
sink: false,
sinkException: '',
snackbar: false,
snackbarException: '',
stove: false,
stoveException: '',
teaStation: false,
teaStationException: '',
toaster: false,
toasterException: ''
},
features: {
airConditioning: false,
airConditioningException: '',
bathtub: false,
bathtubException: '',
bidet: false,
bidetException: '',
dryer: false,
dryerException: '',
electronicRoomKey: false,
electronicRoomKeyException: '',
fireplace: false,
fireplaceException: '',
hairdryer: false,
hairdryerException: '',
heating: false,
heatingException: '',
inunitSafe: false,
inunitSafeException: '',
inunitWifiAvailable: false,
inunitWifiAvailableException: '',
ironingEquipment: false,
ironingEquipmentException: '',
payPerViewMovies: false,
payPerViewMoviesException: '',
privateBathroom: false,
privateBathroomException: '',
shower: false,
showerException: '',
toilet: false,
toiletException: '',
tv: false,
tvCasting: false,
tvCastingException: '',
tvException: '',
tvStreaming: false,
tvStreamingException: '',
universalPowerAdapters: false,
universalPowerAdaptersException: '',
washer: false,
washerException: ''
},
layout: {
balcony: false,
balconyException: '',
livingAreaSqMeters: '',
livingAreaSqMetersException: '',
loft: false,
loftException: '',
nonSmoking: false,
nonSmokingException: '',
patio: false,
patioException: '',
stairs: false,
stairsException: ''
},
sleeping: {
bedsCount: 0,
bedsCountException: '',
bunkBedsCount: 0,
bunkBedsCountException: '',
cribsCount: 0,
cribsCountException: '',
doubleBedsCount: 0,
doubleBedsCountException: '',
featherPillows: false,
featherPillowsException: '',
hypoallergenicBedding: false,
hypoallergenicBeddingException: '',
kingBedsCount: 0,
kingBedsCountException: '',
memoryFoamPillows: false,
memoryFoamPillowsException: '',
otherBedsCount: 0,
otherBedsCountException: '',
queenBedsCount: 0,
queenBedsCountException: '',
rollAwayBedsCount: 0,
rollAwayBedsCountException: '',
singleOrTwinBedsCount: 0,
singleOrTwinBedsCountException: '',
sofaBedsCount: 0,
sofaBedsCountException: '',
syntheticPillows: false,
syntheticPillowsException: ''
}
},
views: {
beachView: false,
beachViewException: '',
cityView: false,
cityViewException: '',
gardenView: false,
gardenViewException: '',
lakeView: false,
lakeViewException: '',
landmarkView: false,
landmarkViewException: '',
oceanView: false,
oceanViewException: '',
poolView: false,
poolViewException: '',
valleyView: false,
valleyViewException: ''
}
},
business: {
businessCenter: false,
businessCenterException: '',
meetingRooms: false,
meetingRoomsCount: 0,
meetingRoomsCountException: '',
meetingRoomsException: ''
},
commonLivingArea: {},
connectivity: {
freeWifi: false,
freeWifiException: '',
publicAreaWifiAvailable: false,
publicAreaWifiAvailableException: '',
publicInternetTerminal: false,
publicInternetTerminalException: '',
wifiAvailable: false,
wifiAvailableException: ''
},
families: {
babysitting: false,
babysittingException: '',
kidsActivities: false,
kidsActivitiesException: '',
kidsClub: false,
kidsClubException: '',
kidsFriendly: false,
kidsFriendlyException: ''
},
foodAndDrink: {
bar: false,
barException: '',
breakfastAvailable: false,
breakfastAvailableException: '',
breakfastBuffet: false,
breakfastBuffetException: '',
buffet: false,
buffetException: '',
dinnerBuffet: false,
dinnerBuffetException: '',
freeBreakfast: false,
freeBreakfastException: '',
restaurant: false,
restaurantException: '',
restaurantsCount: 0,
restaurantsCountException: '',
roomService: false,
roomServiceException: '',
tableService: false,
tableServiceException: '',
twentyFourHourRoomService: false,
twentyFourHourRoomServiceException: '',
vendingMachine: false,
vendingMachineException: ''
},
guestUnits: [{codes: [], features: {}, label: ''}],
healthAndSafety: {
enhancedCleaning: {
commercialGradeDisinfectantCleaning: false,
commercialGradeDisinfectantCleaningException: '',
commonAreasEnhancedCleaning: false,
commonAreasEnhancedCleaningException: '',
employeesTrainedCleaningProcedures: false,
employeesTrainedCleaningProceduresException: '',
employeesTrainedThoroughHandWashing: false,
employeesTrainedThoroughHandWashingException: '',
employeesWearProtectiveEquipment: false,
employeesWearProtectiveEquipmentException: '',
guestRoomsEnhancedCleaning: false,
guestRoomsEnhancedCleaningException: ''
},
increasedFoodSafety: {
diningAreasAdditionalSanitation: false,
diningAreasAdditionalSanitationException: '',
disposableFlatware: false,
disposableFlatwareException: '',
foodPreparationAndServingAdditionalSafety: false,
foodPreparationAndServingAdditionalSafetyException: '',
individualPackagedMeals: false,
individualPackagedMealsException: '',
singleUseFoodMenus: false,
singleUseFoodMenusException: ''
},
minimizedContact: {
contactlessCheckinCheckout: false,
contactlessCheckinCheckoutException: '',
digitalGuestRoomKeys: false,
digitalGuestRoomKeysException: '',
housekeepingScheduledRequestOnly: false,
housekeepingScheduledRequestOnlyException: '',
noHighTouchItemsCommonAreas: false,
noHighTouchItemsCommonAreasException: '',
noHighTouchItemsGuestRooms: false,
noHighTouchItemsGuestRoomsException: '',
plasticKeycardsDisinfected: false,
plasticKeycardsDisinfectedException: '',
roomBookingsBuffer: false,
roomBookingsBufferException: ''
},
personalProtection: {
commonAreasOfferSanitizingItems: false,
commonAreasOfferSanitizingItemsException: '',
faceMaskRequired: false,
faceMaskRequiredException: '',
guestRoomHygieneKitsAvailable: false,
guestRoomHygieneKitsAvailableException: '',
protectiveEquipmentAvailable: false,
protectiveEquipmentAvailableException: ''
},
physicalDistancing: {
commonAreasPhysicalDistancingArranged: false,
commonAreasPhysicalDistancingArrangedException: '',
physicalDistancingRequired: false,
physicalDistancingRequiredException: '',
safetyDividers: false,
safetyDividersException: '',
sharedAreasLimitedOccupancy: false,
sharedAreasLimitedOccupancyException: '',
wellnessAreasHavePrivateSpaces: false,
wellnessAreasHavePrivateSpacesException: ''
}
},
housekeeping: {
dailyHousekeeping: false,
dailyHousekeepingException: '',
housekeepingAvailable: false,
housekeepingAvailableException: '',
turndownService: false,
turndownServiceException: ''
},
metadata: {updateTime: ''},
name: '',
parking: {
electricCarChargingStations: false,
electricCarChargingStationsException: '',
freeParking: false,
freeParkingException: '',
freeSelfParking: false,
freeSelfParkingException: '',
freeValetParking: false,
freeValetParkingException: '',
parkingAvailable: false,
parkingAvailableException: '',
selfParkingAvailable: false,
selfParkingAvailableException: '',
valetParkingAvailable: false,
valetParkingAvailableException: ''
},
pets: {
catsAllowed: false,
catsAllowedException: '',
dogsAllowed: false,
dogsAllowedException: '',
petsAllowed: false,
petsAllowedException: '',
petsAllowedFree: false,
petsAllowedFreeException: ''
},
policies: {
allInclusiveAvailable: false,
allInclusiveAvailableException: '',
allInclusiveOnly: false,
allInclusiveOnlyException: '',
checkinTime: {hours: 0, minutes: 0, nanos: 0, seconds: 0},
checkinTimeException: '',
checkoutTime: {},
checkoutTimeException: '',
kidsStayFree: false,
kidsStayFreeException: '',
maxChildAge: 0,
maxChildAgeException: '',
maxKidsStayFreeCount: 0,
maxKidsStayFreeCountException: '',
paymentOptions: {
cash: false,
cashException: '',
cheque: false,
chequeException: '',
creditCard: false,
creditCardException: '',
debitCard: false,
debitCardException: '',
mobileNfc: false,
mobileNfcException: ''
},
smokeFreeProperty: false,
smokeFreePropertyException: ''
},
pools: {
adultPool: false,
adultPoolException: '',
hotTub: false,
hotTubException: '',
indoorPool: false,
indoorPoolException: '',
indoorPoolsCount: 0,
indoorPoolsCountException: '',
lazyRiver: false,
lazyRiverException: '',
lifeguard: false,
lifeguardException: '',
outdoorPool: false,
outdoorPoolException: '',
outdoorPoolsCount: 0,
outdoorPoolsCountException: '',
pool: false,
poolException: '',
poolsCount: 0,
poolsCountException: '',
wadingPool: false,
wadingPoolException: '',
waterPark: false,
waterParkException: '',
waterslide: false,
waterslideException: '',
wavePool: false,
wavePoolException: ''
},
property: {
builtYear: 0,
builtYearException: '',
floorsCount: 0,
floorsCountException: '',
lastRenovatedYear: 0,
lastRenovatedYearException: '',
roomsCount: 0,
roomsCountException: ''
},
services: {
baggageStorage: false,
baggageStorageException: '',
concierge: false,
conciergeException: '',
convenienceStore: false,
convenienceStoreException: '',
currencyExchange: false,
currencyExchangeException: '',
elevator: false,
elevatorException: '',
frontDesk: false,
frontDeskException: '',
fullServiceLaundry: false,
fullServiceLaundryException: '',
giftShop: false,
giftShopException: '',
languagesSpoken: [{languageCode: '', spoken: false, spokenException: ''}],
selfServiceLaundry: false,
selfServiceLaundryException: '',
socialHour: false,
socialHourException: '',
twentyFourHourFrontDesk: false,
twentyFourHourFrontDeskException: '',
wakeUpCalls: false,
wakeUpCallsException: ''
},
someUnits: {},
sustainability: {
energyEfficiency: {
carbonFreeEnergySources: false,
carbonFreeEnergySourcesException: '',
energyConservationProgram: false,
energyConservationProgramException: '',
energyEfficientHeatingAndCoolingSystems: false,
energyEfficientHeatingAndCoolingSystemsException: '',
energyEfficientLighting: false,
energyEfficientLightingException: '',
energySavingThermostats: false,
energySavingThermostatsException: '',
greenBuildingDesign: false,
greenBuildingDesignException: '',
independentOrganizationAuditsEnergyUse: false,
independentOrganizationAuditsEnergyUseException: ''
},
sustainabilityCertifications: {
breeamCertification: '',
breeamCertificationException: '',
ecoCertifications: [{awarded: false, awardedException: '', ecoCertificate: ''}],
leedCertification: '',
leedCertificationException: ''
},
sustainableSourcing: {
ecoFriendlyToiletries: false,
ecoFriendlyToiletriesException: '',
locallySourcedFoodAndBeverages: false,
locallySourcedFoodAndBeveragesException: '',
organicCageFreeEggs: false,
organicCageFreeEggsException: '',
organicFoodAndBeverages: false,
organicFoodAndBeveragesException: '',
responsiblePurchasingPolicy: false,
responsiblePurchasingPolicyException: '',
responsiblySourcesSeafood: false,
responsiblySourcesSeafoodException: '',
veganMeals: false,
veganMealsException: '',
vegetarianMeals: false,
vegetarianMealsException: ''
},
wasteReduction: {
compostableFoodContainersAndCutlery: false,
compostableFoodContainersAndCutleryException: '',
compostsExcessFood: false,
compostsExcessFoodException: '',
donatesExcessFood: false,
donatesExcessFoodException: '',
foodWasteReductionProgram: false,
foodWasteReductionProgramException: '',
noSingleUsePlasticStraws: false,
noSingleUsePlasticStrawsException: '',
noSingleUsePlasticWaterBottles: false,
noSingleUsePlasticWaterBottlesException: '',
noStyrofoamFoodContainers: false,
noStyrofoamFoodContainersException: '',
recyclingProgram: false,
recyclingProgramException: '',
refillableToiletryContainers: false,
refillableToiletryContainersException: '',
safelyDisposesBatteries: false,
safelyDisposesBatteriesException: '',
safelyDisposesElectronics: false,
safelyDisposesElectronicsException: '',
safelyDisposesLightbulbs: false,
safelyDisposesLightbulbsException: '',
safelyHandlesHazardousSubstances: false,
safelyHandlesHazardousSubstancesException: '',
soapDonationProgram: false,
soapDonationProgramException: '',
toiletryDonationProgram: false,
toiletryDonationProgramException: '',
waterBottleFillingStations: false,
waterBottleFillingStationsException: ''
},
waterConservation: {
independentOrganizationAuditsWaterUse: false,
independentOrganizationAuditsWaterUseException: '',
linenReuseProgram: false,
linenReuseProgramException: '',
towelReuseProgram: false,
towelReuseProgramException: '',
waterSavingShowers: false,
waterSavingShowersException: '',
waterSavingSinks: false,
waterSavingSinksException: '',
waterSavingToilets: false,
waterSavingToiletsException: ''
}
},
transportation: {
airportShuttle: false,
airportShuttleException: '',
carRentalOnProperty: false,
carRentalOnPropertyException: '',
freeAirportShuttle: false,
freeAirportShuttleException: '',
freePrivateCarService: false,
freePrivateCarServiceException: '',
localShuttle: false,
localShuttleException: '',
privateCarService: false,
privateCarServiceException: '',
transfer: false,
transferException: ''
},
wellness: {
doctorOnCall: false,
doctorOnCallException: '',
ellipticalMachine: false,
ellipticalMachineException: '',
fitnessCenter: false,
fitnessCenterException: '',
freeFitnessCenter: false,
freeFitnessCenterException: '',
freeWeights: false,
freeWeightsException: '',
massage: false,
massageException: '',
salon: false,
salonException: '',
sauna: false,
saunaException: '',
spa: false,
spaException: '',
treadmill: false,
treadmillException: '',
weightMachine: false,
weightMachineException: ''
}
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/v1/:name';
const options = {
method: 'PATCH',
headers: {'content-type': 'application/json'},
body: '{"accessibility":{"mobilityAccessible":false,"mobilityAccessibleElevator":false,"mobilityAccessibleElevatorException":"","mobilityAccessibleException":"","mobilityAccessibleParking":false,"mobilityAccessibleParkingException":"","mobilityAccessiblePool":false,"mobilityAccessiblePoolException":""},"activities":{"beachAccess":false,"beachAccessException":"","beachFront":false,"beachFrontException":"","bicycleRental":false,"bicycleRentalException":"","boutiqueStores":false,"boutiqueStoresException":"","casino":false,"casinoException":"","freeBicycleRental":false,"freeBicycleRentalException":"","freeWatercraftRental":false,"freeWatercraftRentalException":"","gameRoom":false,"gameRoomException":"","golf":false,"golfException":"","horsebackRiding":false,"horsebackRidingException":"","nightclub":false,"nightclubException":"","privateBeach":false,"privateBeachException":"","scuba":false,"scubaException":"","snorkeling":false,"snorkelingException":"","tennis":false,"tennisException":"","waterSkiing":false,"waterSkiingException":"","watercraftRental":false,"watercraftRentalException":""},"allUnits":{"bungalowOrVilla":false,"bungalowOrVillaException":"","connectingUnitAvailable":false,"connectingUnitAvailableException":"","executiveFloor":false,"executiveFloorException":"","maxAdultOccupantsCount":0,"maxAdultOccupantsCountException":"","maxChildOccupantsCount":0,"maxChildOccupantsCountException":"","maxOccupantsCount":0,"maxOccupantsCountException":"","privateHome":false,"privateHomeException":"","suite":false,"suiteException":"","tier":"","tierException":"","totalLivingAreas":{"accessibility":{"adaCompliantUnit":false,"adaCompliantUnitException":"","hearingAccessibleDoorbell":false,"hearingAccessibleDoorbellException":"","hearingAccessibleFireAlarm":false,"hearingAccessibleFireAlarmException":"","hearingAccessibleUnit":false,"hearingAccessibleUnitException":"","mobilityAccessibleBathtub":false,"mobilityAccessibleBathtubException":"","mobilityAccessibleShower":false,"mobilityAccessibleShowerException":"","mobilityAccessibleToilet":false,"mobilityAccessibleToiletException":"","mobilityAccessibleUnit":false,"mobilityAccessibleUnitException":""},"eating":{"coffeeMaker":false,"coffeeMakerException":"","cookware":false,"cookwareException":"","dishwasher":false,"dishwasherException":"","indoorGrill":false,"indoorGrillException":"","kettle":false,"kettleException":"","kitchenAvailable":false,"kitchenAvailableException":"","microwave":false,"microwaveException":"","minibar":false,"minibarException":"","outdoorGrill":false,"outdoorGrillException":"","oven":false,"ovenException":"","refrigerator":false,"refrigeratorException":"","sink":false,"sinkException":"","snackbar":false,"snackbarException":"","stove":false,"stoveException":"","teaStation":false,"teaStationException":"","toaster":false,"toasterException":""},"features":{"airConditioning":false,"airConditioningException":"","bathtub":false,"bathtubException":"","bidet":false,"bidetException":"","dryer":false,"dryerException":"","electronicRoomKey":false,"electronicRoomKeyException":"","fireplace":false,"fireplaceException":"","hairdryer":false,"hairdryerException":"","heating":false,"heatingException":"","inunitSafe":false,"inunitSafeException":"","inunitWifiAvailable":false,"inunitWifiAvailableException":"","ironingEquipment":false,"ironingEquipmentException":"","payPerViewMovies":false,"payPerViewMoviesException":"","privateBathroom":false,"privateBathroomException":"","shower":false,"showerException":"","toilet":false,"toiletException":"","tv":false,"tvCasting":false,"tvCastingException":"","tvException":"","tvStreaming":false,"tvStreamingException":"","universalPowerAdapters":false,"universalPowerAdaptersException":"","washer":false,"washerException":""},"layout":{"balcony":false,"balconyException":"","livingAreaSqMeters":"","livingAreaSqMetersException":"","loft":false,"loftException":"","nonSmoking":false,"nonSmokingException":"","patio":false,"patioException":"","stairs":false,"stairsException":""},"sleeping":{"bedsCount":0,"bedsCountException":"","bunkBedsCount":0,"bunkBedsCountException":"","cribsCount":0,"cribsCountException":"","doubleBedsCount":0,"doubleBedsCountException":"","featherPillows":false,"featherPillowsException":"","hypoallergenicBedding":false,"hypoallergenicBeddingException":"","kingBedsCount":0,"kingBedsCountException":"","memoryFoamPillows":false,"memoryFoamPillowsException":"","otherBedsCount":0,"otherBedsCountException":"","queenBedsCount":0,"queenBedsCountException":"","rollAwayBedsCount":0,"rollAwayBedsCountException":"","singleOrTwinBedsCount":0,"singleOrTwinBedsCountException":"","sofaBedsCount":0,"sofaBedsCountException":"","syntheticPillows":false,"syntheticPillowsException":""}},"views":{"beachView":false,"beachViewException":"","cityView":false,"cityViewException":"","gardenView":false,"gardenViewException":"","lakeView":false,"lakeViewException":"","landmarkView":false,"landmarkViewException":"","oceanView":false,"oceanViewException":"","poolView":false,"poolViewException":"","valleyView":false,"valleyViewException":""}},"business":{"businessCenter":false,"businessCenterException":"","meetingRooms":false,"meetingRoomsCount":0,"meetingRoomsCountException":"","meetingRoomsException":""},"commonLivingArea":{},"connectivity":{"freeWifi":false,"freeWifiException":"","publicAreaWifiAvailable":false,"publicAreaWifiAvailableException":"","publicInternetTerminal":false,"publicInternetTerminalException":"","wifiAvailable":false,"wifiAvailableException":""},"families":{"babysitting":false,"babysittingException":"","kidsActivities":false,"kidsActivitiesException":"","kidsClub":false,"kidsClubException":"","kidsFriendly":false,"kidsFriendlyException":""},"foodAndDrink":{"bar":false,"barException":"","breakfastAvailable":false,"breakfastAvailableException":"","breakfastBuffet":false,"breakfastBuffetException":"","buffet":false,"buffetException":"","dinnerBuffet":false,"dinnerBuffetException":"","freeBreakfast":false,"freeBreakfastException":"","restaurant":false,"restaurantException":"","restaurantsCount":0,"restaurantsCountException":"","roomService":false,"roomServiceException":"","tableService":false,"tableServiceException":"","twentyFourHourRoomService":false,"twentyFourHourRoomServiceException":"","vendingMachine":false,"vendingMachineException":""},"guestUnits":[{"codes":[],"features":{},"label":""}],"healthAndSafety":{"enhancedCleaning":{"commercialGradeDisinfectantCleaning":false,"commercialGradeDisinfectantCleaningException":"","commonAreasEnhancedCleaning":false,"commonAreasEnhancedCleaningException":"","employeesTrainedCleaningProcedures":false,"employeesTrainedCleaningProceduresException":"","employeesTrainedThoroughHandWashing":false,"employeesTrainedThoroughHandWashingException":"","employeesWearProtectiveEquipment":false,"employeesWearProtectiveEquipmentException":"","guestRoomsEnhancedCleaning":false,"guestRoomsEnhancedCleaningException":""},"increasedFoodSafety":{"diningAreasAdditionalSanitation":false,"diningAreasAdditionalSanitationException":"","disposableFlatware":false,"disposableFlatwareException":"","foodPreparationAndServingAdditionalSafety":false,"foodPreparationAndServingAdditionalSafetyException":"","individualPackagedMeals":false,"individualPackagedMealsException":"","singleUseFoodMenus":false,"singleUseFoodMenusException":""},"minimizedContact":{"contactlessCheckinCheckout":false,"contactlessCheckinCheckoutException":"","digitalGuestRoomKeys":false,"digitalGuestRoomKeysException":"","housekeepingScheduledRequestOnly":false,"housekeepingScheduledRequestOnlyException":"","noHighTouchItemsCommonAreas":false,"noHighTouchItemsCommonAreasException":"","noHighTouchItemsGuestRooms":false,"noHighTouchItemsGuestRoomsException":"","plasticKeycardsDisinfected":false,"plasticKeycardsDisinfectedException":"","roomBookingsBuffer":false,"roomBookingsBufferException":""},"personalProtection":{"commonAreasOfferSanitizingItems":false,"commonAreasOfferSanitizingItemsException":"","faceMaskRequired":false,"faceMaskRequiredException":"","guestRoomHygieneKitsAvailable":false,"guestRoomHygieneKitsAvailableException":"","protectiveEquipmentAvailable":false,"protectiveEquipmentAvailableException":""},"physicalDistancing":{"commonAreasPhysicalDistancingArranged":false,"commonAreasPhysicalDistancingArrangedException":"","physicalDistancingRequired":false,"physicalDistancingRequiredException":"","safetyDividers":false,"safetyDividersException":"","sharedAreasLimitedOccupancy":false,"sharedAreasLimitedOccupancyException":"","wellnessAreasHavePrivateSpaces":false,"wellnessAreasHavePrivateSpacesException":""}},"housekeeping":{"dailyHousekeeping":false,"dailyHousekeepingException":"","housekeepingAvailable":false,"housekeepingAvailableException":"","turndownService":false,"turndownServiceException":""},"metadata":{"updateTime":""},"name":"","parking":{"electricCarChargingStations":false,"electricCarChargingStationsException":"","freeParking":false,"freeParkingException":"","freeSelfParking":false,"freeSelfParkingException":"","freeValetParking":false,"freeValetParkingException":"","parkingAvailable":false,"parkingAvailableException":"","selfParkingAvailable":false,"selfParkingAvailableException":"","valetParkingAvailable":false,"valetParkingAvailableException":""},"pets":{"catsAllowed":false,"catsAllowedException":"","dogsAllowed":false,"dogsAllowedException":"","petsAllowed":false,"petsAllowedException":"","petsAllowedFree":false,"petsAllowedFreeException":""},"policies":{"allInclusiveAvailable":false,"allInclusiveAvailableException":"","allInclusiveOnly":false,"allInclusiveOnlyException":"","checkinTime":{"hours":0,"minutes":0,"nanos":0,"seconds":0},"checkinTimeException":"","checkoutTime":{},"checkoutTimeException":"","kidsStayFree":false,"kidsStayFreeException":"","maxChildAge":0,"maxChildAgeException":"","maxKidsStayFreeCount":0,"maxKidsStayFreeCountException":"","paymentOptions":{"cash":false,"cashException":"","cheque":false,"chequeException":"","creditCard":false,"creditCardException":"","debitCard":false,"debitCardException":"","mobileNfc":false,"mobileNfcException":""},"smokeFreeProperty":false,"smokeFreePropertyException":""},"pools":{"adultPool":false,"adultPoolException":"","hotTub":false,"hotTubException":"","indoorPool":false,"indoorPoolException":"","indoorPoolsCount":0,"indoorPoolsCountException":"","lazyRiver":false,"lazyRiverException":"","lifeguard":false,"lifeguardException":"","outdoorPool":false,"outdoorPoolException":"","outdoorPoolsCount":0,"outdoorPoolsCountException":"","pool":false,"poolException":"","poolsCount":0,"poolsCountException":"","wadingPool":false,"wadingPoolException":"","waterPark":false,"waterParkException":"","waterslide":false,"waterslideException":"","wavePool":false,"wavePoolException":""},"property":{"builtYear":0,"builtYearException":"","floorsCount":0,"floorsCountException":"","lastRenovatedYear":0,"lastRenovatedYearException":"","roomsCount":0,"roomsCountException":""},"services":{"baggageStorage":false,"baggageStorageException":"","concierge":false,"conciergeException":"","convenienceStore":false,"convenienceStoreException":"","currencyExchange":false,"currencyExchangeException":"","elevator":false,"elevatorException":"","frontDesk":false,"frontDeskException":"","fullServiceLaundry":false,"fullServiceLaundryException":"","giftShop":false,"giftShopException":"","languagesSpoken":[{"languageCode":"","spoken":false,"spokenException":""}],"selfServiceLaundry":false,"selfServiceLaundryException":"","socialHour":false,"socialHourException":"","twentyFourHourFrontDesk":false,"twentyFourHourFrontDeskException":"","wakeUpCalls":false,"wakeUpCallsException":""},"someUnits":{},"sustainability":{"energyEfficiency":{"carbonFreeEnergySources":false,"carbonFreeEnergySourcesException":"","energyConservationProgram":false,"energyConservationProgramException":"","energyEfficientHeatingAndCoolingSystems":false,"energyEfficientHeatingAndCoolingSystemsException":"","energyEfficientLighting":false,"energyEfficientLightingException":"","energySavingThermostats":false,"energySavingThermostatsException":"","greenBuildingDesign":false,"greenBuildingDesignException":"","independentOrganizationAuditsEnergyUse":false,"independentOrganizationAuditsEnergyUseException":""},"sustainabilityCertifications":{"breeamCertification":"","breeamCertificationException":"","ecoCertifications":[{"awarded":false,"awardedException":"","ecoCertificate":""}],"leedCertification":"","leedCertificationException":""},"sustainableSourcing":{"ecoFriendlyToiletries":false,"ecoFriendlyToiletriesException":"","locallySourcedFoodAndBeverages":false,"locallySourcedFoodAndBeveragesException":"","organicCageFreeEggs":false,"organicCageFreeEggsException":"","organicFoodAndBeverages":false,"organicFoodAndBeveragesException":"","responsiblePurchasingPolicy":false,"responsiblePurchasingPolicyException":"","responsiblySourcesSeafood":false,"responsiblySourcesSeafoodException":"","veganMeals":false,"veganMealsException":"","vegetarianMeals":false,"vegetarianMealsException":""},"wasteReduction":{"compostableFoodContainersAndCutlery":false,"compostableFoodContainersAndCutleryException":"","compostsExcessFood":false,"compostsExcessFoodException":"","donatesExcessFood":false,"donatesExcessFoodException":"","foodWasteReductionProgram":false,"foodWasteReductionProgramException":"","noSingleUsePlasticStraws":false,"noSingleUsePlasticStrawsException":"","noSingleUsePlasticWaterBottles":false,"noSingleUsePlasticWaterBottlesException":"","noStyrofoamFoodContainers":false,"noStyrofoamFoodContainersException":"","recyclingProgram":false,"recyclingProgramException":"","refillableToiletryContainers":false,"refillableToiletryContainersException":"","safelyDisposesBatteries":false,"safelyDisposesBatteriesException":"","safelyDisposesElectronics":false,"safelyDisposesElectronicsException":"","safelyDisposesLightbulbs":false,"safelyDisposesLightbulbsException":"","safelyHandlesHazardousSubstances":false,"safelyHandlesHazardousSubstancesException":"","soapDonationProgram":false,"soapDonationProgramException":"","toiletryDonationProgram":false,"toiletryDonationProgramException":"","waterBottleFillingStations":false,"waterBottleFillingStationsException":""},"waterConservation":{"independentOrganizationAuditsWaterUse":false,"independentOrganizationAuditsWaterUseException":"","linenReuseProgram":false,"linenReuseProgramException":"","towelReuseProgram":false,"towelReuseProgramException":"","waterSavingShowers":false,"waterSavingShowersException":"","waterSavingSinks":false,"waterSavingSinksException":"","waterSavingToilets":false,"waterSavingToiletsException":""}},"transportation":{"airportShuttle":false,"airportShuttleException":"","carRentalOnProperty":false,"carRentalOnPropertyException":"","freeAirportShuttle":false,"freeAirportShuttleException":"","freePrivateCarService":false,"freePrivateCarServiceException":"","localShuttle":false,"localShuttleException":"","privateCarService":false,"privateCarServiceException":"","transfer":false,"transferException":""},"wellness":{"doctorOnCall":false,"doctorOnCallException":"","ellipticalMachine":false,"ellipticalMachineException":"","fitnessCenter":false,"fitnessCenterException":"","freeFitnessCenter":false,"freeFitnessCenterException":"","freeWeights":false,"freeWeightsException":"","massage":false,"massageException":"","salon":false,"salonException":"","sauna":false,"saunaException":"","spa":false,"spaException":"","treadmill":false,"treadmillException":"","weightMachine":false,"weightMachineException":""}}'
};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"accessibility": @{ @"mobilityAccessible": @NO, @"mobilityAccessibleElevator": @NO, @"mobilityAccessibleElevatorException": @"", @"mobilityAccessibleException": @"", @"mobilityAccessibleParking": @NO, @"mobilityAccessibleParkingException": @"", @"mobilityAccessiblePool": @NO, @"mobilityAccessiblePoolException": @"" },
@"activities": @{ @"beachAccess": @NO, @"beachAccessException": @"", @"beachFront": @NO, @"beachFrontException": @"", @"bicycleRental": @NO, @"bicycleRentalException": @"", @"boutiqueStores": @NO, @"boutiqueStoresException": @"", @"casino": @NO, @"casinoException": @"", @"freeBicycleRental": @NO, @"freeBicycleRentalException": @"", @"freeWatercraftRental": @NO, @"freeWatercraftRentalException": @"", @"gameRoom": @NO, @"gameRoomException": @"", @"golf": @NO, @"golfException": @"", @"horsebackRiding": @NO, @"horsebackRidingException": @"", @"nightclub": @NO, @"nightclubException": @"", @"privateBeach": @NO, @"privateBeachException": @"", @"scuba": @NO, @"scubaException": @"", @"snorkeling": @NO, @"snorkelingException": @"", @"tennis": @NO, @"tennisException": @"", @"waterSkiing": @NO, @"waterSkiingException": @"", @"watercraftRental": @NO, @"watercraftRentalException": @"" },
@"allUnits": @{ @"bungalowOrVilla": @NO, @"bungalowOrVillaException": @"", @"connectingUnitAvailable": @NO, @"connectingUnitAvailableException": @"", @"executiveFloor": @NO, @"executiveFloorException": @"", @"maxAdultOccupantsCount": @0, @"maxAdultOccupantsCountException": @"", @"maxChildOccupantsCount": @0, @"maxChildOccupantsCountException": @"", @"maxOccupantsCount": @0, @"maxOccupantsCountException": @"", @"privateHome": @NO, @"privateHomeException": @"", @"suite": @NO, @"suiteException": @"", @"tier": @"", @"tierException": @"", @"totalLivingAreas": @{ @"accessibility": @{ @"adaCompliantUnit": @NO, @"adaCompliantUnitException": @"", @"hearingAccessibleDoorbell": @NO, @"hearingAccessibleDoorbellException": @"", @"hearingAccessibleFireAlarm": @NO, @"hearingAccessibleFireAlarmException": @"", @"hearingAccessibleUnit": @NO, @"hearingAccessibleUnitException": @"", @"mobilityAccessibleBathtub": @NO, @"mobilityAccessibleBathtubException": @"", @"mobilityAccessibleShower": @NO, @"mobilityAccessibleShowerException": @"", @"mobilityAccessibleToilet": @NO, @"mobilityAccessibleToiletException": @"", @"mobilityAccessibleUnit": @NO, @"mobilityAccessibleUnitException": @"" }, @"eating": @{ @"coffeeMaker": @NO, @"coffeeMakerException": @"", @"cookware": @NO, @"cookwareException": @"", @"dishwasher": @NO, @"dishwasherException": @"", @"indoorGrill": @NO, @"indoorGrillException": @"", @"kettle": @NO, @"kettleException": @"", @"kitchenAvailable": @NO, @"kitchenAvailableException": @"", @"microwave": @NO, @"microwaveException": @"", @"minibar": @NO, @"minibarException": @"", @"outdoorGrill": @NO, @"outdoorGrillException": @"", @"oven": @NO, @"ovenException": @"", @"refrigerator": @NO, @"refrigeratorException": @"", @"sink": @NO, @"sinkException": @"", @"snackbar": @NO, @"snackbarException": @"", @"stove": @NO, @"stoveException": @"", @"teaStation": @NO, @"teaStationException": @"", @"toaster": @NO, @"toasterException": @"" }, @"features": @{ @"airConditioning": @NO, @"airConditioningException": @"", @"bathtub": @NO, @"bathtubException": @"", @"bidet": @NO, @"bidetException": @"", @"dryer": @NO, @"dryerException": @"", @"electronicRoomKey": @NO, @"electronicRoomKeyException": @"", @"fireplace": @NO, @"fireplaceException": @"", @"hairdryer": @NO, @"hairdryerException": @"", @"heating": @NO, @"heatingException": @"", @"inunitSafe": @NO, @"inunitSafeException": @"", @"inunitWifiAvailable": @NO, @"inunitWifiAvailableException": @"", @"ironingEquipment": @NO, @"ironingEquipmentException": @"", @"payPerViewMovies": @NO, @"payPerViewMoviesException": @"", @"privateBathroom": @NO, @"privateBathroomException": @"", @"shower": @NO, @"showerException": @"", @"toilet": @NO, @"toiletException": @"", @"tv": @NO, @"tvCasting": @NO, @"tvCastingException": @"", @"tvException": @"", @"tvStreaming": @NO, @"tvStreamingException": @"", @"universalPowerAdapters": @NO, @"universalPowerAdaptersException": @"", @"washer": @NO, @"washerException": @"" }, @"layout": @{ @"balcony": @NO, @"balconyException": @"", @"livingAreaSqMeters": @"", @"livingAreaSqMetersException": @"", @"loft": @NO, @"loftException": @"", @"nonSmoking": @NO, @"nonSmokingException": @"", @"patio": @NO, @"patioException": @"", @"stairs": @NO, @"stairsException": @"" }, @"sleeping": @{ @"bedsCount": @0, @"bedsCountException": @"", @"bunkBedsCount": @0, @"bunkBedsCountException": @"", @"cribsCount": @0, @"cribsCountException": @"", @"doubleBedsCount": @0, @"doubleBedsCountException": @"", @"featherPillows": @NO, @"featherPillowsException": @"", @"hypoallergenicBedding": @NO, @"hypoallergenicBeddingException": @"", @"kingBedsCount": @0, @"kingBedsCountException": @"", @"memoryFoamPillows": @NO, @"memoryFoamPillowsException": @"", @"otherBedsCount": @0, @"otherBedsCountException": @"", @"queenBedsCount": @0, @"queenBedsCountException": @"", @"rollAwayBedsCount": @0, @"rollAwayBedsCountException": @"", @"singleOrTwinBedsCount": @0, @"singleOrTwinBedsCountException": @"", @"sofaBedsCount": @0, @"sofaBedsCountException": @"", @"syntheticPillows": @NO, @"syntheticPillowsException": @"" } }, @"views": @{ @"beachView": @NO, @"beachViewException": @"", @"cityView": @NO, @"cityViewException": @"", @"gardenView": @NO, @"gardenViewException": @"", @"lakeView": @NO, @"lakeViewException": @"", @"landmarkView": @NO, @"landmarkViewException": @"", @"oceanView": @NO, @"oceanViewException": @"", @"poolView": @NO, @"poolViewException": @"", @"valleyView": @NO, @"valleyViewException": @"" } },
@"business": @{ @"businessCenter": @NO, @"businessCenterException": @"", @"meetingRooms": @NO, @"meetingRoomsCount": @0, @"meetingRoomsCountException": @"", @"meetingRoomsException": @"" },
@"commonLivingArea": @{ },
@"connectivity": @{ @"freeWifi": @NO, @"freeWifiException": @"", @"publicAreaWifiAvailable": @NO, @"publicAreaWifiAvailableException": @"", @"publicInternetTerminal": @NO, @"publicInternetTerminalException": @"", @"wifiAvailable": @NO, @"wifiAvailableException": @"" },
@"families": @{ @"babysitting": @NO, @"babysittingException": @"", @"kidsActivities": @NO, @"kidsActivitiesException": @"", @"kidsClub": @NO, @"kidsClubException": @"", @"kidsFriendly": @NO, @"kidsFriendlyException": @"" },
@"foodAndDrink": @{ @"bar": @NO, @"barException": @"", @"breakfastAvailable": @NO, @"breakfastAvailableException": @"", @"breakfastBuffet": @NO, @"breakfastBuffetException": @"", @"buffet": @NO, @"buffetException": @"", @"dinnerBuffet": @NO, @"dinnerBuffetException": @"", @"freeBreakfast": @NO, @"freeBreakfastException": @"", @"restaurant": @NO, @"restaurantException": @"", @"restaurantsCount": @0, @"restaurantsCountException": @"", @"roomService": @NO, @"roomServiceException": @"", @"tableService": @NO, @"tableServiceException": @"", @"twentyFourHourRoomService": @NO, @"twentyFourHourRoomServiceException": @"", @"vendingMachine": @NO, @"vendingMachineException": @"" },
@"guestUnits": @[ @{ @"codes": @[ ], @"features": @{ }, @"label": @"" } ],
@"healthAndSafety": @{ @"enhancedCleaning": @{ @"commercialGradeDisinfectantCleaning": @NO, @"commercialGradeDisinfectantCleaningException": @"", @"commonAreasEnhancedCleaning": @NO, @"commonAreasEnhancedCleaningException": @"", @"employeesTrainedCleaningProcedures": @NO, @"employeesTrainedCleaningProceduresException": @"", @"employeesTrainedThoroughHandWashing": @NO, @"employeesTrainedThoroughHandWashingException": @"", @"employeesWearProtectiveEquipment": @NO, @"employeesWearProtectiveEquipmentException": @"", @"guestRoomsEnhancedCleaning": @NO, @"guestRoomsEnhancedCleaningException": @"" }, @"increasedFoodSafety": @{ @"diningAreasAdditionalSanitation": @NO, @"diningAreasAdditionalSanitationException": @"", @"disposableFlatware": @NO, @"disposableFlatwareException": @"", @"foodPreparationAndServingAdditionalSafety": @NO, @"foodPreparationAndServingAdditionalSafetyException": @"", @"individualPackagedMeals": @NO, @"individualPackagedMealsException": @"", @"singleUseFoodMenus": @NO, @"singleUseFoodMenusException": @"" }, @"minimizedContact": @{ @"contactlessCheckinCheckout": @NO, @"contactlessCheckinCheckoutException": @"", @"digitalGuestRoomKeys": @NO, @"digitalGuestRoomKeysException": @"", @"housekeepingScheduledRequestOnly": @NO, @"housekeepingScheduledRequestOnlyException": @"", @"noHighTouchItemsCommonAreas": @NO, @"noHighTouchItemsCommonAreasException": @"", @"noHighTouchItemsGuestRooms": @NO, @"noHighTouchItemsGuestRoomsException": @"", @"plasticKeycardsDisinfected": @NO, @"plasticKeycardsDisinfectedException": @"", @"roomBookingsBuffer": @NO, @"roomBookingsBufferException": @"" }, @"personalProtection": @{ @"commonAreasOfferSanitizingItems": @NO, @"commonAreasOfferSanitizingItemsException": @"", @"faceMaskRequired": @NO, @"faceMaskRequiredException": @"", @"guestRoomHygieneKitsAvailable": @NO, @"guestRoomHygieneKitsAvailableException": @"", @"protectiveEquipmentAvailable": @NO, @"protectiveEquipmentAvailableException": @"" }, @"physicalDistancing": @{ @"commonAreasPhysicalDistancingArranged": @NO, @"commonAreasPhysicalDistancingArrangedException": @"", @"physicalDistancingRequired": @NO, @"physicalDistancingRequiredException": @"", @"safetyDividers": @NO, @"safetyDividersException": @"", @"sharedAreasLimitedOccupancy": @NO, @"sharedAreasLimitedOccupancyException": @"", @"wellnessAreasHavePrivateSpaces": @NO, @"wellnessAreasHavePrivateSpacesException": @"" } },
@"housekeeping": @{ @"dailyHousekeeping": @NO, @"dailyHousekeepingException": @"", @"housekeepingAvailable": @NO, @"housekeepingAvailableException": @"", @"turndownService": @NO, @"turndownServiceException": @"" },
@"metadata": @{ @"updateTime": @"" },
@"name": @"",
@"parking": @{ @"electricCarChargingStations": @NO, @"electricCarChargingStationsException": @"", @"freeParking": @NO, @"freeParkingException": @"", @"freeSelfParking": @NO, @"freeSelfParkingException": @"", @"freeValetParking": @NO, @"freeValetParkingException": @"", @"parkingAvailable": @NO, @"parkingAvailableException": @"", @"selfParkingAvailable": @NO, @"selfParkingAvailableException": @"", @"valetParkingAvailable": @NO, @"valetParkingAvailableException": @"" },
@"pets": @{ @"catsAllowed": @NO, @"catsAllowedException": @"", @"dogsAllowed": @NO, @"dogsAllowedException": @"", @"petsAllowed": @NO, @"petsAllowedException": @"", @"petsAllowedFree": @NO, @"petsAllowedFreeException": @"" },
@"policies": @{ @"allInclusiveAvailable": @NO, @"allInclusiveAvailableException": @"", @"allInclusiveOnly": @NO, @"allInclusiveOnlyException": @"", @"checkinTime": @{ @"hours": @0, @"minutes": @0, @"nanos": @0, @"seconds": @0 }, @"checkinTimeException": @"", @"checkoutTime": @{ }, @"checkoutTimeException": @"", @"kidsStayFree": @NO, @"kidsStayFreeException": @"", @"maxChildAge": @0, @"maxChildAgeException": @"", @"maxKidsStayFreeCount": @0, @"maxKidsStayFreeCountException": @"", @"paymentOptions": @{ @"cash": @NO, @"cashException": @"", @"cheque": @NO, @"chequeException": @"", @"creditCard": @NO, @"creditCardException": @"", @"debitCard": @NO, @"debitCardException": @"", @"mobileNfc": @NO, @"mobileNfcException": @"" }, @"smokeFreeProperty": @NO, @"smokeFreePropertyException": @"" },
@"pools": @{ @"adultPool": @NO, @"adultPoolException": @"", @"hotTub": @NO, @"hotTubException": @"", @"indoorPool": @NO, @"indoorPoolException": @"", @"indoorPoolsCount": @0, @"indoorPoolsCountException": @"", @"lazyRiver": @NO, @"lazyRiverException": @"", @"lifeguard": @NO, @"lifeguardException": @"", @"outdoorPool": @NO, @"outdoorPoolException": @"", @"outdoorPoolsCount": @0, @"outdoorPoolsCountException": @"", @"pool": @NO, @"poolException": @"", @"poolsCount": @0, @"poolsCountException": @"", @"wadingPool": @NO, @"wadingPoolException": @"", @"waterPark": @NO, @"waterParkException": @"", @"waterslide": @NO, @"waterslideException": @"", @"wavePool": @NO, @"wavePoolException": @"" },
@"property": @{ @"builtYear": @0, @"builtYearException": @"", @"floorsCount": @0, @"floorsCountException": @"", @"lastRenovatedYear": @0, @"lastRenovatedYearException": @"", @"roomsCount": @0, @"roomsCountException": @"" },
@"services": @{ @"baggageStorage": @NO, @"baggageStorageException": @"", @"concierge": @NO, @"conciergeException": @"", @"convenienceStore": @NO, @"convenienceStoreException": @"", @"currencyExchange": @NO, @"currencyExchangeException": @"", @"elevator": @NO, @"elevatorException": @"", @"frontDesk": @NO, @"frontDeskException": @"", @"fullServiceLaundry": @NO, @"fullServiceLaundryException": @"", @"giftShop": @NO, @"giftShopException": @"", @"languagesSpoken": @[ @{ @"languageCode": @"", @"spoken": @NO, @"spokenException": @"" } ], @"selfServiceLaundry": @NO, @"selfServiceLaundryException": @"", @"socialHour": @NO, @"socialHourException": @"", @"twentyFourHourFrontDesk": @NO, @"twentyFourHourFrontDeskException": @"", @"wakeUpCalls": @NO, @"wakeUpCallsException": @"" },
@"someUnits": @{ },
@"sustainability": @{ @"energyEfficiency": @{ @"carbonFreeEnergySources": @NO, @"carbonFreeEnergySourcesException": @"", @"energyConservationProgram": @NO, @"energyConservationProgramException": @"", @"energyEfficientHeatingAndCoolingSystems": @NO, @"energyEfficientHeatingAndCoolingSystemsException": @"", @"energyEfficientLighting": @NO, @"energyEfficientLightingException": @"", @"energySavingThermostats": @NO, @"energySavingThermostatsException": @"", @"greenBuildingDesign": @NO, @"greenBuildingDesignException": @"", @"independentOrganizationAuditsEnergyUse": @NO, @"independentOrganizationAuditsEnergyUseException": @"" }, @"sustainabilityCertifications": @{ @"breeamCertification": @"", @"breeamCertificationException": @"", @"ecoCertifications": @[ @{ @"awarded": @NO, @"awardedException": @"", @"ecoCertificate": @"" } ], @"leedCertification": @"", @"leedCertificationException": @"" }, @"sustainableSourcing": @{ @"ecoFriendlyToiletries": @NO, @"ecoFriendlyToiletriesException": @"", @"locallySourcedFoodAndBeverages": @NO, @"locallySourcedFoodAndBeveragesException": @"", @"organicCageFreeEggs": @NO, @"organicCageFreeEggsException": @"", @"organicFoodAndBeverages": @NO, @"organicFoodAndBeveragesException": @"", @"responsiblePurchasingPolicy": @NO, @"responsiblePurchasingPolicyException": @"", @"responsiblySourcesSeafood": @NO, @"responsiblySourcesSeafoodException": @"", @"veganMeals": @NO, @"veganMealsException": @"", @"vegetarianMeals": @NO, @"vegetarianMealsException": @"" }, @"wasteReduction": @{ @"compostableFoodContainersAndCutlery": @NO, @"compostableFoodContainersAndCutleryException": @"", @"compostsExcessFood": @NO, @"compostsExcessFoodException": @"", @"donatesExcessFood": @NO, @"donatesExcessFoodException": @"", @"foodWasteReductionProgram": @NO, @"foodWasteReductionProgramException": @"", @"noSingleUsePlasticStraws": @NO, @"noSingleUsePlasticStrawsException": @"", @"noSingleUsePlasticWaterBottles": @NO, @"noSingleUsePlasticWaterBottlesException": @"", @"noStyrofoamFoodContainers": @NO, @"noStyrofoamFoodContainersException": @"", @"recyclingProgram": @NO, @"recyclingProgramException": @"", @"refillableToiletryContainers": @NO, @"refillableToiletryContainersException": @"", @"safelyDisposesBatteries": @NO, @"safelyDisposesBatteriesException": @"", @"safelyDisposesElectronics": @NO, @"safelyDisposesElectronicsException": @"", @"safelyDisposesLightbulbs": @NO, @"safelyDisposesLightbulbsException": @"", @"safelyHandlesHazardousSubstances": @NO, @"safelyHandlesHazardousSubstancesException": @"", @"soapDonationProgram": @NO, @"soapDonationProgramException": @"", @"toiletryDonationProgram": @NO, @"toiletryDonationProgramException": @"", @"waterBottleFillingStations": @NO, @"waterBottleFillingStationsException": @"" }, @"waterConservation": @{ @"independentOrganizationAuditsWaterUse": @NO, @"independentOrganizationAuditsWaterUseException": @"", @"linenReuseProgram": @NO, @"linenReuseProgramException": @"", @"towelReuseProgram": @NO, @"towelReuseProgramException": @"", @"waterSavingShowers": @NO, @"waterSavingShowersException": @"", @"waterSavingSinks": @NO, @"waterSavingSinksException": @"", @"waterSavingToilets": @NO, @"waterSavingToiletsException": @"" } },
@"transportation": @{ @"airportShuttle": @NO, @"airportShuttleException": @"", @"carRentalOnProperty": @NO, @"carRentalOnPropertyException": @"", @"freeAirportShuttle": @NO, @"freeAirportShuttleException": @"", @"freePrivateCarService": @NO, @"freePrivateCarServiceException": @"", @"localShuttle": @NO, @"localShuttleException": @"", @"privateCarService": @NO, @"privateCarServiceException": @"", @"transfer": @NO, @"transferException": @"" },
@"wellness": @{ @"doctorOnCall": @NO, @"doctorOnCallException": @"", @"ellipticalMachine": @NO, @"ellipticalMachineException": @"", @"fitnessCenter": @NO, @"fitnessCenterException": @"", @"freeFitnessCenter": @NO, @"freeFitnessCenterException": @"", @"freeWeights": @NO, @"freeWeightsException": @"", @"massage": @NO, @"massageException": @"", @"salon": @NO, @"salonException": @"", @"sauna": @NO, @"saunaException": @"", @"spa": @NO, @"spaException": @"", @"treadmill": @NO, @"treadmillException": @"", @"weightMachine": @NO, @"weightMachineException": @"" } };
NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/v1/:name"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"PATCH"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/v1/:name" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n \"accessibility\": {\n \"mobilityAccessible\": false,\n \"mobilityAccessibleElevator\": false,\n \"mobilityAccessibleElevatorException\": \"\",\n \"mobilityAccessibleException\": \"\",\n \"mobilityAccessibleParking\": false,\n \"mobilityAccessibleParkingException\": \"\",\n \"mobilityAccessiblePool\": false,\n \"mobilityAccessiblePoolException\": \"\"\n },\n \"activities\": {\n \"beachAccess\": false,\n \"beachAccessException\": \"\",\n \"beachFront\": false,\n \"beachFrontException\": \"\",\n \"bicycleRental\": false,\n \"bicycleRentalException\": \"\",\n \"boutiqueStores\": false,\n \"boutiqueStoresException\": \"\",\n \"casino\": false,\n \"casinoException\": \"\",\n \"freeBicycleRental\": false,\n \"freeBicycleRentalException\": \"\",\n \"freeWatercraftRental\": false,\n \"freeWatercraftRentalException\": \"\",\n \"gameRoom\": false,\n \"gameRoomException\": \"\",\n \"golf\": false,\n \"golfException\": \"\",\n \"horsebackRiding\": false,\n \"horsebackRidingException\": \"\",\n \"nightclub\": false,\n \"nightclubException\": \"\",\n \"privateBeach\": false,\n \"privateBeachException\": \"\",\n \"scuba\": false,\n \"scubaException\": \"\",\n \"snorkeling\": false,\n \"snorkelingException\": \"\",\n \"tennis\": false,\n \"tennisException\": \"\",\n \"waterSkiing\": false,\n \"waterSkiingException\": \"\",\n \"watercraftRental\": false,\n \"watercraftRentalException\": \"\"\n },\n \"allUnits\": {\n \"bungalowOrVilla\": false,\n \"bungalowOrVillaException\": \"\",\n \"connectingUnitAvailable\": false,\n \"connectingUnitAvailableException\": \"\",\n \"executiveFloor\": false,\n \"executiveFloorException\": \"\",\n \"maxAdultOccupantsCount\": 0,\n \"maxAdultOccupantsCountException\": \"\",\n \"maxChildOccupantsCount\": 0,\n \"maxChildOccupantsCountException\": \"\",\n \"maxOccupantsCount\": 0,\n \"maxOccupantsCountException\": \"\",\n \"privateHome\": false,\n \"privateHomeException\": \"\",\n \"suite\": false,\n \"suiteException\": \"\",\n \"tier\": \"\",\n \"tierException\": \"\",\n \"totalLivingAreas\": {\n \"accessibility\": {\n \"adaCompliantUnit\": false,\n \"adaCompliantUnitException\": \"\",\n \"hearingAccessibleDoorbell\": false,\n \"hearingAccessibleDoorbellException\": \"\",\n \"hearingAccessibleFireAlarm\": false,\n \"hearingAccessibleFireAlarmException\": \"\",\n \"hearingAccessibleUnit\": false,\n \"hearingAccessibleUnitException\": \"\",\n \"mobilityAccessibleBathtub\": false,\n \"mobilityAccessibleBathtubException\": \"\",\n \"mobilityAccessibleShower\": false,\n \"mobilityAccessibleShowerException\": \"\",\n \"mobilityAccessibleToilet\": false,\n \"mobilityAccessibleToiletException\": \"\",\n \"mobilityAccessibleUnit\": false,\n \"mobilityAccessibleUnitException\": \"\"\n },\n \"eating\": {\n \"coffeeMaker\": false,\n \"coffeeMakerException\": \"\",\n \"cookware\": false,\n \"cookwareException\": \"\",\n \"dishwasher\": false,\n \"dishwasherException\": \"\",\n \"indoorGrill\": false,\n \"indoorGrillException\": \"\",\n \"kettle\": false,\n \"kettleException\": \"\",\n \"kitchenAvailable\": false,\n \"kitchenAvailableException\": \"\",\n \"microwave\": false,\n \"microwaveException\": \"\",\n \"minibar\": false,\n \"minibarException\": \"\",\n \"outdoorGrill\": false,\n \"outdoorGrillException\": \"\",\n \"oven\": false,\n \"ovenException\": \"\",\n \"refrigerator\": false,\n \"refrigeratorException\": \"\",\n \"sink\": false,\n \"sinkException\": \"\",\n \"snackbar\": false,\n \"snackbarException\": \"\",\n \"stove\": false,\n \"stoveException\": \"\",\n \"teaStation\": false,\n \"teaStationException\": \"\",\n \"toaster\": false,\n \"toasterException\": \"\"\n },\n \"features\": {\n \"airConditioning\": false,\n \"airConditioningException\": \"\",\n \"bathtub\": false,\n \"bathtubException\": \"\",\n \"bidet\": false,\n \"bidetException\": \"\",\n \"dryer\": false,\n \"dryerException\": \"\",\n \"electronicRoomKey\": false,\n \"electronicRoomKeyException\": \"\",\n \"fireplace\": false,\n \"fireplaceException\": \"\",\n \"hairdryer\": false,\n \"hairdryerException\": \"\",\n \"heating\": false,\n \"heatingException\": \"\",\n \"inunitSafe\": false,\n \"inunitSafeException\": \"\",\n \"inunitWifiAvailable\": false,\n \"inunitWifiAvailableException\": \"\",\n \"ironingEquipment\": false,\n \"ironingEquipmentException\": \"\",\n \"payPerViewMovies\": false,\n \"payPerViewMoviesException\": \"\",\n \"privateBathroom\": false,\n \"privateBathroomException\": \"\",\n \"shower\": false,\n \"showerException\": \"\",\n \"toilet\": false,\n \"toiletException\": \"\",\n \"tv\": false,\n \"tvCasting\": false,\n \"tvCastingException\": \"\",\n \"tvException\": \"\",\n \"tvStreaming\": false,\n \"tvStreamingException\": \"\",\n \"universalPowerAdapters\": false,\n \"universalPowerAdaptersException\": \"\",\n \"washer\": false,\n \"washerException\": \"\"\n },\n \"layout\": {\n \"balcony\": false,\n \"balconyException\": \"\",\n \"livingAreaSqMeters\": \"\",\n \"livingAreaSqMetersException\": \"\",\n \"loft\": false,\n \"loftException\": \"\",\n \"nonSmoking\": false,\n \"nonSmokingException\": \"\",\n \"patio\": false,\n \"patioException\": \"\",\n \"stairs\": false,\n \"stairsException\": \"\"\n },\n \"sleeping\": {\n \"bedsCount\": 0,\n \"bedsCountException\": \"\",\n \"bunkBedsCount\": 0,\n \"bunkBedsCountException\": \"\",\n \"cribsCount\": 0,\n \"cribsCountException\": \"\",\n \"doubleBedsCount\": 0,\n \"doubleBedsCountException\": \"\",\n \"featherPillows\": false,\n \"featherPillowsException\": \"\",\n \"hypoallergenicBedding\": false,\n \"hypoallergenicBeddingException\": \"\",\n \"kingBedsCount\": 0,\n \"kingBedsCountException\": \"\",\n \"memoryFoamPillows\": false,\n \"memoryFoamPillowsException\": \"\",\n \"otherBedsCount\": 0,\n \"otherBedsCountException\": \"\",\n \"queenBedsCount\": 0,\n \"queenBedsCountException\": \"\",\n \"rollAwayBedsCount\": 0,\n \"rollAwayBedsCountException\": \"\",\n \"singleOrTwinBedsCount\": 0,\n \"singleOrTwinBedsCountException\": \"\",\n \"sofaBedsCount\": 0,\n \"sofaBedsCountException\": \"\",\n \"syntheticPillows\": false,\n \"syntheticPillowsException\": \"\"\n }\n },\n \"views\": {\n \"beachView\": false,\n \"beachViewException\": \"\",\n \"cityView\": false,\n \"cityViewException\": \"\",\n \"gardenView\": false,\n \"gardenViewException\": \"\",\n \"lakeView\": false,\n \"lakeViewException\": \"\",\n \"landmarkView\": false,\n \"landmarkViewException\": \"\",\n \"oceanView\": false,\n \"oceanViewException\": \"\",\n \"poolView\": false,\n \"poolViewException\": \"\",\n \"valleyView\": false,\n \"valleyViewException\": \"\"\n }\n },\n \"business\": {\n \"businessCenter\": false,\n \"businessCenterException\": \"\",\n \"meetingRooms\": false,\n \"meetingRoomsCount\": 0,\n \"meetingRoomsCountException\": \"\",\n \"meetingRoomsException\": \"\"\n },\n \"commonLivingArea\": {},\n \"connectivity\": {\n \"freeWifi\": false,\n \"freeWifiException\": \"\",\n \"publicAreaWifiAvailable\": false,\n \"publicAreaWifiAvailableException\": \"\",\n \"publicInternetTerminal\": false,\n \"publicInternetTerminalException\": \"\",\n \"wifiAvailable\": false,\n \"wifiAvailableException\": \"\"\n },\n \"families\": {\n \"babysitting\": false,\n \"babysittingException\": \"\",\n \"kidsActivities\": false,\n \"kidsActivitiesException\": \"\",\n \"kidsClub\": false,\n \"kidsClubException\": \"\",\n \"kidsFriendly\": false,\n \"kidsFriendlyException\": \"\"\n },\n \"foodAndDrink\": {\n \"bar\": false,\n \"barException\": \"\",\n \"breakfastAvailable\": false,\n \"breakfastAvailableException\": \"\",\n \"breakfastBuffet\": false,\n \"breakfastBuffetException\": \"\",\n \"buffet\": false,\n \"buffetException\": \"\",\n \"dinnerBuffet\": false,\n \"dinnerBuffetException\": \"\",\n \"freeBreakfast\": false,\n \"freeBreakfastException\": \"\",\n \"restaurant\": false,\n \"restaurantException\": \"\",\n \"restaurantsCount\": 0,\n \"restaurantsCountException\": \"\",\n \"roomService\": false,\n \"roomServiceException\": \"\",\n \"tableService\": false,\n \"tableServiceException\": \"\",\n \"twentyFourHourRoomService\": false,\n \"twentyFourHourRoomServiceException\": \"\",\n \"vendingMachine\": false,\n \"vendingMachineException\": \"\"\n },\n \"guestUnits\": [\n {\n \"codes\": [],\n \"features\": {},\n \"label\": \"\"\n }\n ],\n \"healthAndSafety\": {\n \"enhancedCleaning\": {\n \"commercialGradeDisinfectantCleaning\": false,\n \"commercialGradeDisinfectantCleaningException\": \"\",\n \"commonAreasEnhancedCleaning\": false,\n \"commonAreasEnhancedCleaningException\": \"\",\n \"employeesTrainedCleaningProcedures\": false,\n \"employeesTrainedCleaningProceduresException\": \"\",\n \"employeesTrainedThoroughHandWashing\": false,\n \"employeesTrainedThoroughHandWashingException\": \"\",\n \"employeesWearProtectiveEquipment\": false,\n \"employeesWearProtectiveEquipmentException\": \"\",\n \"guestRoomsEnhancedCleaning\": false,\n \"guestRoomsEnhancedCleaningException\": \"\"\n },\n \"increasedFoodSafety\": {\n \"diningAreasAdditionalSanitation\": false,\n \"diningAreasAdditionalSanitationException\": \"\",\n \"disposableFlatware\": false,\n \"disposableFlatwareException\": \"\",\n \"foodPreparationAndServingAdditionalSafety\": false,\n \"foodPreparationAndServingAdditionalSafetyException\": \"\",\n \"individualPackagedMeals\": false,\n \"individualPackagedMealsException\": \"\",\n \"singleUseFoodMenus\": false,\n \"singleUseFoodMenusException\": \"\"\n },\n \"minimizedContact\": {\n \"contactlessCheckinCheckout\": false,\n \"contactlessCheckinCheckoutException\": \"\",\n \"digitalGuestRoomKeys\": false,\n \"digitalGuestRoomKeysException\": \"\",\n \"housekeepingScheduledRequestOnly\": false,\n \"housekeepingScheduledRequestOnlyException\": \"\",\n \"noHighTouchItemsCommonAreas\": false,\n \"noHighTouchItemsCommonAreasException\": \"\",\n \"noHighTouchItemsGuestRooms\": false,\n \"noHighTouchItemsGuestRoomsException\": \"\",\n \"plasticKeycardsDisinfected\": false,\n \"plasticKeycardsDisinfectedException\": \"\",\n \"roomBookingsBuffer\": false,\n \"roomBookingsBufferException\": \"\"\n },\n \"personalProtection\": {\n \"commonAreasOfferSanitizingItems\": false,\n \"commonAreasOfferSanitizingItemsException\": \"\",\n \"faceMaskRequired\": false,\n \"faceMaskRequiredException\": \"\",\n \"guestRoomHygieneKitsAvailable\": false,\n \"guestRoomHygieneKitsAvailableException\": \"\",\n \"protectiveEquipmentAvailable\": false,\n \"protectiveEquipmentAvailableException\": \"\"\n },\n \"physicalDistancing\": {\n \"commonAreasPhysicalDistancingArranged\": false,\n \"commonAreasPhysicalDistancingArrangedException\": \"\",\n \"physicalDistancingRequired\": false,\n \"physicalDistancingRequiredException\": \"\",\n \"safetyDividers\": false,\n \"safetyDividersException\": \"\",\n \"sharedAreasLimitedOccupancy\": false,\n \"sharedAreasLimitedOccupancyException\": \"\",\n \"wellnessAreasHavePrivateSpaces\": false,\n \"wellnessAreasHavePrivateSpacesException\": \"\"\n }\n },\n \"housekeeping\": {\n \"dailyHousekeeping\": false,\n \"dailyHousekeepingException\": \"\",\n \"housekeepingAvailable\": false,\n \"housekeepingAvailableException\": \"\",\n \"turndownService\": false,\n \"turndownServiceException\": \"\"\n },\n \"metadata\": {\n \"updateTime\": \"\"\n },\n \"name\": \"\",\n \"parking\": {\n \"electricCarChargingStations\": false,\n \"electricCarChargingStationsException\": \"\",\n \"freeParking\": false,\n \"freeParkingException\": \"\",\n \"freeSelfParking\": false,\n \"freeSelfParkingException\": \"\",\n \"freeValetParking\": false,\n \"freeValetParkingException\": \"\",\n \"parkingAvailable\": false,\n \"parkingAvailableException\": \"\",\n \"selfParkingAvailable\": false,\n \"selfParkingAvailableException\": \"\",\n \"valetParkingAvailable\": false,\n \"valetParkingAvailableException\": \"\"\n },\n \"pets\": {\n \"catsAllowed\": false,\n \"catsAllowedException\": \"\",\n \"dogsAllowed\": false,\n \"dogsAllowedException\": \"\",\n \"petsAllowed\": false,\n \"petsAllowedException\": \"\",\n \"petsAllowedFree\": false,\n \"petsAllowedFreeException\": \"\"\n },\n \"policies\": {\n \"allInclusiveAvailable\": false,\n \"allInclusiveAvailableException\": \"\",\n \"allInclusiveOnly\": false,\n \"allInclusiveOnlyException\": \"\",\n \"checkinTime\": {\n \"hours\": 0,\n \"minutes\": 0,\n \"nanos\": 0,\n \"seconds\": 0\n },\n \"checkinTimeException\": \"\",\n \"checkoutTime\": {},\n \"checkoutTimeException\": \"\",\n \"kidsStayFree\": false,\n \"kidsStayFreeException\": \"\",\n \"maxChildAge\": 0,\n \"maxChildAgeException\": \"\",\n \"maxKidsStayFreeCount\": 0,\n \"maxKidsStayFreeCountException\": \"\",\n \"paymentOptions\": {\n \"cash\": false,\n \"cashException\": \"\",\n \"cheque\": false,\n \"chequeException\": \"\",\n \"creditCard\": false,\n \"creditCardException\": \"\",\n \"debitCard\": false,\n \"debitCardException\": \"\",\n \"mobileNfc\": false,\n \"mobileNfcException\": \"\"\n },\n \"smokeFreeProperty\": false,\n \"smokeFreePropertyException\": \"\"\n },\n \"pools\": {\n \"adultPool\": false,\n \"adultPoolException\": \"\",\n \"hotTub\": false,\n \"hotTubException\": \"\",\n \"indoorPool\": false,\n \"indoorPoolException\": \"\",\n \"indoorPoolsCount\": 0,\n \"indoorPoolsCountException\": \"\",\n \"lazyRiver\": false,\n \"lazyRiverException\": \"\",\n \"lifeguard\": false,\n \"lifeguardException\": \"\",\n \"outdoorPool\": false,\n \"outdoorPoolException\": \"\",\n \"outdoorPoolsCount\": 0,\n \"outdoorPoolsCountException\": \"\",\n \"pool\": false,\n \"poolException\": \"\",\n \"poolsCount\": 0,\n \"poolsCountException\": \"\",\n \"wadingPool\": false,\n \"wadingPoolException\": \"\",\n \"waterPark\": false,\n \"waterParkException\": \"\",\n \"waterslide\": false,\n \"waterslideException\": \"\",\n \"wavePool\": false,\n \"wavePoolException\": \"\"\n },\n \"property\": {\n \"builtYear\": 0,\n \"builtYearException\": \"\",\n \"floorsCount\": 0,\n \"floorsCountException\": \"\",\n \"lastRenovatedYear\": 0,\n \"lastRenovatedYearException\": \"\",\n \"roomsCount\": 0,\n \"roomsCountException\": \"\"\n },\n \"services\": {\n \"baggageStorage\": false,\n \"baggageStorageException\": \"\",\n \"concierge\": false,\n \"conciergeException\": \"\",\n \"convenienceStore\": false,\n \"convenienceStoreException\": \"\",\n \"currencyExchange\": false,\n \"currencyExchangeException\": \"\",\n \"elevator\": false,\n \"elevatorException\": \"\",\n \"frontDesk\": false,\n \"frontDeskException\": \"\",\n \"fullServiceLaundry\": false,\n \"fullServiceLaundryException\": \"\",\n \"giftShop\": false,\n \"giftShopException\": \"\",\n \"languagesSpoken\": [\n {\n \"languageCode\": \"\",\n \"spoken\": false,\n \"spokenException\": \"\"\n }\n ],\n \"selfServiceLaundry\": false,\n \"selfServiceLaundryException\": \"\",\n \"socialHour\": false,\n \"socialHourException\": \"\",\n \"twentyFourHourFrontDesk\": false,\n \"twentyFourHourFrontDeskException\": \"\",\n \"wakeUpCalls\": false,\n \"wakeUpCallsException\": \"\"\n },\n \"someUnits\": {},\n \"sustainability\": {\n \"energyEfficiency\": {\n \"carbonFreeEnergySources\": false,\n \"carbonFreeEnergySourcesException\": \"\",\n \"energyConservationProgram\": false,\n \"energyConservationProgramException\": \"\",\n \"energyEfficientHeatingAndCoolingSystems\": false,\n \"energyEfficientHeatingAndCoolingSystemsException\": \"\",\n \"energyEfficientLighting\": false,\n \"energyEfficientLightingException\": \"\",\n \"energySavingThermostats\": false,\n \"energySavingThermostatsException\": \"\",\n \"greenBuildingDesign\": false,\n \"greenBuildingDesignException\": \"\",\n \"independentOrganizationAuditsEnergyUse\": false,\n \"independentOrganizationAuditsEnergyUseException\": \"\"\n },\n \"sustainabilityCertifications\": {\n \"breeamCertification\": \"\",\n \"breeamCertificationException\": \"\",\n \"ecoCertifications\": [\n {\n \"awarded\": false,\n \"awardedException\": \"\",\n \"ecoCertificate\": \"\"\n }\n ],\n \"leedCertification\": \"\",\n \"leedCertificationException\": \"\"\n },\n \"sustainableSourcing\": {\n \"ecoFriendlyToiletries\": false,\n \"ecoFriendlyToiletriesException\": \"\",\n \"locallySourcedFoodAndBeverages\": false,\n \"locallySourcedFoodAndBeveragesException\": \"\",\n \"organicCageFreeEggs\": false,\n \"organicCageFreeEggsException\": \"\",\n \"organicFoodAndBeverages\": false,\n \"organicFoodAndBeveragesException\": \"\",\n \"responsiblePurchasingPolicy\": false,\n \"responsiblePurchasingPolicyException\": \"\",\n \"responsiblySourcesSeafood\": false,\n \"responsiblySourcesSeafoodException\": \"\",\n \"veganMeals\": false,\n \"veganMealsException\": \"\",\n \"vegetarianMeals\": false,\n \"vegetarianMealsException\": \"\"\n },\n \"wasteReduction\": {\n \"compostableFoodContainersAndCutlery\": false,\n \"compostableFoodContainersAndCutleryException\": \"\",\n \"compostsExcessFood\": false,\n \"compostsExcessFoodException\": \"\",\n \"donatesExcessFood\": false,\n \"donatesExcessFoodException\": \"\",\n \"foodWasteReductionProgram\": false,\n \"foodWasteReductionProgramException\": \"\",\n \"noSingleUsePlasticStraws\": false,\n \"noSingleUsePlasticStrawsException\": \"\",\n \"noSingleUsePlasticWaterBottles\": false,\n \"noSingleUsePlasticWaterBottlesException\": \"\",\n \"noStyrofoamFoodContainers\": false,\n \"noStyrofoamFoodContainersException\": \"\",\n \"recyclingProgram\": false,\n \"recyclingProgramException\": \"\",\n \"refillableToiletryContainers\": false,\n \"refillableToiletryContainersException\": \"\",\n \"safelyDisposesBatteries\": false,\n \"safelyDisposesBatteriesException\": \"\",\n \"safelyDisposesElectronics\": false,\n \"safelyDisposesElectronicsException\": \"\",\n \"safelyDisposesLightbulbs\": false,\n \"safelyDisposesLightbulbsException\": \"\",\n \"safelyHandlesHazardousSubstances\": false,\n \"safelyHandlesHazardousSubstancesException\": \"\",\n \"soapDonationProgram\": false,\n \"soapDonationProgramException\": \"\",\n \"toiletryDonationProgram\": false,\n \"toiletryDonationProgramException\": \"\",\n \"waterBottleFillingStations\": false,\n \"waterBottleFillingStationsException\": \"\"\n },\n \"waterConservation\": {\n \"independentOrganizationAuditsWaterUse\": false,\n \"independentOrganizationAuditsWaterUseException\": \"\",\n \"linenReuseProgram\": false,\n \"linenReuseProgramException\": \"\",\n \"towelReuseProgram\": false,\n \"towelReuseProgramException\": \"\",\n \"waterSavingShowers\": false,\n \"waterSavingShowersException\": \"\",\n \"waterSavingSinks\": false,\n \"waterSavingSinksException\": \"\",\n \"waterSavingToilets\": false,\n \"waterSavingToiletsException\": \"\"\n }\n },\n \"transportation\": {\n \"airportShuttle\": false,\n \"airportShuttleException\": \"\",\n \"carRentalOnProperty\": false,\n \"carRentalOnPropertyException\": \"\",\n \"freeAirportShuttle\": false,\n \"freeAirportShuttleException\": \"\",\n \"freePrivateCarService\": false,\n \"freePrivateCarServiceException\": \"\",\n \"localShuttle\": false,\n \"localShuttleException\": \"\",\n \"privateCarService\": false,\n \"privateCarServiceException\": \"\",\n \"transfer\": false,\n \"transferException\": \"\"\n },\n \"wellness\": {\n \"doctorOnCall\": false,\n \"doctorOnCallException\": \"\",\n \"ellipticalMachine\": false,\n \"ellipticalMachineException\": \"\",\n \"fitnessCenter\": false,\n \"fitnessCenterException\": \"\",\n \"freeFitnessCenter\": false,\n \"freeFitnessCenterException\": \"\",\n \"freeWeights\": false,\n \"freeWeightsException\": \"\",\n \"massage\": false,\n \"massageException\": \"\",\n \"salon\": false,\n \"salonException\": \"\",\n \"sauna\": false,\n \"saunaException\": \"\",\n \"spa\": false,\n \"spaException\": \"\",\n \"treadmill\": false,\n \"treadmillException\": \"\",\n \"weightMachine\": false,\n \"weightMachineException\": \"\"\n }\n}" in
Client.call ~headers ~body `PATCH uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/v1/:name",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'accessibility' => [
'mobilityAccessible' => null,
'mobilityAccessibleElevator' => null,
'mobilityAccessibleElevatorException' => '',
'mobilityAccessibleException' => '',
'mobilityAccessibleParking' => null,
'mobilityAccessibleParkingException' => '',
'mobilityAccessiblePool' => null,
'mobilityAccessiblePoolException' => ''
],
'activities' => [
'beachAccess' => null,
'beachAccessException' => '',
'beachFront' => null,
'beachFrontException' => '',
'bicycleRental' => null,
'bicycleRentalException' => '',
'boutiqueStores' => null,
'boutiqueStoresException' => '',
'casino' => null,
'casinoException' => '',
'freeBicycleRental' => null,
'freeBicycleRentalException' => '',
'freeWatercraftRental' => null,
'freeWatercraftRentalException' => '',
'gameRoom' => null,
'gameRoomException' => '',
'golf' => null,
'golfException' => '',
'horsebackRiding' => null,
'horsebackRidingException' => '',
'nightclub' => null,
'nightclubException' => '',
'privateBeach' => null,
'privateBeachException' => '',
'scuba' => null,
'scubaException' => '',
'snorkeling' => null,
'snorkelingException' => '',
'tennis' => null,
'tennisException' => '',
'waterSkiing' => null,
'waterSkiingException' => '',
'watercraftRental' => null,
'watercraftRentalException' => ''
],
'allUnits' => [
'bungalowOrVilla' => null,
'bungalowOrVillaException' => '',
'connectingUnitAvailable' => null,
'connectingUnitAvailableException' => '',
'executiveFloor' => null,
'executiveFloorException' => '',
'maxAdultOccupantsCount' => 0,
'maxAdultOccupantsCountException' => '',
'maxChildOccupantsCount' => 0,
'maxChildOccupantsCountException' => '',
'maxOccupantsCount' => 0,
'maxOccupantsCountException' => '',
'privateHome' => null,
'privateHomeException' => '',
'suite' => null,
'suiteException' => '',
'tier' => '',
'tierException' => '',
'totalLivingAreas' => [
'accessibility' => [
'adaCompliantUnit' => null,
'adaCompliantUnitException' => '',
'hearingAccessibleDoorbell' => null,
'hearingAccessibleDoorbellException' => '',
'hearingAccessibleFireAlarm' => null,
'hearingAccessibleFireAlarmException' => '',
'hearingAccessibleUnit' => null,
'hearingAccessibleUnitException' => '',
'mobilityAccessibleBathtub' => null,
'mobilityAccessibleBathtubException' => '',
'mobilityAccessibleShower' => null,
'mobilityAccessibleShowerException' => '',
'mobilityAccessibleToilet' => null,
'mobilityAccessibleToiletException' => '',
'mobilityAccessibleUnit' => null,
'mobilityAccessibleUnitException' => ''
],
'eating' => [
'coffeeMaker' => null,
'coffeeMakerException' => '',
'cookware' => null,
'cookwareException' => '',
'dishwasher' => null,
'dishwasherException' => '',
'indoorGrill' => null,
'indoorGrillException' => '',
'kettle' => null,
'kettleException' => '',
'kitchenAvailable' => null,
'kitchenAvailableException' => '',
'microwave' => null,
'microwaveException' => '',
'minibar' => null,
'minibarException' => '',
'outdoorGrill' => null,
'outdoorGrillException' => '',
'oven' => null,
'ovenException' => '',
'refrigerator' => null,
'refrigeratorException' => '',
'sink' => null,
'sinkException' => '',
'snackbar' => null,
'snackbarException' => '',
'stove' => null,
'stoveException' => '',
'teaStation' => null,
'teaStationException' => '',
'toaster' => null,
'toasterException' => ''
],
'features' => [
'airConditioning' => null,
'airConditioningException' => '',
'bathtub' => null,
'bathtubException' => '',
'bidet' => null,
'bidetException' => '',
'dryer' => null,
'dryerException' => '',
'electronicRoomKey' => null,
'electronicRoomKeyException' => '',
'fireplace' => null,
'fireplaceException' => '',
'hairdryer' => null,
'hairdryerException' => '',
'heating' => null,
'heatingException' => '',
'inunitSafe' => null,
'inunitSafeException' => '',
'inunitWifiAvailable' => null,
'inunitWifiAvailableException' => '',
'ironingEquipment' => null,
'ironingEquipmentException' => '',
'payPerViewMovies' => null,
'payPerViewMoviesException' => '',
'privateBathroom' => null,
'privateBathroomException' => '',
'shower' => null,
'showerException' => '',
'toilet' => null,
'toiletException' => '',
'tv' => null,
'tvCasting' => null,
'tvCastingException' => '',
'tvException' => '',
'tvStreaming' => null,
'tvStreamingException' => '',
'universalPowerAdapters' => null,
'universalPowerAdaptersException' => '',
'washer' => null,
'washerException' => ''
],
'layout' => [
'balcony' => null,
'balconyException' => '',
'livingAreaSqMeters' => '',
'livingAreaSqMetersException' => '',
'loft' => null,
'loftException' => '',
'nonSmoking' => null,
'nonSmokingException' => '',
'patio' => null,
'patioException' => '',
'stairs' => null,
'stairsException' => ''
],
'sleeping' => [
'bedsCount' => 0,
'bedsCountException' => '',
'bunkBedsCount' => 0,
'bunkBedsCountException' => '',
'cribsCount' => 0,
'cribsCountException' => '',
'doubleBedsCount' => 0,
'doubleBedsCountException' => '',
'featherPillows' => null,
'featherPillowsException' => '',
'hypoallergenicBedding' => null,
'hypoallergenicBeddingException' => '',
'kingBedsCount' => 0,
'kingBedsCountException' => '',
'memoryFoamPillows' => null,
'memoryFoamPillowsException' => '',
'otherBedsCount' => 0,
'otherBedsCountException' => '',
'queenBedsCount' => 0,
'queenBedsCountException' => '',
'rollAwayBedsCount' => 0,
'rollAwayBedsCountException' => '',
'singleOrTwinBedsCount' => 0,
'singleOrTwinBedsCountException' => '',
'sofaBedsCount' => 0,
'sofaBedsCountException' => '',
'syntheticPillows' => null,
'syntheticPillowsException' => ''
]
],
'views' => [
'beachView' => null,
'beachViewException' => '',
'cityView' => null,
'cityViewException' => '',
'gardenView' => null,
'gardenViewException' => '',
'lakeView' => null,
'lakeViewException' => '',
'landmarkView' => null,
'landmarkViewException' => '',
'oceanView' => null,
'oceanViewException' => '',
'poolView' => null,
'poolViewException' => '',
'valleyView' => null,
'valleyViewException' => ''
]
],
'business' => [
'businessCenter' => null,
'businessCenterException' => '',
'meetingRooms' => null,
'meetingRoomsCount' => 0,
'meetingRoomsCountException' => '',
'meetingRoomsException' => ''
],
'commonLivingArea' => [
],
'connectivity' => [
'freeWifi' => null,
'freeWifiException' => '',
'publicAreaWifiAvailable' => null,
'publicAreaWifiAvailableException' => '',
'publicInternetTerminal' => null,
'publicInternetTerminalException' => '',
'wifiAvailable' => null,
'wifiAvailableException' => ''
],
'families' => [
'babysitting' => null,
'babysittingException' => '',
'kidsActivities' => null,
'kidsActivitiesException' => '',
'kidsClub' => null,
'kidsClubException' => '',
'kidsFriendly' => null,
'kidsFriendlyException' => ''
],
'foodAndDrink' => [
'bar' => null,
'barException' => '',
'breakfastAvailable' => null,
'breakfastAvailableException' => '',
'breakfastBuffet' => null,
'breakfastBuffetException' => '',
'buffet' => null,
'buffetException' => '',
'dinnerBuffet' => null,
'dinnerBuffetException' => '',
'freeBreakfast' => null,
'freeBreakfastException' => '',
'restaurant' => null,
'restaurantException' => '',
'restaurantsCount' => 0,
'restaurantsCountException' => '',
'roomService' => null,
'roomServiceException' => '',
'tableService' => null,
'tableServiceException' => '',
'twentyFourHourRoomService' => null,
'twentyFourHourRoomServiceException' => '',
'vendingMachine' => null,
'vendingMachineException' => ''
],
'guestUnits' => [
[
'codes' => [
],
'features' => [
],
'label' => ''
]
],
'healthAndSafety' => [
'enhancedCleaning' => [
'commercialGradeDisinfectantCleaning' => null,
'commercialGradeDisinfectantCleaningException' => '',
'commonAreasEnhancedCleaning' => null,
'commonAreasEnhancedCleaningException' => '',
'employeesTrainedCleaningProcedures' => null,
'employeesTrainedCleaningProceduresException' => '',
'employeesTrainedThoroughHandWashing' => null,
'employeesTrainedThoroughHandWashingException' => '',
'employeesWearProtectiveEquipment' => null,
'employeesWearProtectiveEquipmentException' => '',
'guestRoomsEnhancedCleaning' => null,
'guestRoomsEnhancedCleaningException' => ''
],
'increasedFoodSafety' => [
'diningAreasAdditionalSanitation' => null,
'diningAreasAdditionalSanitationException' => '',
'disposableFlatware' => null,
'disposableFlatwareException' => '',
'foodPreparationAndServingAdditionalSafety' => null,
'foodPreparationAndServingAdditionalSafetyException' => '',
'individualPackagedMeals' => null,
'individualPackagedMealsException' => '',
'singleUseFoodMenus' => null,
'singleUseFoodMenusException' => ''
],
'minimizedContact' => [
'contactlessCheckinCheckout' => null,
'contactlessCheckinCheckoutException' => '',
'digitalGuestRoomKeys' => null,
'digitalGuestRoomKeysException' => '',
'housekeepingScheduledRequestOnly' => null,
'housekeepingScheduledRequestOnlyException' => '',
'noHighTouchItemsCommonAreas' => null,
'noHighTouchItemsCommonAreasException' => '',
'noHighTouchItemsGuestRooms' => null,
'noHighTouchItemsGuestRoomsException' => '',
'plasticKeycardsDisinfected' => null,
'plasticKeycardsDisinfectedException' => '',
'roomBookingsBuffer' => null,
'roomBookingsBufferException' => ''
],
'personalProtection' => [
'commonAreasOfferSanitizingItems' => null,
'commonAreasOfferSanitizingItemsException' => '',
'faceMaskRequired' => null,
'faceMaskRequiredException' => '',
'guestRoomHygieneKitsAvailable' => null,
'guestRoomHygieneKitsAvailableException' => '',
'protectiveEquipmentAvailable' => null,
'protectiveEquipmentAvailableException' => ''
],
'physicalDistancing' => [
'commonAreasPhysicalDistancingArranged' => null,
'commonAreasPhysicalDistancingArrangedException' => '',
'physicalDistancingRequired' => null,
'physicalDistancingRequiredException' => '',
'safetyDividers' => null,
'safetyDividersException' => '',
'sharedAreasLimitedOccupancy' => null,
'sharedAreasLimitedOccupancyException' => '',
'wellnessAreasHavePrivateSpaces' => null,
'wellnessAreasHavePrivateSpacesException' => ''
]
],
'housekeeping' => [
'dailyHousekeeping' => null,
'dailyHousekeepingException' => '',
'housekeepingAvailable' => null,
'housekeepingAvailableException' => '',
'turndownService' => null,
'turndownServiceException' => ''
],
'metadata' => [
'updateTime' => ''
],
'name' => '',
'parking' => [
'electricCarChargingStations' => null,
'electricCarChargingStationsException' => '',
'freeParking' => null,
'freeParkingException' => '',
'freeSelfParking' => null,
'freeSelfParkingException' => '',
'freeValetParking' => null,
'freeValetParkingException' => '',
'parkingAvailable' => null,
'parkingAvailableException' => '',
'selfParkingAvailable' => null,
'selfParkingAvailableException' => '',
'valetParkingAvailable' => null,
'valetParkingAvailableException' => ''
],
'pets' => [
'catsAllowed' => null,
'catsAllowedException' => '',
'dogsAllowed' => null,
'dogsAllowedException' => '',
'petsAllowed' => null,
'petsAllowedException' => '',
'petsAllowedFree' => null,
'petsAllowedFreeException' => ''
],
'policies' => [
'allInclusiveAvailable' => null,
'allInclusiveAvailableException' => '',
'allInclusiveOnly' => null,
'allInclusiveOnlyException' => '',
'checkinTime' => [
'hours' => 0,
'minutes' => 0,
'nanos' => 0,
'seconds' => 0
],
'checkinTimeException' => '',
'checkoutTime' => [
],
'checkoutTimeException' => '',
'kidsStayFree' => null,
'kidsStayFreeException' => '',
'maxChildAge' => 0,
'maxChildAgeException' => '',
'maxKidsStayFreeCount' => 0,
'maxKidsStayFreeCountException' => '',
'paymentOptions' => [
'cash' => null,
'cashException' => '',
'cheque' => null,
'chequeException' => '',
'creditCard' => null,
'creditCardException' => '',
'debitCard' => null,
'debitCardException' => '',
'mobileNfc' => null,
'mobileNfcException' => ''
],
'smokeFreeProperty' => null,
'smokeFreePropertyException' => ''
],
'pools' => [
'adultPool' => null,
'adultPoolException' => '',
'hotTub' => null,
'hotTubException' => '',
'indoorPool' => null,
'indoorPoolException' => '',
'indoorPoolsCount' => 0,
'indoorPoolsCountException' => '',
'lazyRiver' => null,
'lazyRiverException' => '',
'lifeguard' => null,
'lifeguardException' => '',
'outdoorPool' => null,
'outdoorPoolException' => '',
'outdoorPoolsCount' => 0,
'outdoorPoolsCountException' => '',
'pool' => null,
'poolException' => '',
'poolsCount' => 0,
'poolsCountException' => '',
'wadingPool' => null,
'wadingPoolException' => '',
'waterPark' => null,
'waterParkException' => '',
'waterslide' => null,
'waterslideException' => '',
'wavePool' => null,
'wavePoolException' => ''
],
'property' => [
'builtYear' => 0,
'builtYearException' => '',
'floorsCount' => 0,
'floorsCountException' => '',
'lastRenovatedYear' => 0,
'lastRenovatedYearException' => '',
'roomsCount' => 0,
'roomsCountException' => ''
],
'services' => [
'baggageStorage' => null,
'baggageStorageException' => '',
'concierge' => null,
'conciergeException' => '',
'convenienceStore' => null,
'convenienceStoreException' => '',
'currencyExchange' => null,
'currencyExchangeException' => '',
'elevator' => null,
'elevatorException' => '',
'frontDesk' => null,
'frontDeskException' => '',
'fullServiceLaundry' => null,
'fullServiceLaundryException' => '',
'giftShop' => null,
'giftShopException' => '',
'languagesSpoken' => [
[
'languageCode' => '',
'spoken' => null,
'spokenException' => ''
]
],
'selfServiceLaundry' => null,
'selfServiceLaundryException' => '',
'socialHour' => null,
'socialHourException' => '',
'twentyFourHourFrontDesk' => null,
'twentyFourHourFrontDeskException' => '',
'wakeUpCalls' => null,
'wakeUpCallsException' => ''
],
'someUnits' => [
],
'sustainability' => [
'energyEfficiency' => [
'carbonFreeEnergySources' => null,
'carbonFreeEnergySourcesException' => '',
'energyConservationProgram' => null,
'energyConservationProgramException' => '',
'energyEfficientHeatingAndCoolingSystems' => null,
'energyEfficientHeatingAndCoolingSystemsException' => '',
'energyEfficientLighting' => null,
'energyEfficientLightingException' => '',
'energySavingThermostats' => null,
'energySavingThermostatsException' => '',
'greenBuildingDesign' => null,
'greenBuildingDesignException' => '',
'independentOrganizationAuditsEnergyUse' => null,
'independentOrganizationAuditsEnergyUseException' => ''
],
'sustainabilityCertifications' => [
'breeamCertification' => '',
'breeamCertificationException' => '',
'ecoCertifications' => [
[
'awarded' => null,
'awardedException' => '',
'ecoCertificate' => ''
]
],
'leedCertification' => '',
'leedCertificationException' => ''
],
'sustainableSourcing' => [
'ecoFriendlyToiletries' => null,
'ecoFriendlyToiletriesException' => '',
'locallySourcedFoodAndBeverages' => null,
'locallySourcedFoodAndBeveragesException' => '',
'organicCageFreeEggs' => null,
'organicCageFreeEggsException' => '',
'organicFoodAndBeverages' => null,
'organicFoodAndBeveragesException' => '',
'responsiblePurchasingPolicy' => null,
'responsiblePurchasingPolicyException' => '',
'responsiblySourcesSeafood' => null,
'responsiblySourcesSeafoodException' => '',
'veganMeals' => null,
'veganMealsException' => '',
'vegetarianMeals' => null,
'vegetarianMealsException' => ''
],
'wasteReduction' => [
'compostableFoodContainersAndCutlery' => null,
'compostableFoodContainersAndCutleryException' => '',
'compostsExcessFood' => null,
'compostsExcessFoodException' => '',
'donatesExcessFood' => null,
'donatesExcessFoodException' => '',
'foodWasteReductionProgram' => null,
'foodWasteReductionProgramException' => '',
'noSingleUsePlasticStraws' => null,
'noSingleUsePlasticStrawsException' => '',
'noSingleUsePlasticWaterBottles' => null,
'noSingleUsePlasticWaterBottlesException' => '',
'noStyrofoamFoodContainers' => null,
'noStyrofoamFoodContainersException' => '',
'recyclingProgram' => null,
'recyclingProgramException' => '',
'refillableToiletryContainers' => null,
'refillableToiletryContainersException' => '',
'safelyDisposesBatteries' => null,
'safelyDisposesBatteriesException' => '',
'safelyDisposesElectronics' => null,
'safelyDisposesElectronicsException' => '',
'safelyDisposesLightbulbs' => null,
'safelyDisposesLightbulbsException' => '',
'safelyHandlesHazardousSubstances' => null,
'safelyHandlesHazardousSubstancesException' => '',
'soapDonationProgram' => null,
'soapDonationProgramException' => '',
'toiletryDonationProgram' => null,
'toiletryDonationProgramException' => '',
'waterBottleFillingStations' => null,
'waterBottleFillingStationsException' => ''
],
'waterConservation' => [
'independentOrganizationAuditsWaterUse' => null,
'independentOrganizationAuditsWaterUseException' => '',
'linenReuseProgram' => null,
'linenReuseProgramException' => '',
'towelReuseProgram' => null,
'towelReuseProgramException' => '',
'waterSavingShowers' => null,
'waterSavingShowersException' => '',
'waterSavingSinks' => null,
'waterSavingSinksException' => '',
'waterSavingToilets' => null,
'waterSavingToiletsException' => ''
]
],
'transportation' => [
'airportShuttle' => null,
'airportShuttleException' => '',
'carRentalOnProperty' => null,
'carRentalOnPropertyException' => '',
'freeAirportShuttle' => null,
'freeAirportShuttleException' => '',
'freePrivateCarService' => null,
'freePrivateCarServiceException' => '',
'localShuttle' => null,
'localShuttleException' => '',
'privateCarService' => null,
'privateCarServiceException' => '',
'transfer' => null,
'transferException' => ''
],
'wellness' => [
'doctorOnCall' => null,
'doctorOnCallException' => '',
'ellipticalMachine' => null,
'ellipticalMachineException' => '',
'fitnessCenter' => null,
'fitnessCenterException' => '',
'freeFitnessCenter' => null,
'freeFitnessCenterException' => '',
'freeWeights' => null,
'freeWeightsException' => '',
'massage' => null,
'massageException' => '',
'salon' => null,
'salonException' => '',
'sauna' => null,
'saunaException' => '',
'spa' => null,
'spaException' => '',
'treadmill' => null,
'treadmillException' => '',
'weightMachine' => null,
'weightMachineException' => ''
]
]),
CURLOPT_HTTPHEADER => [
"content-type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('PATCH', '{{baseUrl}}/v1/:name', [
'body' => '{
"accessibility": {
"mobilityAccessible": false,
"mobilityAccessibleElevator": false,
"mobilityAccessibleElevatorException": "",
"mobilityAccessibleException": "",
"mobilityAccessibleParking": false,
"mobilityAccessibleParkingException": "",
"mobilityAccessiblePool": false,
"mobilityAccessiblePoolException": ""
},
"activities": {
"beachAccess": false,
"beachAccessException": "",
"beachFront": false,
"beachFrontException": "",
"bicycleRental": false,
"bicycleRentalException": "",
"boutiqueStores": false,
"boutiqueStoresException": "",
"casino": false,
"casinoException": "",
"freeBicycleRental": false,
"freeBicycleRentalException": "",
"freeWatercraftRental": false,
"freeWatercraftRentalException": "",
"gameRoom": false,
"gameRoomException": "",
"golf": false,
"golfException": "",
"horsebackRiding": false,
"horsebackRidingException": "",
"nightclub": false,
"nightclubException": "",
"privateBeach": false,
"privateBeachException": "",
"scuba": false,
"scubaException": "",
"snorkeling": false,
"snorkelingException": "",
"tennis": false,
"tennisException": "",
"waterSkiing": false,
"waterSkiingException": "",
"watercraftRental": false,
"watercraftRentalException": ""
},
"allUnits": {
"bungalowOrVilla": false,
"bungalowOrVillaException": "",
"connectingUnitAvailable": false,
"connectingUnitAvailableException": "",
"executiveFloor": false,
"executiveFloorException": "",
"maxAdultOccupantsCount": 0,
"maxAdultOccupantsCountException": "",
"maxChildOccupantsCount": 0,
"maxChildOccupantsCountException": "",
"maxOccupantsCount": 0,
"maxOccupantsCountException": "",
"privateHome": false,
"privateHomeException": "",
"suite": false,
"suiteException": "",
"tier": "",
"tierException": "",
"totalLivingAreas": {
"accessibility": {
"adaCompliantUnit": false,
"adaCompliantUnitException": "",
"hearingAccessibleDoorbell": false,
"hearingAccessibleDoorbellException": "",
"hearingAccessibleFireAlarm": false,
"hearingAccessibleFireAlarmException": "",
"hearingAccessibleUnit": false,
"hearingAccessibleUnitException": "",
"mobilityAccessibleBathtub": false,
"mobilityAccessibleBathtubException": "",
"mobilityAccessibleShower": false,
"mobilityAccessibleShowerException": "",
"mobilityAccessibleToilet": false,
"mobilityAccessibleToiletException": "",
"mobilityAccessibleUnit": false,
"mobilityAccessibleUnitException": ""
},
"eating": {
"coffeeMaker": false,
"coffeeMakerException": "",
"cookware": false,
"cookwareException": "",
"dishwasher": false,
"dishwasherException": "",
"indoorGrill": false,
"indoorGrillException": "",
"kettle": false,
"kettleException": "",
"kitchenAvailable": false,
"kitchenAvailableException": "",
"microwave": false,
"microwaveException": "",
"minibar": false,
"minibarException": "",
"outdoorGrill": false,
"outdoorGrillException": "",
"oven": false,
"ovenException": "",
"refrigerator": false,
"refrigeratorException": "",
"sink": false,
"sinkException": "",
"snackbar": false,
"snackbarException": "",
"stove": false,
"stoveException": "",
"teaStation": false,
"teaStationException": "",
"toaster": false,
"toasterException": ""
},
"features": {
"airConditioning": false,
"airConditioningException": "",
"bathtub": false,
"bathtubException": "",
"bidet": false,
"bidetException": "",
"dryer": false,
"dryerException": "",
"electronicRoomKey": false,
"electronicRoomKeyException": "",
"fireplace": false,
"fireplaceException": "",
"hairdryer": false,
"hairdryerException": "",
"heating": false,
"heatingException": "",
"inunitSafe": false,
"inunitSafeException": "",
"inunitWifiAvailable": false,
"inunitWifiAvailableException": "",
"ironingEquipment": false,
"ironingEquipmentException": "",
"payPerViewMovies": false,
"payPerViewMoviesException": "",
"privateBathroom": false,
"privateBathroomException": "",
"shower": false,
"showerException": "",
"toilet": false,
"toiletException": "",
"tv": false,
"tvCasting": false,
"tvCastingException": "",
"tvException": "",
"tvStreaming": false,
"tvStreamingException": "",
"universalPowerAdapters": false,
"universalPowerAdaptersException": "",
"washer": false,
"washerException": ""
},
"layout": {
"balcony": false,
"balconyException": "",
"livingAreaSqMeters": "",
"livingAreaSqMetersException": "",
"loft": false,
"loftException": "",
"nonSmoking": false,
"nonSmokingException": "",
"patio": false,
"patioException": "",
"stairs": false,
"stairsException": ""
},
"sleeping": {
"bedsCount": 0,
"bedsCountException": "",
"bunkBedsCount": 0,
"bunkBedsCountException": "",
"cribsCount": 0,
"cribsCountException": "",
"doubleBedsCount": 0,
"doubleBedsCountException": "",
"featherPillows": false,
"featherPillowsException": "",
"hypoallergenicBedding": false,
"hypoallergenicBeddingException": "",
"kingBedsCount": 0,
"kingBedsCountException": "",
"memoryFoamPillows": false,
"memoryFoamPillowsException": "",
"otherBedsCount": 0,
"otherBedsCountException": "",
"queenBedsCount": 0,
"queenBedsCountException": "",
"rollAwayBedsCount": 0,
"rollAwayBedsCountException": "",
"singleOrTwinBedsCount": 0,
"singleOrTwinBedsCountException": "",
"sofaBedsCount": 0,
"sofaBedsCountException": "",
"syntheticPillows": false,
"syntheticPillowsException": ""
}
},
"views": {
"beachView": false,
"beachViewException": "",
"cityView": false,
"cityViewException": "",
"gardenView": false,
"gardenViewException": "",
"lakeView": false,
"lakeViewException": "",
"landmarkView": false,
"landmarkViewException": "",
"oceanView": false,
"oceanViewException": "",
"poolView": false,
"poolViewException": "",
"valleyView": false,
"valleyViewException": ""
}
},
"business": {
"businessCenter": false,
"businessCenterException": "",
"meetingRooms": false,
"meetingRoomsCount": 0,
"meetingRoomsCountException": "",
"meetingRoomsException": ""
},
"commonLivingArea": {},
"connectivity": {
"freeWifi": false,
"freeWifiException": "",
"publicAreaWifiAvailable": false,
"publicAreaWifiAvailableException": "",
"publicInternetTerminal": false,
"publicInternetTerminalException": "",
"wifiAvailable": false,
"wifiAvailableException": ""
},
"families": {
"babysitting": false,
"babysittingException": "",
"kidsActivities": false,
"kidsActivitiesException": "",
"kidsClub": false,
"kidsClubException": "",
"kidsFriendly": false,
"kidsFriendlyException": ""
},
"foodAndDrink": {
"bar": false,
"barException": "",
"breakfastAvailable": false,
"breakfastAvailableException": "",
"breakfastBuffet": false,
"breakfastBuffetException": "",
"buffet": false,
"buffetException": "",
"dinnerBuffet": false,
"dinnerBuffetException": "",
"freeBreakfast": false,
"freeBreakfastException": "",
"restaurant": false,
"restaurantException": "",
"restaurantsCount": 0,
"restaurantsCountException": "",
"roomService": false,
"roomServiceException": "",
"tableService": false,
"tableServiceException": "",
"twentyFourHourRoomService": false,
"twentyFourHourRoomServiceException": "",
"vendingMachine": false,
"vendingMachineException": ""
},
"guestUnits": [
{
"codes": [],
"features": {},
"label": ""
}
],
"healthAndSafety": {
"enhancedCleaning": {
"commercialGradeDisinfectantCleaning": false,
"commercialGradeDisinfectantCleaningException": "",
"commonAreasEnhancedCleaning": false,
"commonAreasEnhancedCleaningException": "",
"employeesTrainedCleaningProcedures": false,
"employeesTrainedCleaningProceduresException": "",
"employeesTrainedThoroughHandWashing": false,
"employeesTrainedThoroughHandWashingException": "",
"employeesWearProtectiveEquipment": false,
"employeesWearProtectiveEquipmentException": "",
"guestRoomsEnhancedCleaning": false,
"guestRoomsEnhancedCleaningException": ""
},
"increasedFoodSafety": {
"diningAreasAdditionalSanitation": false,
"diningAreasAdditionalSanitationException": "",
"disposableFlatware": false,
"disposableFlatwareException": "",
"foodPreparationAndServingAdditionalSafety": false,
"foodPreparationAndServingAdditionalSafetyException": "",
"individualPackagedMeals": false,
"individualPackagedMealsException": "",
"singleUseFoodMenus": false,
"singleUseFoodMenusException": ""
},
"minimizedContact": {
"contactlessCheckinCheckout": false,
"contactlessCheckinCheckoutException": "",
"digitalGuestRoomKeys": false,
"digitalGuestRoomKeysException": "",
"housekeepingScheduledRequestOnly": false,
"housekeepingScheduledRequestOnlyException": "",
"noHighTouchItemsCommonAreas": false,
"noHighTouchItemsCommonAreasException": "",
"noHighTouchItemsGuestRooms": false,
"noHighTouchItemsGuestRoomsException": "",
"plasticKeycardsDisinfected": false,
"plasticKeycardsDisinfectedException": "",
"roomBookingsBuffer": false,
"roomBookingsBufferException": ""
},
"personalProtection": {
"commonAreasOfferSanitizingItems": false,
"commonAreasOfferSanitizingItemsException": "",
"faceMaskRequired": false,
"faceMaskRequiredException": "",
"guestRoomHygieneKitsAvailable": false,
"guestRoomHygieneKitsAvailableException": "",
"protectiveEquipmentAvailable": false,
"protectiveEquipmentAvailableException": ""
},
"physicalDistancing": {
"commonAreasPhysicalDistancingArranged": false,
"commonAreasPhysicalDistancingArrangedException": "",
"physicalDistancingRequired": false,
"physicalDistancingRequiredException": "",
"safetyDividers": false,
"safetyDividersException": "",
"sharedAreasLimitedOccupancy": false,
"sharedAreasLimitedOccupancyException": "",
"wellnessAreasHavePrivateSpaces": false,
"wellnessAreasHavePrivateSpacesException": ""
}
},
"housekeeping": {
"dailyHousekeeping": false,
"dailyHousekeepingException": "",
"housekeepingAvailable": false,
"housekeepingAvailableException": "",
"turndownService": false,
"turndownServiceException": ""
},
"metadata": {
"updateTime": ""
},
"name": "",
"parking": {
"electricCarChargingStations": false,
"electricCarChargingStationsException": "",
"freeParking": false,
"freeParkingException": "",
"freeSelfParking": false,
"freeSelfParkingException": "",
"freeValetParking": false,
"freeValetParkingException": "",
"parkingAvailable": false,
"parkingAvailableException": "",
"selfParkingAvailable": false,
"selfParkingAvailableException": "",
"valetParkingAvailable": false,
"valetParkingAvailableException": ""
},
"pets": {
"catsAllowed": false,
"catsAllowedException": "",
"dogsAllowed": false,
"dogsAllowedException": "",
"petsAllowed": false,
"petsAllowedException": "",
"petsAllowedFree": false,
"petsAllowedFreeException": ""
},
"policies": {
"allInclusiveAvailable": false,
"allInclusiveAvailableException": "",
"allInclusiveOnly": false,
"allInclusiveOnlyException": "",
"checkinTime": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0
},
"checkinTimeException": "",
"checkoutTime": {},
"checkoutTimeException": "",
"kidsStayFree": false,
"kidsStayFreeException": "",
"maxChildAge": 0,
"maxChildAgeException": "",
"maxKidsStayFreeCount": 0,
"maxKidsStayFreeCountException": "",
"paymentOptions": {
"cash": false,
"cashException": "",
"cheque": false,
"chequeException": "",
"creditCard": false,
"creditCardException": "",
"debitCard": false,
"debitCardException": "",
"mobileNfc": false,
"mobileNfcException": ""
},
"smokeFreeProperty": false,
"smokeFreePropertyException": ""
},
"pools": {
"adultPool": false,
"adultPoolException": "",
"hotTub": false,
"hotTubException": "",
"indoorPool": false,
"indoorPoolException": "",
"indoorPoolsCount": 0,
"indoorPoolsCountException": "",
"lazyRiver": false,
"lazyRiverException": "",
"lifeguard": false,
"lifeguardException": "",
"outdoorPool": false,
"outdoorPoolException": "",
"outdoorPoolsCount": 0,
"outdoorPoolsCountException": "",
"pool": false,
"poolException": "",
"poolsCount": 0,
"poolsCountException": "",
"wadingPool": false,
"wadingPoolException": "",
"waterPark": false,
"waterParkException": "",
"waterslide": false,
"waterslideException": "",
"wavePool": false,
"wavePoolException": ""
},
"property": {
"builtYear": 0,
"builtYearException": "",
"floorsCount": 0,
"floorsCountException": "",
"lastRenovatedYear": 0,
"lastRenovatedYearException": "",
"roomsCount": 0,
"roomsCountException": ""
},
"services": {
"baggageStorage": false,
"baggageStorageException": "",
"concierge": false,
"conciergeException": "",
"convenienceStore": false,
"convenienceStoreException": "",
"currencyExchange": false,
"currencyExchangeException": "",
"elevator": false,
"elevatorException": "",
"frontDesk": false,
"frontDeskException": "",
"fullServiceLaundry": false,
"fullServiceLaundryException": "",
"giftShop": false,
"giftShopException": "",
"languagesSpoken": [
{
"languageCode": "",
"spoken": false,
"spokenException": ""
}
],
"selfServiceLaundry": false,
"selfServiceLaundryException": "",
"socialHour": false,
"socialHourException": "",
"twentyFourHourFrontDesk": false,
"twentyFourHourFrontDeskException": "",
"wakeUpCalls": false,
"wakeUpCallsException": ""
},
"someUnits": {},
"sustainability": {
"energyEfficiency": {
"carbonFreeEnergySources": false,
"carbonFreeEnergySourcesException": "",
"energyConservationProgram": false,
"energyConservationProgramException": "",
"energyEfficientHeatingAndCoolingSystems": false,
"energyEfficientHeatingAndCoolingSystemsException": "",
"energyEfficientLighting": false,
"energyEfficientLightingException": "",
"energySavingThermostats": false,
"energySavingThermostatsException": "",
"greenBuildingDesign": false,
"greenBuildingDesignException": "",
"independentOrganizationAuditsEnergyUse": false,
"independentOrganizationAuditsEnergyUseException": ""
},
"sustainabilityCertifications": {
"breeamCertification": "",
"breeamCertificationException": "",
"ecoCertifications": [
{
"awarded": false,
"awardedException": "",
"ecoCertificate": ""
}
],
"leedCertification": "",
"leedCertificationException": ""
},
"sustainableSourcing": {
"ecoFriendlyToiletries": false,
"ecoFriendlyToiletriesException": "",
"locallySourcedFoodAndBeverages": false,
"locallySourcedFoodAndBeveragesException": "",
"organicCageFreeEggs": false,
"organicCageFreeEggsException": "",
"organicFoodAndBeverages": false,
"organicFoodAndBeveragesException": "",
"responsiblePurchasingPolicy": false,
"responsiblePurchasingPolicyException": "",
"responsiblySourcesSeafood": false,
"responsiblySourcesSeafoodException": "",
"veganMeals": false,
"veganMealsException": "",
"vegetarianMeals": false,
"vegetarianMealsException": ""
},
"wasteReduction": {
"compostableFoodContainersAndCutlery": false,
"compostableFoodContainersAndCutleryException": "",
"compostsExcessFood": false,
"compostsExcessFoodException": "",
"donatesExcessFood": false,
"donatesExcessFoodException": "",
"foodWasteReductionProgram": false,
"foodWasteReductionProgramException": "",
"noSingleUsePlasticStraws": false,
"noSingleUsePlasticStrawsException": "",
"noSingleUsePlasticWaterBottles": false,
"noSingleUsePlasticWaterBottlesException": "",
"noStyrofoamFoodContainers": false,
"noStyrofoamFoodContainersException": "",
"recyclingProgram": false,
"recyclingProgramException": "",
"refillableToiletryContainers": false,
"refillableToiletryContainersException": "",
"safelyDisposesBatteries": false,
"safelyDisposesBatteriesException": "",
"safelyDisposesElectronics": false,
"safelyDisposesElectronicsException": "",
"safelyDisposesLightbulbs": false,
"safelyDisposesLightbulbsException": "",
"safelyHandlesHazardousSubstances": false,
"safelyHandlesHazardousSubstancesException": "",
"soapDonationProgram": false,
"soapDonationProgramException": "",
"toiletryDonationProgram": false,
"toiletryDonationProgramException": "",
"waterBottleFillingStations": false,
"waterBottleFillingStationsException": ""
},
"waterConservation": {
"independentOrganizationAuditsWaterUse": false,
"independentOrganizationAuditsWaterUseException": "",
"linenReuseProgram": false,
"linenReuseProgramException": "",
"towelReuseProgram": false,
"towelReuseProgramException": "",
"waterSavingShowers": false,
"waterSavingShowersException": "",
"waterSavingSinks": false,
"waterSavingSinksException": "",
"waterSavingToilets": false,
"waterSavingToiletsException": ""
}
},
"transportation": {
"airportShuttle": false,
"airportShuttleException": "",
"carRentalOnProperty": false,
"carRentalOnPropertyException": "",
"freeAirportShuttle": false,
"freeAirportShuttleException": "",
"freePrivateCarService": false,
"freePrivateCarServiceException": "",
"localShuttle": false,
"localShuttleException": "",
"privateCarService": false,
"privateCarServiceException": "",
"transfer": false,
"transferException": ""
},
"wellness": {
"doctorOnCall": false,
"doctorOnCallException": "",
"ellipticalMachine": false,
"ellipticalMachineException": "",
"fitnessCenter": false,
"fitnessCenterException": "",
"freeFitnessCenter": false,
"freeFitnessCenterException": "",
"freeWeights": false,
"freeWeightsException": "",
"massage": false,
"massageException": "",
"salon": false,
"salonException": "",
"sauna": false,
"saunaException": "",
"spa": false,
"spaException": "",
"treadmill": false,
"treadmillException": "",
"weightMachine": false,
"weightMachineException": ""
}
}',
'headers' => [
'content-type' => 'application/json',
],
]);
echo $response->getBody();
setUrl('{{baseUrl}}/v1/:name');
$request->setMethod(HttpRequest::HTTP_METH_PATCH);
$request->setHeaders([
'content-type' => 'application/json'
]);
$request->setContentType('application/json');
$request->setBody(json_encode([
'accessibility' => [
'mobilityAccessible' => null,
'mobilityAccessibleElevator' => null,
'mobilityAccessibleElevatorException' => '',
'mobilityAccessibleException' => '',
'mobilityAccessibleParking' => null,
'mobilityAccessibleParkingException' => '',
'mobilityAccessiblePool' => null,
'mobilityAccessiblePoolException' => ''
],
'activities' => [
'beachAccess' => null,
'beachAccessException' => '',
'beachFront' => null,
'beachFrontException' => '',
'bicycleRental' => null,
'bicycleRentalException' => '',
'boutiqueStores' => null,
'boutiqueStoresException' => '',
'casino' => null,
'casinoException' => '',
'freeBicycleRental' => null,
'freeBicycleRentalException' => '',
'freeWatercraftRental' => null,
'freeWatercraftRentalException' => '',
'gameRoom' => null,
'gameRoomException' => '',
'golf' => null,
'golfException' => '',
'horsebackRiding' => null,
'horsebackRidingException' => '',
'nightclub' => null,
'nightclubException' => '',
'privateBeach' => null,
'privateBeachException' => '',
'scuba' => null,
'scubaException' => '',
'snorkeling' => null,
'snorkelingException' => '',
'tennis' => null,
'tennisException' => '',
'waterSkiing' => null,
'waterSkiingException' => '',
'watercraftRental' => null,
'watercraftRentalException' => ''
],
'allUnits' => [
'bungalowOrVilla' => null,
'bungalowOrVillaException' => '',
'connectingUnitAvailable' => null,
'connectingUnitAvailableException' => '',
'executiveFloor' => null,
'executiveFloorException' => '',
'maxAdultOccupantsCount' => 0,
'maxAdultOccupantsCountException' => '',
'maxChildOccupantsCount' => 0,
'maxChildOccupantsCountException' => '',
'maxOccupantsCount' => 0,
'maxOccupantsCountException' => '',
'privateHome' => null,
'privateHomeException' => '',
'suite' => null,
'suiteException' => '',
'tier' => '',
'tierException' => '',
'totalLivingAreas' => [
'accessibility' => [
'adaCompliantUnit' => null,
'adaCompliantUnitException' => '',
'hearingAccessibleDoorbell' => null,
'hearingAccessibleDoorbellException' => '',
'hearingAccessibleFireAlarm' => null,
'hearingAccessibleFireAlarmException' => '',
'hearingAccessibleUnit' => null,
'hearingAccessibleUnitException' => '',
'mobilityAccessibleBathtub' => null,
'mobilityAccessibleBathtubException' => '',
'mobilityAccessibleShower' => null,
'mobilityAccessibleShowerException' => '',
'mobilityAccessibleToilet' => null,
'mobilityAccessibleToiletException' => '',
'mobilityAccessibleUnit' => null,
'mobilityAccessibleUnitException' => ''
],
'eating' => [
'coffeeMaker' => null,
'coffeeMakerException' => '',
'cookware' => null,
'cookwareException' => '',
'dishwasher' => null,
'dishwasherException' => '',
'indoorGrill' => null,
'indoorGrillException' => '',
'kettle' => null,
'kettleException' => '',
'kitchenAvailable' => null,
'kitchenAvailableException' => '',
'microwave' => null,
'microwaveException' => '',
'minibar' => null,
'minibarException' => '',
'outdoorGrill' => null,
'outdoorGrillException' => '',
'oven' => null,
'ovenException' => '',
'refrigerator' => null,
'refrigeratorException' => '',
'sink' => null,
'sinkException' => '',
'snackbar' => null,
'snackbarException' => '',
'stove' => null,
'stoveException' => '',
'teaStation' => null,
'teaStationException' => '',
'toaster' => null,
'toasterException' => ''
],
'features' => [
'airConditioning' => null,
'airConditioningException' => '',
'bathtub' => null,
'bathtubException' => '',
'bidet' => null,
'bidetException' => '',
'dryer' => null,
'dryerException' => '',
'electronicRoomKey' => null,
'electronicRoomKeyException' => '',
'fireplace' => null,
'fireplaceException' => '',
'hairdryer' => null,
'hairdryerException' => '',
'heating' => null,
'heatingException' => '',
'inunitSafe' => null,
'inunitSafeException' => '',
'inunitWifiAvailable' => null,
'inunitWifiAvailableException' => '',
'ironingEquipment' => null,
'ironingEquipmentException' => '',
'payPerViewMovies' => null,
'payPerViewMoviesException' => '',
'privateBathroom' => null,
'privateBathroomException' => '',
'shower' => null,
'showerException' => '',
'toilet' => null,
'toiletException' => '',
'tv' => null,
'tvCasting' => null,
'tvCastingException' => '',
'tvException' => '',
'tvStreaming' => null,
'tvStreamingException' => '',
'universalPowerAdapters' => null,
'universalPowerAdaptersException' => '',
'washer' => null,
'washerException' => ''
],
'layout' => [
'balcony' => null,
'balconyException' => '',
'livingAreaSqMeters' => '',
'livingAreaSqMetersException' => '',
'loft' => null,
'loftException' => '',
'nonSmoking' => null,
'nonSmokingException' => '',
'patio' => null,
'patioException' => '',
'stairs' => null,
'stairsException' => ''
],
'sleeping' => [
'bedsCount' => 0,
'bedsCountException' => '',
'bunkBedsCount' => 0,
'bunkBedsCountException' => '',
'cribsCount' => 0,
'cribsCountException' => '',
'doubleBedsCount' => 0,
'doubleBedsCountException' => '',
'featherPillows' => null,
'featherPillowsException' => '',
'hypoallergenicBedding' => null,
'hypoallergenicBeddingException' => '',
'kingBedsCount' => 0,
'kingBedsCountException' => '',
'memoryFoamPillows' => null,
'memoryFoamPillowsException' => '',
'otherBedsCount' => 0,
'otherBedsCountException' => '',
'queenBedsCount' => 0,
'queenBedsCountException' => '',
'rollAwayBedsCount' => 0,
'rollAwayBedsCountException' => '',
'singleOrTwinBedsCount' => 0,
'singleOrTwinBedsCountException' => '',
'sofaBedsCount' => 0,
'sofaBedsCountException' => '',
'syntheticPillows' => null,
'syntheticPillowsException' => ''
]
],
'views' => [
'beachView' => null,
'beachViewException' => '',
'cityView' => null,
'cityViewException' => '',
'gardenView' => null,
'gardenViewException' => '',
'lakeView' => null,
'lakeViewException' => '',
'landmarkView' => null,
'landmarkViewException' => '',
'oceanView' => null,
'oceanViewException' => '',
'poolView' => null,
'poolViewException' => '',
'valleyView' => null,
'valleyViewException' => ''
]
],
'business' => [
'businessCenter' => null,
'businessCenterException' => '',
'meetingRooms' => null,
'meetingRoomsCount' => 0,
'meetingRoomsCountException' => '',
'meetingRoomsException' => ''
],
'commonLivingArea' => [
],
'connectivity' => [
'freeWifi' => null,
'freeWifiException' => '',
'publicAreaWifiAvailable' => null,
'publicAreaWifiAvailableException' => '',
'publicInternetTerminal' => null,
'publicInternetTerminalException' => '',
'wifiAvailable' => null,
'wifiAvailableException' => ''
],
'families' => [
'babysitting' => null,
'babysittingException' => '',
'kidsActivities' => null,
'kidsActivitiesException' => '',
'kidsClub' => null,
'kidsClubException' => '',
'kidsFriendly' => null,
'kidsFriendlyException' => ''
],
'foodAndDrink' => [
'bar' => null,
'barException' => '',
'breakfastAvailable' => null,
'breakfastAvailableException' => '',
'breakfastBuffet' => null,
'breakfastBuffetException' => '',
'buffet' => null,
'buffetException' => '',
'dinnerBuffet' => null,
'dinnerBuffetException' => '',
'freeBreakfast' => null,
'freeBreakfastException' => '',
'restaurant' => null,
'restaurantException' => '',
'restaurantsCount' => 0,
'restaurantsCountException' => '',
'roomService' => null,
'roomServiceException' => '',
'tableService' => null,
'tableServiceException' => '',
'twentyFourHourRoomService' => null,
'twentyFourHourRoomServiceException' => '',
'vendingMachine' => null,
'vendingMachineException' => ''
],
'guestUnits' => [
[
'codes' => [
],
'features' => [
],
'label' => ''
]
],
'healthAndSafety' => [
'enhancedCleaning' => [
'commercialGradeDisinfectantCleaning' => null,
'commercialGradeDisinfectantCleaningException' => '',
'commonAreasEnhancedCleaning' => null,
'commonAreasEnhancedCleaningException' => '',
'employeesTrainedCleaningProcedures' => null,
'employeesTrainedCleaningProceduresException' => '',
'employeesTrainedThoroughHandWashing' => null,
'employeesTrainedThoroughHandWashingException' => '',
'employeesWearProtectiveEquipment' => null,
'employeesWearProtectiveEquipmentException' => '',
'guestRoomsEnhancedCleaning' => null,
'guestRoomsEnhancedCleaningException' => ''
],
'increasedFoodSafety' => [
'diningAreasAdditionalSanitation' => null,
'diningAreasAdditionalSanitationException' => '',
'disposableFlatware' => null,
'disposableFlatwareException' => '',
'foodPreparationAndServingAdditionalSafety' => null,
'foodPreparationAndServingAdditionalSafetyException' => '',
'individualPackagedMeals' => null,
'individualPackagedMealsException' => '',
'singleUseFoodMenus' => null,
'singleUseFoodMenusException' => ''
],
'minimizedContact' => [
'contactlessCheckinCheckout' => null,
'contactlessCheckinCheckoutException' => '',
'digitalGuestRoomKeys' => null,
'digitalGuestRoomKeysException' => '',
'housekeepingScheduledRequestOnly' => null,
'housekeepingScheduledRequestOnlyException' => '',
'noHighTouchItemsCommonAreas' => null,
'noHighTouchItemsCommonAreasException' => '',
'noHighTouchItemsGuestRooms' => null,
'noHighTouchItemsGuestRoomsException' => '',
'plasticKeycardsDisinfected' => null,
'plasticKeycardsDisinfectedException' => '',
'roomBookingsBuffer' => null,
'roomBookingsBufferException' => ''
],
'personalProtection' => [
'commonAreasOfferSanitizingItems' => null,
'commonAreasOfferSanitizingItemsException' => '',
'faceMaskRequired' => null,
'faceMaskRequiredException' => '',
'guestRoomHygieneKitsAvailable' => null,
'guestRoomHygieneKitsAvailableException' => '',
'protectiveEquipmentAvailable' => null,
'protectiveEquipmentAvailableException' => ''
],
'physicalDistancing' => [
'commonAreasPhysicalDistancingArranged' => null,
'commonAreasPhysicalDistancingArrangedException' => '',
'physicalDistancingRequired' => null,
'physicalDistancingRequiredException' => '',
'safetyDividers' => null,
'safetyDividersException' => '',
'sharedAreasLimitedOccupancy' => null,
'sharedAreasLimitedOccupancyException' => '',
'wellnessAreasHavePrivateSpaces' => null,
'wellnessAreasHavePrivateSpacesException' => ''
]
],
'housekeeping' => [
'dailyHousekeeping' => null,
'dailyHousekeepingException' => '',
'housekeepingAvailable' => null,
'housekeepingAvailableException' => '',
'turndownService' => null,
'turndownServiceException' => ''
],
'metadata' => [
'updateTime' => ''
],
'name' => '',
'parking' => [
'electricCarChargingStations' => null,
'electricCarChargingStationsException' => '',
'freeParking' => null,
'freeParkingException' => '',
'freeSelfParking' => null,
'freeSelfParkingException' => '',
'freeValetParking' => null,
'freeValetParkingException' => '',
'parkingAvailable' => null,
'parkingAvailableException' => '',
'selfParkingAvailable' => null,
'selfParkingAvailableException' => '',
'valetParkingAvailable' => null,
'valetParkingAvailableException' => ''
],
'pets' => [
'catsAllowed' => null,
'catsAllowedException' => '',
'dogsAllowed' => null,
'dogsAllowedException' => '',
'petsAllowed' => null,
'petsAllowedException' => '',
'petsAllowedFree' => null,
'petsAllowedFreeException' => ''
],
'policies' => [
'allInclusiveAvailable' => null,
'allInclusiveAvailableException' => '',
'allInclusiveOnly' => null,
'allInclusiveOnlyException' => '',
'checkinTime' => [
'hours' => 0,
'minutes' => 0,
'nanos' => 0,
'seconds' => 0
],
'checkinTimeException' => '',
'checkoutTime' => [
],
'checkoutTimeException' => '',
'kidsStayFree' => null,
'kidsStayFreeException' => '',
'maxChildAge' => 0,
'maxChildAgeException' => '',
'maxKidsStayFreeCount' => 0,
'maxKidsStayFreeCountException' => '',
'paymentOptions' => [
'cash' => null,
'cashException' => '',
'cheque' => null,
'chequeException' => '',
'creditCard' => null,
'creditCardException' => '',
'debitCard' => null,
'debitCardException' => '',
'mobileNfc' => null,
'mobileNfcException' => ''
],
'smokeFreeProperty' => null,
'smokeFreePropertyException' => ''
],
'pools' => [
'adultPool' => null,
'adultPoolException' => '',
'hotTub' => null,
'hotTubException' => '',
'indoorPool' => null,
'indoorPoolException' => '',
'indoorPoolsCount' => 0,
'indoorPoolsCountException' => '',
'lazyRiver' => null,
'lazyRiverException' => '',
'lifeguard' => null,
'lifeguardException' => '',
'outdoorPool' => null,
'outdoorPoolException' => '',
'outdoorPoolsCount' => 0,
'outdoorPoolsCountException' => '',
'pool' => null,
'poolException' => '',
'poolsCount' => 0,
'poolsCountException' => '',
'wadingPool' => null,
'wadingPoolException' => '',
'waterPark' => null,
'waterParkException' => '',
'waterslide' => null,
'waterslideException' => '',
'wavePool' => null,
'wavePoolException' => ''
],
'property' => [
'builtYear' => 0,
'builtYearException' => '',
'floorsCount' => 0,
'floorsCountException' => '',
'lastRenovatedYear' => 0,
'lastRenovatedYearException' => '',
'roomsCount' => 0,
'roomsCountException' => ''
],
'services' => [
'baggageStorage' => null,
'baggageStorageException' => '',
'concierge' => null,
'conciergeException' => '',
'convenienceStore' => null,
'convenienceStoreException' => '',
'currencyExchange' => null,
'currencyExchangeException' => '',
'elevator' => null,
'elevatorException' => '',
'frontDesk' => null,
'frontDeskException' => '',
'fullServiceLaundry' => null,
'fullServiceLaundryException' => '',
'giftShop' => null,
'giftShopException' => '',
'languagesSpoken' => [
[
'languageCode' => '',
'spoken' => null,
'spokenException' => ''
]
],
'selfServiceLaundry' => null,
'selfServiceLaundryException' => '',
'socialHour' => null,
'socialHourException' => '',
'twentyFourHourFrontDesk' => null,
'twentyFourHourFrontDeskException' => '',
'wakeUpCalls' => null,
'wakeUpCallsException' => ''
],
'someUnits' => [
],
'sustainability' => [
'energyEfficiency' => [
'carbonFreeEnergySources' => null,
'carbonFreeEnergySourcesException' => '',
'energyConservationProgram' => null,
'energyConservationProgramException' => '',
'energyEfficientHeatingAndCoolingSystems' => null,
'energyEfficientHeatingAndCoolingSystemsException' => '',
'energyEfficientLighting' => null,
'energyEfficientLightingException' => '',
'energySavingThermostats' => null,
'energySavingThermostatsException' => '',
'greenBuildingDesign' => null,
'greenBuildingDesignException' => '',
'independentOrganizationAuditsEnergyUse' => null,
'independentOrganizationAuditsEnergyUseException' => ''
],
'sustainabilityCertifications' => [
'breeamCertification' => '',
'breeamCertificationException' => '',
'ecoCertifications' => [
[
'awarded' => null,
'awardedException' => '',
'ecoCertificate' => ''
]
],
'leedCertification' => '',
'leedCertificationException' => ''
],
'sustainableSourcing' => [
'ecoFriendlyToiletries' => null,
'ecoFriendlyToiletriesException' => '',
'locallySourcedFoodAndBeverages' => null,
'locallySourcedFoodAndBeveragesException' => '',
'organicCageFreeEggs' => null,
'organicCageFreeEggsException' => '',
'organicFoodAndBeverages' => null,
'organicFoodAndBeveragesException' => '',
'responsiblePurchasingPolicy' => null,
'responsiblePurchasingPolicyException' => '',
'responsiblySourcesSeafood' => null,
'responsiblySourcesSeafoodException' => '',
'veganMeals' => null,
'veganMealsException' => '',
'vegetarianMeals' => null,
'vegetarianMealsException' => ''
],
'wasteReduction' => [
'compostableFoodContainersAndCutlery' => null,
'compostableFoodContainersAndCutleryException' => '',
'compostsExcessFood' => null,
'compostsExcessFoodException' => '',
'donatesExcessFood' => null,
'donatesExcessFoodException' => '',
'foodWasteReductionProgram' => null,
'foodWasteReductionProgramException' => '',
'noSingleUsePlasticStraws' => null,
'noSingleUsePlasticStrawsException' => '',
'noSingleUsePlasticWaterBottles' => null,
'noSingleUsePlasticWaterBottlesException' => '',
'noStyrofoamFoodContainers' => null,
'noStyrofoamFoodContainersException' => '',
'recyclingProgram' => null,
'recyclingProgramException' => '',
'refillableToiletryContainers' => null,
'refillableToiletryContainersException' => '',
'safelyDisposesBatteries' => null,
'safelyDisposesBatteriesException' => '',
'safelyDisposesElectronics' => null,
'safelyDisposesElectronicsException' => '',
'safelyDisposesLightbulbs' => null,
'safelyDisposesLightbulbsException' => '',
'safelyHandlesHazardousSubstances' => null,
'safelyHandlesHazardousSubstancesException' => '',
'soapDonationProgram' => null,
'soapDonationProgramException' => '',
'toiletryDonationProgram' => null,
'toiletryDonationProgramException' => '',
'waterBottleFillingStations' => null,
'waterBottleFillingStationsException' => ''
],
'waterConservation' => [
'independentOrganizationAuditsWaterUse' => null,
'independentOrganizationAuditsWaterUseException' => '',
'linenReuseProgram' => null,
'linenReuseProgramException' => '',
'towelReuseProgram' => null,
'towelReuseProgramException' => '',
'waterSavingShowers' => null,
'waterSavingShowersException' => '',
'waterSavingSinks' => null,
'waterSavingSinksException' => '',
'waterSavingToilets' => null,
'waterSavingToiletsException' => ''
]
],
'transportation' => [
'airportShuttle' => null,
'airportShuttleException' => '',
'carRentalOnProperty' => null,
'carRentalOnPropertyException' => '',
'freeAirportShuttle' => null,
'freeAirportShuttleException' => '',
'freePrivateCarService' => null,
'freePrivateCarServiceException' => '',
'localShuttle' => null,
'localShuttleException' => '',
'privateCarService' => null,
'privateCarServiceException' => '',
'transfer' => null,
'transferException' => ''
],
'wellness' => [
'doctorOnCall' => null,
'doctorOnCallException' => '',
'ellipticalMachine' => null,
'ellipticalMachineException' => '',
'fitnessCenter' => null,
'fitnessCenterException' => '',
'freeFitnessCenter' => null,
'freeFitnessCenterException' => '',
'freeWeights' => null,
'freeWeightsException' => '',
'massage' => null,
'massageException' => '',
'salon' => null,
'salonException' => '',
'sauna' => null,
'saunaException' => '',
'spa' => null,
'spaException' => '',
'treadmill' => null,
'treadmillException' => '',
'weightMachine' => null,
'weightMachineException' => ''
]
]));
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
append(json_encode([
'accessibility' => [
'mobilityAccessible' => null,
'mobilityAccessibleElevator' => null,
'mobilityAccessibleElevatorException' => '',
'mobilityAccessibleException' => '',
'mobilityAccessibleParking' => null,
'mobilityAccessibleParkingException' => '',
'mobilityAccessiblePool' => null,
'mobilityAccessiblePoolException' => ''
],
'activities' => [
'beachAccess' => null,
'beachAccessException' => '',
'beachFront' => null,
'beachFrontException' => '',
'bicycleRental' => null,
'bicycleRentalException' => '',
'boutiqueStores' => null,
'boutiqueStoresException' => '',
'casino' => null,
'casinoException' => '',
'freeBicycleRental' => null,
'freeBicycleRentalException' => '',
'freeWatercraftRental' => null,
'freeWatercraftRentalException' => '',
'gameRoom' => null,
'gameRoomException' => '',
'golf' => null,
'golfException' => '',
'horsebackRiding' => null,
'horsebackRidingException' => '',
'nightclub' => null,
'nightclubException' => '',
'privateBeach' => null,
'privateBeachException' => '',
'scuba' => null,
'scubaException' => '',
'snorkeling' => null,
'snorkelingException' => '',
'tennis' => null,
'tennisException' => '',
'waterSkiing' => null,
'waterSkiingException' => '',
'watercraftRental' => null,
'watercraftRentalException' => ''
],
'allUnits' => [
'bungalowOrVilla' => null,
'bungalowOrVillaException' => '',
'connectingUnitAvailable' => null,
'connectingUnitAvailableException' => '',
'executiveFloor' => null,
'executiveFloorException' => '',
'maxAdultOccupantsCount' => 0,
'maxAdultOccupantsCountException' => '',
'maxChildOccupantsCount' => 0,
'maxChildOccupantsCountException' => '',
'maxOccupantsCount' => 0,
'maxOccupantsCountException' => '',
'privateHome' => null,
'privateHomeException' => '',
'suite' => null,
'suiteException' => '',
'tier' => '',
'tierException' => '',
'totalLivingAreas' => [
'accessibility' => [
'adaCompliantUnit' => null,
'adaCompliantUnitException' => '',
'hearingAccessibleDoorbell' => null,
'hearingAccessibleDoorbellException' => '',
'hearingAccessibleFireAlarm' => null,
'hearingAccessibleFireAlarmException' => '',
'hearingAccessibleUnit' => null,
'hearingAccessibleUnitException' => '',
'mobilityAccessibleBathtub' => null,
'mobilityAccessibleBathtubException' => '',
'mobilityAccessibleShower' => null,
'mobilityAccessibleShowerException' => '',
'mobilityAccessibleToilet' => null,
'mobilityAccessibleToiletException' => '',
'mobilityAccessibleUnit' => null,
'mobilityAccessibleUnitException' => ''
],
'eating' => [
'coffeeMaker' => null,
'coffeeMakerException' => '',
'cookware' => null,
'cookwareException' => '',
'dishwasher' => null,
'dishwasherException' => '',
'indoorGrill' => null,
'indoorGrillException' => '',
'kettle' => null,
'kettleException' => '',
'kitchenAvailable' => null,
'kitchenAvailableException' => '',
'microwave' => null,
'microwaveException' => '',
'minibar' => null,
'minibarException' => '',
'outdoorGrill' => null,
'outdoorGrillException' => '',
'oven' => null,
'ovenException' => '',
'refrigerator' => null,
'refrigeratorException' => '',
'sink' => null,
'sinkException' => '',
'snackbar' => null,
'snackbarException' => '',
'stove' => null,
'stoveException' => '',
'teaStation' => null,
'teaStationException' => '',
'toaster' => null,
'toasterException' => ''
],
'features' => [
'airConditioning' => null,
'airConditioningException' => '',
'bathtub' => null,
'bathtubException' => '',
'bidet' => null,
'bidetException' => '',
'dryer' => null,
'dryerException' => '',
'electronicRoomKey' => null,
'electronicRoomKeyException' => '',
'fireplace' => null,
'fireplaceException' => '',
'hairdryer' => null,
'hairdryerException' => '',
'heating' => null,
'heatingException' => '',
'inunitSafe' => null,
'inunitSafeException' => '',
'inunitWifiAvailable' => null,
'inunitWifiAvailableException' => '',
'ironingEquipment' => null,
'ironingEquipmentException' => '',
'payPerViewMovies' => null,
'payPerViewMoviesException' => '',
'privateBathroom' => null,
'privateBathroomException' => '',
'shower' => null,
'showerException' => '',
'toilet' => null,
'toiletException' => '',
'tv' => null,
'tvCasting' => null,
'tvCastingException' => '',
'tvException' => '',
'tvStreaming' => null,
'tvStreamingException' => '',
'universalPowerAdapters' => null,
'universalPowerAdaptersException' => '',
'washer' => null,
'washerException' => ''
],
'layout' => [
'balcony' => null,
'balconyException' => '',
'livingAreaSqMeters' => '',
'livingAreaSqMetersException' => '',
'loft' => null,
'loftException' => '',
'nonSmoking' => null,
'nonSmokingException' => '',
'patio' => null,
'patioException' => '',
'stairs' => null,
'stairsException' => ''
],
'sleeping' => [
'bedsCount' => 0,
'bedsCountException' => '',
'bunkBedsCount' => 0,
'bunkBedsCountException' => '',
'cribsCount' => 0,
'cribsCountException' => '',
'doubleBedsCount' => 0,
'doubleBedsCountException' => '',
'featherPillows' => null,
'featherPillowsException' => '',
'hypoallergenicBedding' => null,
'hypoallergenicBeddingException' => '',
'kingBedsCount' => 0,
'kingBedsCountException' => '',
'memoryFoamPillows' => null,
'memoryFoamPillowsException' => '',
'otherBedsCount' => 0,
'otherBedsCountException' => '',
'queenBedsCount' => 0,
'queenBedsCountException' => '',
'rollAwayBedsCount' => 0,
'rollAwayBedsCountException' => '',
'singleOrTwinBedsCount' => 0,
'singleOrTwinBedsCountException' => '',
'sofaBedsCount' => 0,
'sofaBedsCountException' => '',
'syntheticPillows' => null,
'syntheticPillowsException' => ''
]
],
'views' => [
'beachView' => null,
'beachViewException' => '',
'cityView' => null,
'cityViewException' => '',
'gardenView' => null,
'gardenViewException' => '',
'lakeView' => null,
'lakeViewException' => '',
'landmarkView' => null,
'landmarkViewException' => '',
'oceanView' => null,
'oceanViewException' => '',
'poolView' => null,
'poolViewException' => '',
'valleyView' => null,
'valleyViewException' => ''
]
],
'business' => [
'businessCenter' => null,
'businessCenterException' => '',
'meetingRooms' => null,
'meetingRoomsCount' => 0,
'meetingRoomsCountException' => '',
'meetingRoomsException' => ''
],
'commonLivingArea' => [
],
'connectivity' => [
'freeWifi' => null,
'freeWifiException' => '',
'publicAreaWifiAvailable' => null,
'publicAreaWifiAvailableException' => '',
'publicInternetTerminal' => null,
'publicInternetTerminalException' => '',
'wifiAvailable' => null,
'wifiAvailableException' => ''
],
'families' => [
'babysitting' => null,
'babysittingException' => '',
'kidsActivities' => null,
'kidsActivitiesException' => '',
'kidsClub' => null,
'kidsClubException' => '',
'kidsFriendly' => null,
'kidsFriendlyException' => ''
],
'foodAndDrink' => [
'bar' => null,
'barException' => '',
'breakfastAvailable' => null,
'breakfastAvailableException' => '',
'breakfastBuffet' => null,
'breakfastBuffetException' => '',
'buffet' => null,
'buffetException' => '',
'dinnerBuffet' => null,
'dinnerBuffetException' => '',
'freeBreakfast' => null,
'freeBreakfastException' => '',
'restaurant' => null,
'restaurantException' => '',
'restaurantsCount' => 0,
'restaurantsCountException' => '',
'roomService' => null,
'roomServiceException' => '',
'tableService' => null,
'tableServiceException' => '',
'twentyFourHourRoomService' => null,
'twentyFourHourRoomServiceException' => '',
'vendingMachine' => null,
'vendingMachineException' => ''
],
'guestUnits' => [
[
'codes' => [
],
'features' => [
],
'label' => ''
]
],
'healthAndSafety' => [
'enhancedCleaning' => [
'commercialGradeDisinfectantCleaning' => null,
'commercialGradeDisinfectantCleaningException' => '',
'commonAreasEnhancedCleaning' => null,
'commonAreasEnhancedCleaningException' => '',
'employeesTrainedCleaningProcedures' => null,
'employeesTrainedCleaningProceduresException' => '',
'employeesTrainedThoroughHandWashing' => null,
'employeesTrainedThoroughHandWashingException' => '',
'employeesWearProtectiveEquipment' => null,
'employeesWearProtectiveEquipmentException' => '',
'guestRoomsEnhancedCleaning' => null,
'guestRoomsEnhancedCleaningException' => ''
],
'increasedFoodSafety' => [
'diningAreasAdditionalSanitation' => null,
'diningAreasAdditionalSanitationException' => '',
'disposableFlatware' => null,
'disposableFlatwareException' => '',
'foodPreparationAndServingAdditionalSafety' => null,
'foodPreparationAndServingAdditionalSafetyException' => '',
'individualPackagedMeals' => null,
'individualPackagedMealsException' => '',
'singleUseFoodMenus' => null,
'singleUseFoodMenusException' => ''
],
'minimizedContact' => [
'contactlessCheckinCheckout' => null,
'contactlessCheckinCheckoutException' => '',
'digitalGuestRoomKeys' => null,
'digitalGuestRoomKeysException' => '',
'housekeepingScheduledRequestOnly' => null,
'housekeepingScheduledRequestOnlyException' => '',
'noHighTouchItemsCommonAreas' => null,
'noHighTouchItemsCommonAreasException' => '',
'noHighTouchItemsGuestRooms' => null,
'noHighTouchItemsGuestRoomsException' => '',
'plasticKeycardsDisinfected' => null,
'plasticKeycardsDisinfectedException' => '',
'roomBookingsBuffer' => null,
'roomBookingsBufferException' => ''
],
'personalProtection' => [
'commonAreasOfferSanitizingItems' => null,
'commonAreasOfferSanitizingItemsException' => '',
'faceMaskRequired' => null,
'faceMaskRequiredException' => '',
'guestRoomHygieneKitsAvailable' => null,
'guestRoomHygieneKitsAvailableException' => '',
'protectiveEquipmentAvailable' => null,
'protectiveEquipmentAvailableException' => ''
],
'physicalDistancing' => [
'commonAreasPhysicalDistancingArranged' => null,
'commonAreasPhysicalDistancingArrangedException' => '',
'physicalDistancingRequired' => null,
'physicalDistancingRequiredException' => '',
'safetyDividers' => null,
'safetyDividersException' => '',
'sharedAreasLimitedOccupancy' => null,
'sharedAreasLimitedOccupancyException' => '',
'wellnessAreasHavePrivateSpaces' => null,
'wellnessAreasHavePrivateSpacesException' => ''
]
],
'housekeeping' => [
'dailyHousekeeping' => null,
'dailyHousekeepingException' => '',
'housekeepingAvailable' => null,
'housekeepingAvailableException' => '',
'turndownService' => null,
'turndownServiceException' => ''
],
'metadata' => [
'updateTime' => ''
],
'name' => '',
'parking' => [
'electricCarChargingStations' => null,
'electricCarChargingStationsException' => '',
'freeParking' => null,
'freeParkingException' => '',
'freeSelfParking' => null,
'freeSelfParkingException' => '',
'freeValetParking' => null,
'freeValetParkingException' => '',
'parkingAvailable' => null,
'parkingAvailableException' => '',
'selfParkingAvailable' => null,
'selfParkingAvailableException' => '',
'valetParkingAvailable' => null,
'valetParkingAvailableException' => ''
],
'pets' => [
'catsAllowed' => null,
'catsAllowedException' => '',
'dogsAllowed' => null,
'dogsAllowedException' => '',
'petsAllowed' => null,
'petsAllowedException' => '',
'petsAllowedFree' => null,
'petsAllowedFreeException' => ''
],
'policies' => [
'allInclusiveAvailable' => null,
'allInclusiveAvailableException' => '',
'allInclusiveOnly' => null,
'allInclusiveOnlyException' => '',
'checkinTime' => [
'hours' => 0,
'minutes' => 0,
'nanos' => 0,
'seconds' => 0
],
'checkinTimeException' => '',
'checkoutTime' => [
],
'checkoutTimeException' => '',
'kidsStayFree' => null,
'kidsStayFreeException' => '',
'maxChildAge' => 0,
'maxChildAgeException' => '',
'maxKidsStayFreeCount' => 0,
'maxKidsStayFreeCountException' => '',
'paymentOptions' => [
'cash' => null,
'cashException' => '',
'cheque' => null,
'chequeException' => '',
'creditCard' => null,
'creditCardException' => '',
'debitCard' => null,
'debitCardException' => '',
'mobileNfc' => null,
'mobileNfcException' => ''
],
'smokeFreeProperty' => null,
'smokeFreePropertyException' => ''
],
'pools' => [
'adultPool' => null,
'adultPoolException' => '',
'hotTub' => null,
'hotTubException' => '',
'indoorPool' => null,
'indoorPoolException' => '',
'indoorPoolsCount' => 0,
'indoorPoolsCountException' => '',
'lazyRiver' => null,
'lazyRiverException' => '',
'lifeguard' => null,
'lifeguardException' => '',
'outdoorPool' => null,
'outdoorPoolException' => '',
'outdoorPoolsCount' => 0,
'outdoorPoolsCountException' => '',
'pool' => null,
'poolException' => '',
'poolsCount' => 0,
'poolsCountException' => '',
'wadingPool' => null,
'wadingPoolException' => '',
'waterPark' => null,
'waterParkException' => '',
'waterslide' => null,
'waterslideException' => '',
'wavePool' => null,
'wavePoolException' => ''
],
'property' => [
'builtYear' => 0,
'builtYearException' => '',
'floorsCount' => 0,
'floorsCountException' => '',
'lastRenovatedYear' => 0,
'lastRenovatedYearException' => '',
'roomsCount' => 0,
'roomsCountException' => ''
],
'services' => [
'baggageStorage' => null,
'baggageStorageException' => '',
'concierge' => null,
'conciergeException' => '',
'convenienceStore' => null,
'convenienceStoreException' => '',
'currencyExchange' => null,
'currencyExchangeException' => '',
'elevator' => null,
'elevatorException' => '',
'frontDesk' => null,
'frontDeskException' => '',
'fullServiceLaundry' => null,
'fullServiceLaundryException' => '',
'giftShop' => null,
'giftShopException' => '',
'languagesSpoken' => [
[
'languageCode' => '',
'spoken' => null,
'spokenException' => ''
]
],
'selfServiceLaundry' => null,
'selfServiceLaundryException' => '',
'socialHour' => null,
'socialHourException' => '',
'twentyFourHourFrontDesk' => null,
'twentyFourHourFrontDeskException' => '',
'wakeUpCalls' => null,
'wakeUpCallsException' => ''
],
'someUnits' => [
],
'sustainability' => [
'energyEfficiency' => [
'carbonFreeEnergySources' => null,
'carbonFreeEnergySourcesException' => '',
'energyConservationProgram' => null,
'energyConservationProgramException' => '',
'energyEfficientHeatingAndCoolingSystems' => null,
'energyEfficientHeatingAndCoolingSystemsException' => '',
'energyEfficientLighting' => null,
'energyEfficientLightingException' => '',
'energySavingThermostats' => null,
'energySavingThermostatsException' => '',
'greenBuildingDesign' => null,
'greenBuildingDesignException' => '',
'independentOrganizationAuditsEnergyUse' => null,
'independentOrganizationAuditsEnergyUseException' => ''
],
'sustainabilityCertifications' => [
'breeamCertification' => '',
'breeamCertificationException' => '',
'ecoCertifications' => [
[
'awarded' => null,
'awardedException' => '',
'ecoCertificate' => ''
]
],
'leedCertification' => '',
'leedCertificationException' => ''
],
'sustainableSourcing' => [
'ecoFriendlyToiletries' => null,
'ecoFriendlyToiletriesException' => '',
'locallySourcedFoodAndBeverages' => null,
'locallySourcedFoodAndBeveragesException' => '',
'organicCageFreeEggs' => null,
'organicCageFreeEggsException' => '',
'organicFoodAndBeverages' => null,
'organicFoodAndBeveragesException' => '',
'responsiblePurchasingPolicy' => null,
'responsiblePurchasingPolicyException' => '',
'responsiblySourcesSeafood' => null,
'responsiblySourcesSeafoodException' => '',
'veganMeals' => null,
'veganMealsException' => '',
'vegetarianMeals' => null,
'vegetarianMealsException' => ''
],
'wasteReduction' => [
'compostableFoodContainersAndCutlery' => null,
'compostableFoodContainersAndCutleryException' => '',
'compostsExcessFood' => null,
'compostsExcessFoodException' => '',
'donatesExcessFood' => null,
'donatesExcessFoodException' => '',
'foodWasteReductionProgram' => null,
'foodWasteReductionProgramException' => '',
'noSingleUsePlasticStraws' => null,
'noSingleUsePlasticStrawsException' => '',
'noSingleUsePlasticWaterBottles' => null,
'noSingleUsePlasticWaterBottlesException' => '',
'noStyrofoamFoodContainers' => null,
'noStyrofoamFoodContainersException' => '',
'recyclingProgram' => null,
'recyclingProgramException' => '',
'refillableToiletryContainers' => null,
'refillableToiletryContainersException' => '',
'safelyDisposesBatteries' => null,
'safelyDisposesBatteriesException' => '',
'safelyDisposesElectronics' => null,
'safelyDisposesElectronicsException' => '',
'safelyDisposesLightbulbs' => null,
'safelyDisposesLightbulbsException' => '',
'safelyHandlesHazardousSubstances' => null,
'safelyHandlesHazardousSubstancesException' => '',
'soapDonationProgram' => null,
'soapDonationProgramException' => '',
'toiletryDonationProgram' => null,
'toiletryDonationProgramException' => '',
'waterBottleFillingStations' => null,
'waterBottleFillingStationsException' => ''
],
'waterConservation' => [
'independentOrganizationAuditsWaterUse' => null,
'independentOrganizationAuditsWaterUseException' => '',
'linenReuseProgram' => null,
'linenReuseProgramException' => '',
'towelReuseProgram' => null,
'towelReuseProgramException' => '',
'waterSavingShowers' => null,
'waterSavingShowersException' => '',
'waterSavingSinks' => null,
'waterSavingSinksException' => '',
'waterSavingToilets' => null,
'waterSavingToiletsException' => ''
]
],
'transportation' => [
'airportShuttle' => null,
'airportShuttleException' => '',
'carRentalOnProperty' => null,
'carRentalOnPropertyException' => '',
'freeAirportShuttle' => null,
'freeAirportShuttleException' => '',
'freePrivateCarService' => null,
'freePrivateCarServiceException' => '',
'localShuttle' => null,
'localShuttleException' => '',
'privateCarService' => null,
'privateCarServiceException' => '',
'transfer' => null,
'transferException' => ''
],
'wellness' => [
'doctorOnCall' => null,
'doctorOnCallException' => '',
'ellipticalMachine' => null,
'ellipticalMachineException' => '',
'fitnessCenter' => null,
'fitnessCenterException' => '',
'freeFitnessCenter' => null,
'freeFitnessCenterException' => '',
'freeWeights' => null,
'freeWeightsException' => '',
'massage' => null,
'massageException' => '',
'salon' => null,
'salonException' => '',
'sauna' => null,
'saunaException' => '',
'spa' => null,
'spaException' => '',
'treadmill' => null,
'treadmillException' => '',
'weightMachine' => null,
'weightMachineException' => ''
]
]));
$request->setRequestUrl('{{baseUrl}}/v1/:name');
$request->setRequestMethod('PATCH');
$request->setBody($body);
$request->setHeaders([
'content-type' => 'application/json'
]);
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/v1/:name' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{
"accessibility": {
"mobilityAccessible": false,
"mobilityAccessibleElevator": false,
"mobilityAccessibleElevatorException": "",
"mobilityAccessibleException": "",
"mobilityAccessibleParking": false,
"mobilityAccessibleParkingException": "",
"mobilityAccessiblePool": false,
"mobilityAccessiblePoolException": ""
},
"activities": {
"beachAccess": false,
"beachAccessException": "",
"beachFront": false,
"beachFrontException": "",
"bicycleRental": false,
"bicycleRentalException": "",
"boutiqueStores": false,
"boutiqueStoresException": "",
"casino": false,
"casinoException": "",
"freeBicycleRental": false,
"freeBicycleRentalException": "",
"freeWatercraftRental": false,
"freeWatercraftRentalException": "",
"gameRoom": false,
"gameRoomException": "",
"golf": false,
"golfException": "",
"horsebackRiding": false,
"horsebackRidingException": "",
"nightclub": false,
"nightclubException": "",
"privateBeach": false,
"privateBeachException": "",
"scuba": false,
"scubaException": "",
"snorkeling": false,
"snorkelingException": "",
"tennis": false,
"tennisException": "",
"waterSkiing": false,
"waterSkiingException": "",
"watercraftRental": false,
"watercraftRentalException": ""
},
"allUnits": {
"bungalowOrVilla": false,
"bungalowOrVillaException": "",
"connectingUnitAvailable": false,
"connectingUnitAvailableException": "",
"executiveFloor": false,
"executiveFloorException": "",
"maxAdultOccupantsCount": 0,
"maxAdultOccupantsCountException": "",
"maxChildOccupantsCount": 0,
"maxChildOccupantsCountException": "",
"maxOccupantsCount": 0,
"maxOccupantsCountException": "",
"privateHome": false,
"privateHomeException": "",
"suite": false,
"suiteException": "",
"tier": "",
"tierException": "",
"totalLivingAreas": {
"accessibility": {
"adaCompliantUnit": false,
"adaCompliantUnitException": "",
"hearingAccessibleDoorbell": false,
"hearingAccessibleDoorbellException": "",
"hearingAccessibleFireAlarm": false,
"hearingAccessibleFireAlarmException": "",
"hearingAccessibleUnit": false,
"hearingAccessibleUnitException": "",
"mobilityAccessibleBathtub": false,
"mobilityAccessibleBathtubException": "",
"mobilityAccessibleShower": false,
"mobilityAccessibleShowerException": "",
"mobilityAccessibleToilet": false,
"mobilityAccessibleToiletException": "",
"mobilityAccessibleUnit": false,
"mobilityAccessibleUnitException": ""
},
"eating": {
"coffeeMaker": false,
"coffeeMakerException": "",
"cookware": false,
"cookwareException": "",
"dishwasher": false,
"dishwasherException": "",
"indoorGrill": false,
"indoorGrillException": "",
"kettle": false,
"kettleException": "",
"kitchenAvailable": false,
"kitchenAvailableException": "",
"microwave": false,
"microwaveException": "",
"minibar": false,
"minibarException": "",
"outdoorGrill": false,
"outdoorGrillException": "",
"oven": false,
"ovenException": "",
"refrigerator": false,
"refrigeratorException": "",
"sink": false,
"sinkException": "",
"snackbar": false,
"snackbarException": "",
"stove": false,
"stoveException": "",
"teaStation": false,
"teaStationException": "",
"toaster": false,
"toasterException": ""
},
"features": {
"airConditioning": false,
"airConditioningException": "",
"bathtub": false,
"bathtubException": "",
"bidet": false,
"bidetException": "",
"dryer": false,
"dryerException": "",
"electronicRoomKey": false,
"electronicRoomKeyException": "",
"fireplace": false,
"fireplaceException": "",
"hairdryer": false,
"hairdryerException": "",
"heating": false,
"heatingException": "",
"inunitSafe": false,
"inunitSafeException": "",
"inunitWifiAvailable": false,
"inunitWifiAvailableException": "",
"ironingEquipment": false,
"ironingEquipmentException": "",
"payPerViewMovies": false,
"payPerViewMoviesException": "",
"privateBathroom": false,
"privateBathroomException": "",
"shower": false,
"showerException": "",
"toilet": false,
"toiletException": "",
"tv": false,
"tvCasting": false,
"tvCastingException": "",
"tvException": "",
"tvStreaming": false,
"tvStreamingException": "",
"universalPowerAdapters": false,
"universalPowerAdaptersException": "",
"washer": false,
"washerException": ""
},
"layout": {
"balcony": false,
"balconyException": "",
"livingAreaSqMeters": "",
"livingAreaSqMetersException": "",
"loft": false,
"loftException": "",
"nonSmoking": false,
"nonSmokingException": "",
"patio": false,
"patioException": "",
"stairs": false,
"stairsException": ""
},
"sleeping": {
"bedsCount": 0,
"bedsCountException": "",
"bunkBedsCount": 0,
"bunkBedsCountException": "",
"cribsCount": 0,
"cribsCountException": "",
"doubleBedsCount": 0,
"doubleBedsCountException": "",
"featherPillows": false,
"featherPillowsException": "",
"hypoallergenicBedding": false,
"hypoallergenicBeddingException": "",
"kingBedsCount": 0,
"kingBedsCountException": "",
"memoryFoamPillows": false,
"memoryFoamPillowsException": "",
"otherBedsCount": 0,
"otherBedsCountException": "",
"queenBedsCount": 0,
"queenBedsCountException": "",
"rollAwayBedsCount": 0,
"rollAwayBedsCountException": "",
"singleOrTwinBedsCount": 0,
"singleOrTwinBedsCountException": "",
"sofaBedsCount": 0,
"sofaBedsCountException": "",
"syntheticPillows": false,
"syntheticPillowsException": ""
}
},
"views": {
"beachView": false,
"beachViewException": "",
"cityView": false,
"cityViewException": "",
"gardenView": false,
"gardenViewException": "",
"lakeView": false,
"lakeViewException": "",
"landmarkView": false,
"landmarkViewException": "",
"oceanView": false,
"oceanViewException": "",
"poolView": false,
"poolViewException": "",
"valleyView": false,
"valleyViewException": ""
}
},
"business": {
"businessCenter": false,
"businessCenterException": "",
"meetingRooms": false,
"meetingRoomsCount": 0,
"meetingRoomsCountException": "",
"meetingRoomsException": ""
},
"commonLivingArea": {},
"connectivity": {
"freeWifi": false,
"freeWifiException": "",
"publicAreaWifiAvailable": false,
"publicAreaWifiAvailableException": "",
"publicInternetTerminal": false,
"publicInternetTerminalException": "",
"wifiAvailable": false,
"wifiAvailableException": ""
},
"families": {
"babysitting": false,
"babysittingException": "",
"kidsActivities": false,
"kidsActivitiesException": "",
"kidsClub": false,
"kidsClubException": "",
"kidsFriendly": false,
"kidsFriendlyException": ""
},
"foodAndDrink": {
"bar": false,
"barException": "",
"breakfastAvailable": false,
"breakfastAvailableException": "",
"breakfastBuffet": false,
"breakfastBuffetException": "",
"buffet": false,
"buffetException": "",
"dinnerBuffet": false,
"dinnerBuffetException": "",
"freeBreakfast": false,
"freeBreakfastException": "",
"restaurant": false,
"restaurantException": "",
"restaurantsCount": 0,
"restaurantsCountException": "",
"roomService": false,
"roomServiceException": "",
"tableService": false,
"tableServiceException": "",
"twentyFourHourRoomService": false,
"twentyFourHourRoomServiceException": "",
"vendingMachine": false,
"vendingMachineException": ""
},
"guestUnits": [
{
"codes": [],
"features": {},
"label": ""
}
],
"healthAndSafety": {
"enhancedCleaning": {
"commercialGradeDisinfectantCleaning": false,
"commercialGradeDisinfectantCleaningException": "",
"commonAreasEnhancedCleaning": false,
"commonAreasEnhancedCleaningException": "",
"employeesTrainedCleaningProcedures": false,
"employeesTrainedCleaningProceduresException": "",
"employeesTrainedThoroughHandWashing": false,
"employeesTrainedThoroughHandWashingException": "",
"employeesWearProtectiveEquipment": false,
"employeesWearProtectiveEquipmentException": "",
"guestRoomsEnhancedCleaning": false,
"guestRoomsEnhancedCleaningException": ""
},
"increasedFoodSafety": {
"diningAreasAdditionalSanitation": false,
"diningAreasAdditionalSanitationException": "",
"disposableFlatware": false,
"disposableFlatwareException": "",
"foodPreparationAndServingAdditionalSafety": false,
"foodPreparationAndServingAdditionalSafetyException": "",
"individualPackagedMeals": false,
"individualPackagedMealsException": "",
"singleUseFoodMenus": false,
"singleUseFoodMenusException": ""
},
"minimizedContact": {
"contactlessCheckinCheckout": false,
"contactlessCheckinCheckoutException": "",
"digitalGuestRoomKeys": false,
"digitalGuestRoomKeysException": "",
"housekeepingScheduledRequestOnly": false,
"housekeepingScheduledRequestOnlyException": "",
"noHighTouchItemsCommonAreas": false,
"noHighTouchItemsCommonAreasException": "",
"noHighTouchItemsGuestRooms": false,
"noHighTouchItemsGuestRoomsException": "",
"plasticKeycardsDisinfected": false,
"plasticKeycardsDisinfectedException": "",
"roomBookingsBuffer": false,
"roomBookingsBufferException": ""
},
"personalProtection": {
"commonAreasOfferSanitizingItems": false,
"commonAreasOfferSanitizingItemsException": "",
"faceMaskRequired": false,
"faceMaskRequiredException": "",
"guestRoomHygieneKitsAvailable": false,
"guestRoomHygieneKitsAvailableException": "",
"protectiveEquipmentAvailable": false,
"protectiveEquipmentAvailableException": ""
},
"physicalDistancing": {
"commonAreasPhysicalDistancingArranged": false,
"commonAreasPhysicalDistancingArrangedException": "",
"physicalDistancingRequired": false,
"physicalDistancingRequiredException": "",
"safetyDividers": false,
"safetyDividersException": "",
"sharedAreasLimitedOccupancy": false,
"sharedAreasLimitedOccupancyException": "",
"wellnessAreasHavePrivateSpaces": false,
"wellnessAreasHavePrivateSpacesException": ""
}
},
"housekeeping": {
"dailyHousekeeping": false,
"dailyHousekeepingException": "",
"housekeepingAvailable": false,
"housekeepingAvailableException": "",
"turndownService": false,
"turndownServiceException": ""
},
"metadata": {
"updateTime": ""
},
"name": "",
"parking": {
"electricCarChargingStations": false,
"electricCarChargingStationsException": "",
"freeParking": false,
"freeParkingException": "",
"freeSelfParking": false,
"freeSelfParkingException": "",
"freeValetParking": false,
"freeValetParkingException": "",
"parkingAvailable": false,
"parkingAvailableException": "",
"selfParkingAvailable": false,
"selfParkingAvailableException": "",
"valetParkingAvailable": false,
"valetParkingAvailableException": ""
},
"pets": {
"catsAllowed": false,
"catsAllowedException": "",
"dogsAllowed": false,
"dogsAllowedException": "",
"petsAllowed": false,
"petsAllowedException": "",
"petsAllowedFree": false,
"petsAllowedFreeException": ""
},
"policies": {
"allInclusiveAvailable": false,
"allInclusiveAvailableException": "",
"allInclusiveOnly": false,
"allInclusiveOnlyException": "",
"checkinTime": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0
},
"checkinTimeException": "",
"checkoutTime": {},
"checkoutTimeException": "",
"kidsStayFree": false,
"kidsStayFreeException": "",
"maxChildAge": 0,
"maxChildAgeException": "",
"maxKidsStayFreeCount": 0,
"maxKidsStayFreeCountException": "",
"paymentOptions": {
"cash": false,
"cashException": "",
"cheque": false,
"chequeException": "",
"creditCard": false,
"creditCardException": "",
"debitCard": false,
"debitCardException": "",
"mobileNfc": false,
"mobileNfcException": ""
},
"smokeFreeProperty": false,
"smokeFreePropertyException": ""
},
"pools": {
"adultPool": false,
"adultPoolException": "",
"hotTub": false,
"hotTubException": "",
"indoorPool": false,
"indoorPoolException": "",
"indoorPoolsCount": 0,
"indoorPoolsCountException": "",
"lazyRiver": false,
"lazyRiverException": "",
"lifeguard": false,
"lifeguardException": "",
"outdoorPool": false,
"outdoorPoolException": "",
"outdoorPoolsCount": 0,
"outdoorPoolsCountException": "",
"pool": false,
"poolException": "",
"poolsCount": 0,
"poolsCountException": "",
"wadingPool": false,
"wadingPoolException": "",
"waterPark": false,
"waterParkException": "",
"waterslide": false,
"waterslideException": "",
"wavePool": false,
"wavePoolException": ""
},
"property": {
"builtYear": 0,
"builtYearException": "",
"floorsCount": 0,
"floorsCountException": "",
"lastRenovatedYear": 0,
"lastRenovatedYearException": "",
"roomsCount": 0,
"roomsCountException": ""
},
"services": {
"baggageStorage": false,
"baggageStorageException": "",
"concierge": false,
"conciergeException": "",
"convenienceStore": false,
"convenienceStoreException": "",
"currencyExchange": false,
"currencyExchangeException": "",
"elevator": false,
"elevatorException": "",
"frontDesk": false,
"frontDeskException": "",
"fullServiceLaundry": false,
"fullServiceLaundryException": "",
"giftShop": false,
"giftShopException": "",
"languagesSpoken": [
{
"languageCode": "",
"spoken": false,
"spokenException": ""
}
],
"selfServiceLaundry": false,
"selfServiceLaundryException": "",
"socialHour": false,
"socialHourException": "",
"twentyFourHourFrontDesk": false,
"twentyFourHourFrontDeskException": "",
"wakeUpCalls": false,
"wakeUpCallsException": ""
},
"someUnits": {},
"sustainability": {
"energyEfficiency": {
"carbonFreeEnergySources": false,
"carbonFreeEnergySourcesException": "",
"energyConservationProgram": false,
"energyConservationProgramException": "",
"energyEfficientHeatingAndCoolingSystems": false,
"energyEfficientHeatingAndCoolingSystemsException": "",
"energyEfficientLighting": false,
"energyEfficientLightingException": "",
"energySavingThermostats": false,
"energySavingThermostatsException": "",
"greenBuildingDesign": false,
"greenBuildingDesignException": "",
"independentOrganizationAuditsEnergyUse": false,
"independentOrganizationAuditsEnergyUseException": ""
},
"sustainabilityCertifications": {
"breeamCertification": "",
"breeamCertificationException": "",
"ecoCertifications": [
{
"awarded": false,
"awardedException": "",
"ecoCertificate": ""
}
],
"leedCertification": "",
"leedCertificationException": ""
},
"sustainableSourcing": {
"ecoFriendlyToiletries": false,
"ecoFriendlyToiletriesException": "",
"locallySourcedFoodAndBeverages": false,
"locallySourcedFoodAndBeveragesException": "",
"organicCageFreeEggs": false,
"organicCageFreeEggsException": "",
"organicFoodAndBeverages": false,
"organicFoodAndBeveragesException": "",
"responsiblePurchasingPolicy": false,
"responsiblePurchasingPolicyException": "",
"responsiblySourcesSeafood": false,
"responsiblySourcesSeafoodException": "",
"veganMeals": false,
"veganMealsException": "",
"vegetarianMeals": false,
"vegetarianMealsException": ""
},
"wasteReduction": {
"compostableFoodContainersAndCutlery": false,
"compostableFoodContainersAndCutleryException": "",
"compostsExcessFood": false,
"compostsExcessFoodException": "",
"donatesExcessFood": false,
"donatesExcessFoodException": "",
"foodWasteReductionProgram": false,
"foodWasteReductionProgramException": "",
"noSingleUsePlasticStraws": false,
"noSingleUsePlasticStrawsException": "",
"noSingleUsePlasticWaterBottles": false,
"noSingleUsePlasticWaterBottlesException": "",
"noStyrofoamFoodContainers": false,
"noStyrofoamFoodContainersException": "",
"recyclingProgram": false,
"recyclingProgramException": "",
"refillableToiletryContainers": false,
"refillableToiletryContainersException": "",
"safelyDisposesBatteries": false,
"safelyDisposesBatteriesException": "",
"safelyDisposesElectronics": false,
"safelyDisposesElectronicsException": "",
"safelyDisposesLightbulbs": false,
"safelyDisposesLightbulbsException": "",
"safelyHandlesHazardousSubstances": false,
"safelyHandlesHazardousSubstancesException": "",
"soapDonationProgram": false,
"soapDonationProgramException": "",
"toiletryDonationProgram": false,
"toiletryDonationProgramException": "",
"waterBottleFillingStations": false,
"waterBottleFillingStationsException": ""
},
"waterConservation": {
"independentOrganizationAuditsWaterUse": false,
"independentOrganizationAuditsWaterUseException": "",
"linenReuseProgram": false,
"linenReuseProgramException": "",
"towelReuseProgram": false,
"towelReuseProgramException": "",
"waterSavingShowers": false,
"waterSavingShowersException": "",
"waterSavingSinks": false,
"waterSavingSinksException": "",
"waterSavingToilets": false,
"waterSavingToiletsException": ""
}
},
"transportation": {
"airportShuttle": false,
"airportShuttleException": "",
"carRentalOnProperty": false,
"carRentalOnPropertyException": "",
"freeAirportShuttle": false,
"freeAirportShuttleException": "",
"freePrivateCarService": false,
"freePrivateCarServiceException": "",
"localShuttle": false,
"localShuttleException": "",
"privateCarService": false,
"privateCarServiceException": "",
"transfer": false,
"transferException": ""
},
"wellness": {
"doctorOnCall": false,
"doctorOnCallException": "",
"ellipticalMachine": false,
"ellipticalMachineException": "",
"fitnessCenter": false,
"fitnessCenterException": "",
"freeFitnessCenter": false,
"freeFitnessCenterException": "",
"freeWeights": false,
"freeWeightsException": "",
"massage": false,
"massageException": "",
"salon": false,
"salonException": "",
"sauna": false,
"saunaException": "",
"spa": false,
"spaException": "",
"treadmill": false,
"treadmillException": "",
"weightMachine": false,
"weightMachineException": ""
}
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/v1/:name' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{
"accessibility": {
"mobilityAccessible": false,
"mobilityAccessibleElevator": false,
"mobilityAccessibleElevatorException": "",
"mobilityAccessibleException": "",
"mobilityAccessibleParking": false,
"mobilityAccessibleParkingException": "",
"mobilityAccessiblePool": false,
"mobilityAccessiblePoolException": ""
},
"activities": {
"beachAccess": false,
"beachAccessException": "",
"beachFront": false,
"beachFrontException": "",
"bicycleRental": false,
"bicycleRentalException": "",
"boutiqueStores": false,
"boutiqueStoresException": "",
"casino": false,
"casinoException": "",
"freeBicycleRental": false,
"freeBicycleRentalException": "",
"freeWatercraftRental": false,
"freeWatercraftRentalException": "",
"gameRoom": false,
"gameRoomException": "",
"golf": false,
"golfException": "",
"horsebackRiding": false,
"horsebackRidingException": "",
"nightclub": false,
"nightclubException": "",
"privateBeach": false,
"privateBeachException": "",
"scuba": false,
"scubaException": "",
"snorkeling": false,
"snorkelingException": "",
"tennis": false,
"tennisException": "",
"waterSkiing": false,
"waterSkiingException": "",
"watercraftRental": false,
"watercraftRentalException": ""
},
"allUnits": {
"bungalowOrVilla": false,
"bungalowOrVillaException": "",
"connectingUnitAvailable": false,
"connectingUnitAvailableException": "",
"executiveFloor": false,
"executiveFloorException": "",
"maxAdultOccupantsCount": 0,
"maxAdultOccupantsCountException": "",
"maxChildOccupantsCount": 0,
"maxChildOccupantsCountException": "",
"maxOccupantsCount": 0,
"maxOccupantsCountException": "",
"privateHome": false,
"privateHomeException": "",
"suite": false,
"suiteException": "",
"tier": "",
"tierException": "",
"totalLivingAreas": {
"accessibility": {
"adaCompliantUnit": false,
"adaCompliantUnitException": "",
"hearingAccessibleDoorbell": false,
"hearingAccessibleDoorbellException": "",
"hearingAccessibleFireAlarm": false,
"hearingAccessibleFireAlarmException": "",
"hearingAccessibleUnit": false,
"hearingAccessibleUnitException": "",
"mobilityAccessibleBathtub": false,
"mobilityAccessibleBathtubException": "",
"mobilityAccessibleShower": false,
"mobilityAccessibleShowerException": "",
"mobilityAccessibleToilet": false,
"mobilityAccessibleToiletException": "",
"mobilityAccessibleUnit": false,
"mobilityAccessibleUnitException": ""
},
"eating": {
"coffeeMaker": false,
"coffeeMakerException": "",
"cookware": false,
"cookwareException": "",
"dishwasher": false,
"dishwasherException": "",
"indoorGrill": false,
"indoorGrillException": "",
"kettle": false,
"kettleException": "",
"kitchenAvailable": false,
"kitchenAvailableException": "",
"microwave": false,
"microwaveException": "",
"minibar": false,
"minibarException": "",
"outdoorGrill": false,
"outdoorGrillException": "",
"oven": false,
"ovenException": "",
"refrigerator": false,
"refrigeratorException": "",
"sink": false,
"sinkException": "",
"snackbar": false,
"snackbarException": "",
"stove": false,
"stoveException": "",
"teaStation": false,
"teaStationException": "",
"toaster": false,
"toasterException": ""
},
"features": {
"airConditioning": false,
"airConditioningException": "",
"bathtub": false,
"bathtubException": "",
"bidet": false,
"bidetException": "",
"dryer": false,
"dryerException": "",
"electronicRoomKey": false,
"electronicRoomKeyException": "",
"fireplace": false,
"fireplaceException": "",
"hairdryer": false,
"hairdryerException": "",
"heating": false,
"heatingException": "",
"inunitSafe": false,
"inunitSafeException": "",
"inunitWifiAvailable": false,
"inunitWifiAvailableException": "",
"ironingEquipment": false,
"ironingEquipmentException": "",
"payPerViewMovies": false,
"payPerViewMoviesException": "",
"privateBathroom": false,
"privateBathroomException": "",
"shower": false,
"showerException": "",
"toilet": false,
"toiletException": "",
"tv": false,
"tvCasting": false,
"tvCastingException": "",
"tvException": "",
"tvStreaming": false,
"tvStreamingException": "",
"universalPowerAdapters": false,
"universalPowerAdaptersException": "",
"washer": false,
"washerException": ""
},
"layout": {
"balcony": false,
"balconyException": "",
"livingAreaSqMeters": "",
"livingAreaSqMetersException": "",
"loft": false,
"loftException": "",
"nonSmoking": false,
"nonSmokingException": "",
"patio": false,
"patioException": "",
"stairs": false,
"stairsException": ""
},
"sleeping": {
"bedsCount": 0,
"bedsCountException": "",
"bunkBedsCount": 0,
"bunkBedsCountException": "",
"cribsCount": 0,
"cribsCountException": "",
"doubleBedsCount": 0,
"doubleBedsCountException": "",
"featherPillows": false,
"featherPillowsException": "",
"hypoallergenicBedding": false,
"hypoallergenicBeddingException": "",
"kingBedsCount": 0,
"kingBedsCountException": "",
"memoryFoamPillows": false,
"memoryFoamPillowsException": "",
"otherBedsCount": 0,
"otherBedsCountException": "",
"queenBedsCount": 0,
"queenBedsCountException": "",
"rollAwayBedsCount": 0,
"rollAwayBedsCountException": "",
"singleOrTwinBedsCount": 0,
"singleOrTwinBedsCountException": "",
"sofaBedsCount": 0,
"sofaBedsCountException": "",
"syntheticPillows": false,
"syntheticPillowsException": ""
}
},
"views": {
"beachView": false,
"beachViewException": "",
"cityView": false,
"cityViewException": "",
"gardenView": false,
"gardenViewException": "",
"lakeView": false,
"lakeViewException": "",
"landmarkView": false,
"landmarkViewException": "",
"oceanView": false,
"oceanViewException": "",
"poolView": false,
"poolViewException": "",
"valleyView": false,
"valleyViewException": ""
}
},
"business": {
"businessCenter": false,
"businessCenterException": "",
"meetingRooms": false,
"meetingRoomsCount": 0,
"meetingRoomsCountException": "",
"meetingRoomsException": ""
},
"commonLivingArea": {},
"connectivity": {
"freeWifi": false,
"freeWifiException": "",
"publicAreaWifiAvailable": false,
"publicAreaWifiAvailableException": "",
"publicInternetTerminal": false,
"publicInternetTerminalException": "",
"wifiAvailable": false,
"wifiAvailableException": ""
},
"families": {
"babysitting": false,
"babysittingException": "",
"kidsActivities": false,
"kidsActivitiesException": "",
"kidsClub": false,
"kidsClubException": "",
"kidsFriendly": false,
"kidsFriendlyException": ""
},
"foodAndDrink": {
"bar": false,
"barException": "",
"breakfastAvailable": false,
"breakfastAvailableException": "",
"breakfastBuffet": false,
"breakfastBuffetException": "",
"buffet": false,
"buffetException": "",
"dinnerBuffet": false,
"dinnerBuffetException": "",
"freeBreakfast": false,
"freeBreakfastException": "",
"restaurant": false,
"restaurantException": "",
"restaurantsCount": 0,
"restaurantsCountException": "",
"roomService": false,
"roomServiceException": "",
"tableService": false,
"tableServiceException": "",
"twentyFourHourRoomService": false,
"twentyFourHourRoomServiceException": "",
"vendingMachine": false,
"vendingMachineException": ""
},
"guestUnits": [
{
"codes": [],
"features": {},
"label": ""
}
],
"healthAndSafety": {
"enhancedCleaning": {
"commercialGradeDisinfectantCleaning": false,
"commercialGradeDisinfectantCleaningException": "",
"commonAreasEnhancedCleaning": false,
"commonAreasEnhancedCleaningException": "",
"employeesTrainedCleaningProcedures": false,
"employeesTrainedCleaningProceduresException": "",
"employeesTrainedThoroughHandWashing": false,
"employeesTrainedThoroughHandWashingException": "",
"employeesWearProtectiveEquipment": false,
"employeesWearProtectiveEquipmentException": "",
"guestRoomsEnhancedCleaning": false,
"guestRoomsEnhancedCleaningException": ""
},
"increasedFoodSafety": {
"diningAreasAdditionalSanitation": false,
"diningAreasAdditionalSanitationException": "",
"disposableFlatware": false,
"disposableFlatwareException": "",
"foodPreparationAndServingAdditionalSafety": false,
"foodPreparationAndServingAdditionalSafetyException": "",
"individualPackagedMeals": false,
"individualPackagedMealsException": "",
"singleUseFoodMenus": false,
"singleUseFoodMenusException": ""
},
"minimizedContact": {
"contactlessCheckinCheckout": false,
"contactlessCheckinCheckoutException": "",
"digitalGuestRoomKeys": false,
"digitalGuestRoomKeysException": "",
"housekeepingScheduledRequestOnly": false,
"housekeepingScheduledRequestOnlyException": "",
"noHighTouchItemsCommonAreas": false,
"noHighTouchItemsCommonAreasException": "",
"noHighTouchItemsGuestRooms": false,
"noHighTouchItemsGuestRoomsException": "",
"plasticKeycardsDisinfected": false,
"plasticKeycardsDisinfectedException": "",
"roomBookingsBuffer": false,
"roomBookingsBufferException": ""
},
"personalProtection": {
"commonAreasOfferSanitizingItems": false,
"commonAreasOfferSanitizingItemsException": "",
"faceMaskRequired": false,
"faceMaskRequiredException": "",
"guestRoomHygieneKitsAvailable": false,
"guestRoomHygieneKitsAvailableException": "",
"protectiveEquipmentAvailable": false,
"protectiveEquipmentAvailableException": ""
},
"physicalDistancing": {
"commonAreasPhysicalDistancingArranged": false,
"commonAreasPhysicalDistancingArrangedException": "",
"physicalDistancingRequired": false,
"physicalDistancingRequiredException": "",
"safetyDividers": false,
"safetyDividersException": "",
"sharedAreasLimitedOccupancy": false,
"sharedAreasLimitedOccupancyException": "",
"wellnessAreasHavePrivateSpaces": false,
"wellnessAreasHavePrivateSpacesException": ""
}
},
"housekeeping": {
"dailyHousekeeping": false,
"dailyHousekeepingException": "",
"housekeepingAvailable": false,
"housekeepingAvailableException": "",
"turndownService": false,
"turndownServiceException": ""
},
"metadata": {
"updateTime": ""
},
"name": "",
"parking": {
"electricCarChargingStations": false,
"electricCarChargingStationsException": "",
"freeParking": false,
"freeParkingException": "",
"freeSelfParking": false,
"freeSelfParkingException": "",
"freeValetParking": false,
"freeValetParkingException": "",
"parkingAvailable": false,
"parkingAvailableException": "",
"selfParkingAvailable": false,
"selfParkingAvailableException": "",
"valetParkingAvailable": false,
"valetParkingAvailableException": ""
},
"pets": {
"catsAllowed": false,
"catsAllowedException": "",
"dogsAllowed": false,
"dogsAllowedException": "",
"petsAllowed": false,
"petsAllowedException": "",
"petsAllowedFree": false,
"petsAllowedFreeException": ""
},
"policies": {
"allInclusiveAvailable": false,
"allInclusiveAvailableException": "",
"allInclusiveOnly": false,
"allInclusiveOnlyException": "",
"checkinTime": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0
},
"checkinTimeException": "",
"checkoutTime": {},
"checkoutTimeException": "",
"kidsStayFree": false,
"kidsStayFreeException": "",
"maxChildAge": 0,
"maxChildAgeException": "",
"maxKidsStayFreeCount": 0,
"maxKidsStayFreeCountException": "",
"paymentOptions": {
"cash": false,
"cashException": "",
"cheque": false,
"chequeException": "",
"creditCard": false,
"creditCardException": "",
"debitCard": false,
"debitCardException": "",
"mobileNfc": false,
"mobileNfcException": ""
},
"smokeFreeProperty": false,
"smokeFreePropertyException": ""
},
"pools": {
"adultPool": false,
"adultPoolException": "",
"hotTub": false,
"hotTubException": "",
"indoorPool": false,
"indoorPoolException": "",
"indoorPoolsCount": 0,
"indoorPoolsCountException": "",
"lazyRiver": false,
"lazyRiverException": "",
"lifeguard": false,
"lifeguardException": "",
"outdoorPool": false,
"outdoorPoolException": "",
"outdoorPoolsCount": 0,
"outdoorPoolsCountException": "",
"pool": false,
"poolException": "",
"poolsCount": 0,
"poolsCountException": "",
"wadingPool": false,
"wadingPoolException": "",
"waterPark": false,
"waterParkException": "",
"waterslide": false,
"waterslideException": "",
"wavePool": false,
"wavePoolException": ""
},
"property": {
"builtYear": 0,
"builtYearException": "",
"floorsCount": 0,
"floorsCountException": "",
"lastRenovatedYear": 0,
"lastRenovatedYearException": "",
"roomsCount": 0,
"roomsCountException": ""
},
"services": {
"baggageStorage": false,
"baggageStorageException": "",
"concierge": false,
"conciergeException": "",
"convenienceStore": false,
"convenienceStoreException": "",
"currencyExchange": false,
"currencyExchangeException": "",
"elevator": false,
"elevatorException": "",
"frontDesk": false,
"frontDeskException": "",
"fullServiceLaundry": false,
"fullServiceLaundryException": "",
"giftShop": false,
"giftShopException": "",
"languagesSpoken": [
{
"languageCode": "",
"spoken": false,
"spokenException": ""
}
],
"selfServiceLaundry": false,
"selfServiceLaundryException": "",
"socialHour": false,
"socialHourException": "",
"twentyFourHourFrontDesk": false,
"twentyFourHourFrontDeskException": "",
"wakeUpCalls": false,
"wakeUpCallsException": ""
},
"someUnits": {},
"sustainability": {
"energyEfficiency": {
"carbonFreeEnergySources": false,
"carbonFreeEnergySourcesException": "",
"energyConservationProgram": false,
"energyConservationProgramException": "",
"energyEfficientHeatingAndCoolingSystems": false,
"energyEfficientHeatingAndCoolingSystemsException": "",
"energyEfficientLighting": false,
"energyEfficientLightingException": "",
"energySavingThermostats": false,
"energySavingThermostatsException": "",
"greenBuildingDesign": false,
"greenBuildingDesignException": "",
"independentOrganizationAuditsEnergyUse": false,
"independentOrganizationAuditsEnergyUseException": ""
},
"sustainabilityCertifications": {
"breeamCertification": "",
"breeamCertificationException": "",
"ecoCertifications": [
{
"awarded": false,
"awardedException": "",
"ecoCertificate": ""
}
],
"leedCertification": "",
"leedCertificationException": ""
},
"sustainableSourcing": {
"ecoFriendlyToiletries": false,
"ecoFriendlyToiletriesException": "",
"locallySourcedFoodAndBeverages": false,
"locallySourcedFoodAndBeveragesException": "",
"organicCageFreeEggs": false,
"organicCageFreeEggsException": "",
"organicFoodAndBeverages": false,
"organicFoodAndBeveragesException": "",
"responsiblePurchasingPolicy": false,
"responsiblePurchasingPolicyException": "",
"responsiblySourcesSeafood": false,
"responsiblySourcesSeafoodException": "",
"veganMeals": false,
"veganMealsException": "",
"vegetarianMeals": false,
"vegetarianMealsException": ""
},
"wasteReduction": {
"compostableFoodContainersAndCutlery": false,
"compostableFoodContainersAndCutleryException": "",
"compostsExcessFood": false,
"compostsExcessFoodException": "",
"donatesExcessFood": false,
"donatesExcessFoodException": "",
"foodWasteReductionProgram": false,
"foodWasteReductionProgramException": "",
"noSingleUsePlasticStraws": false,
"noSingleUsePlasticStrawsException": "",
"noSingleUsePlasticWaterBottles": false,
"noSingleUsePlasticWaterBottlesException": "",
"noStyrofoamFoodContainers": false,
"noStyrofoamFoodContainersException": "",
"recyclingProgram": false,
"recyclingProgramException": "",
"refillableToiletryContainers": false,
"refillableToiletryContainersException": "",
"safelyDisposesBatteries": false,
"safelyDisposesBatteriesException": "",
"safelyDisposesElectronics": false,
"safelyDisposesElectronicsException": "",
"safelyDisposesLightbulbs": false,
"safelyDisposesLightbulbsException": "",
"safelyHandlesHazardousSubstances": false,
"safelyHandlesHazardousSubstancesException": "",
"soapDonationProgram": false,
"soapDonationProgramException": "",
"toiletryDonationProgram": false,
"toiletryDonationProgramException": "",
"waterBottleFillingStations": false,
"waterBottleFillingStationsException": ""
},
"waterConservation": {
"independentOrganizationAuditsWaterUse": false,
"independentOrganizationAuditsWaterUseException": "",
"linenReuseProgram": false,
"linenReuseProgramException": "",
"towelReuseProgram": false,
"towelReuseProgramException": "",
"waterSavingShowers": false,
"waterSavingShowersException": "",
"waterSavingSinks": false,
"waterSavingSinksException": "",
"waterSavingToilets": false,
"waterSavingToiletsException": ""
}
},
"transportation": {
"airportShuttle": false,
"airportShuttleException": "",
"carRentalOnProperty": false,
"carRentalOnPropertyException": "",
"freeAirportShuttle": false,
"freeAirportShuttleException": "",
"freePrivateCarService": false,
"freePrivateCarServiceException": "",
"localShuttle": false,
"localShuttleException": "",
"privateCarService": false,
"privateCarServiceException": "",
"transfer": false,
"transferException": ""
},
"wellness": {
"doctorOnCall": false,
"doctorOnCallException": "",
"ellipticalMachine": false,
"ellipticalMachineException": "",
"fitnessCenter": false,
"fitnessCenterException": "",
"freeFitnessCenter": false,
"freeFitnessCenterException": "",
"freeWeights": false,
"freeWeightsException": "",
"massage": false,
"massageException": "",
"salon": false,
"salonException": "",
"sauna": false,
"saunaException": "",
"spa": false,
"spaException": "",
"treadmill": false,
"treadmillException": "",
"weightMachine": false,
"weightMachineException": ""
}
}'
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = "{\n \"accessibility\": {\n \"mobilityAccessible\": false,\n \"mobilityAccessibleElevator\": false,\n \"mobilityAccessibleElevatorException\": \"\",\n \"mobilityAccessibleException\": \"\",\n \"mobilityAccessibleParking\": false,\n \"mobilityAccessibleParkingException\": \"\",\n \"mobilityAccessiblePool\": false,\n \"mobilityAccessiblePoolException\": \"\"\n },\n \"activities\": {\n \"beachAccess\": false,\n \"beachAccessException\": \"\",\n \"beachFront\": false,\n \"beachFrontException\": \"\",\n \"bicycleRental\": false,\n \"bicycleRentalException\": \"\",\n \"boutiqueStores\": false,\n \"boutiqueStoresException\": \"\",\n \"casino\": false,\n \"casinoException\": \"\",\n \"freeBicycleRental\": false,\n \"freeBicycleRentalException\": \"\",\n \"freeWatercraftRental\": false,\n \"freeWatercraftRentalException\": \"\",\n \"gameRoom\": false,\n \"gameRoomException\": \"\",\n \"golf\": false,\n \"golfException\": \"\",\n \"horsebackRiding\": false,\n \"horsebackRidingException\": \"\",\n \"nightclub\": false,\n \"nightclubException\": \"\",\n \"privateBeach\": false,\n \"privateBeachException\": \"\",\n \"scuba\": false,\n \"scubaException\": \"\",\n \"snorkeling\": false,\n \"snorkelingException\": \"\",\n \"tennis\": false,\n \"tennisException\": \"\",\n \"waterSkiing\": false,\n \"waterSkiingException\": \"\",\n \"watercraftRental\": false,\n \"watercraftRentalException\": \"\"\n },\n \"allUnits\": {\n \"bungalowOrVilla\": false,\n \"bungalowOrVillaException\": \"\",\n \"connectingUnitAvailable\": false,\n \"connectingUnitAvailableException\": \"\",\n \"executiveFloor\": false,\n \"executiveFloorException\": \"\",\n \"maxAdultOccupantsCount\": 0,\n \"maxAdultOccupantsCountException\": \"\",\n \"maxChildOccupantsCount\": 0,\n \"maxChildOccupantsCountException\": \"\",\n \"maxOccupantsCount\": 0,\n \"maxOccupantsCountException\": \"\",\n \"privateHome\": false,\n \"privateHomeException\": \"\",\n \"suite\": false,\n \"suiteException\": \"\",\n \"tier\": \"\",\n \"tierException\": \"\",\n \"totalLivingAreas\": {\n \"accessibility\": {\n \"adaCompliantUnit\": false,\n \"adaCompliantUnitException\": \"\",\n \"hearingAccessibleDoorbell\": false,\n \"hearingAccessibleDoorbellException\": \"\",\n \"hearingAccessibleFireAlarm\": false,\n \"hearingAccessibleFireAlarmException\": \"\",\n \"hearingAccessibleUnit\": false,\n \"hearingAccessibleUnitException\": \"\",\n \"mobilityAccessibleBathtub\": false,\n \"mobilityAccessibleBathtubException\": \"\",\n \"mobilityAccessibleShower\": false,\n \"mobilityAccessibleShowerException\": \"\",\n \"mobilityAccessibleToilet\": false,\n \"mobilityAccessibleToiletException\": \"\",\n \"mobilityAccessibleUnit\": false,\n \"mobilityAccessibleUnitException\": \"\"\n },\n \"eating\": {\n \"coffeeMaker\": false,\n \"coffeeMakerException\": \"\",\n \"cookware\": false,\n \"cookwareException\": \"\",\n \"dishwasher\": false,\n \"dishwasherException\": \"\",\n \"indoorGrill\": false,\n \"indoorGrillException\": \"\",\n \"kettle\": false,\n \"kettleException\": \"\",\n \"kitchenAvailable\": false,\n \"kitchenAvailableException\": \"\",\n \"microwave\": false,\n \"microwaveException\": \"\",\n \"minibar\": false,\n \"minibarException\": \"\",\n \"outdoorGrill\": false,\n \"outdoorGrillException\": \"\",\n \"oven\": false,\n \"ovenException\": \"\",\n \"refrigerator\": false,\n \"refrigeratorException\": \"\",\n \"sink\": false,\n \"sinkException\": \"\",\n \"snackbar\": false,\n \"snackbarException\": \"\",\n \"stove\": false,\n \"stoveException\": \"\",\n \"teaStation\": false,\n \"teaStationException\": \"\",\n \"toaster\": false,\n \"toasterException\": \"\"\n },\n \"features\": {\n \"airConditioning\": false,\n \"airConditioningException\": \"\",\n \"bathtub\": false,\n \"bathtubException\": \"\",\n \"bidet\": false,\n \"bidetException\": \"\",\n \"dryer\": false,\n \"dryerException\": \"\",\n \"electronicRoomKey\": false,\n \"electronicRoomKeyException\": \"\",\n \"fireplace\": false,\n \"fireplaceException\": \"\",\n \"hairdryer\": false,\n \"hairdryerException\": \"\",\n \"heating\": false,\n \"heatingException\": \"\",\n \"inunitSafe\": false,\n \"inunitSafeException\": \"\",\n \"inunitWifiAvailable\": false,\n \"inunitWifiAvailableException\": \"\",\n \"ironingEquipment\": false,\n \"ironingEquipmentException\": \"\",\n \"payPerViewMovies\": false,\n \"payPerViewMoviesException\": \"\",\n \"privateBathroom\": false,\n \"privateBathroomException\": \"\",\n \"shower\": false,\n \"showerException\": \"\",\n \"toilet\": false,\n \"toiletException\": \"\",\n \"tv\": false,\n \"tvCasting\": false,\n \"tvCastingException\": \"\",\n \"tvException\": \"\",\n \"tvStreaming\": false,\n \"tvStreamingException\": \"\",\n \"universalPowerAdapters\": false,\n \"universalPowerAdaptersException\": \"\",\n \"washer\": false,\n \"washerException\": \"\"\n },\n \"layout\": {\n \"balcony\": false,\n \"balconyException\": \"\",\n \"livingAreaSqMeters\": \"\",\n \"livingAreaSqMetersException\": \"\",\n \"loft\": false,\n \"loftException\": \"\",\n \"nonSmoking\": false,\n \"nonSmokingException\": \"\",\n \"patio\": false,\n \"patioException\": \"\",\n \"stairs\": false,\n \"stairsException\": \"\"\n },\n \"sleeping\": {\n \"bedsCount\": 0,\n \"bedsCountException\": \"\",\n \"bunkBedsCount\": 0,\n \"bunkBedsCountException\": \"\",\n \"cribsCount\": 0,\n \"cribsCountException\": \"\",\n \"doubleBedsCount\": 0,\n \"doubleBedsCountException\": \"\",\n \"featherPillows\": false,\n \"featherPillowsException\": \"\",\n \"hypoallergenicBedding\": false,\n \"hypoallergenicBeddingException\": \"\",\n \"kingBedsCount\": 0,\n \"kingBedsCountException\": \"\",\n \"memoryFoamPillows\": false,\n \"memoryFoamPillowsException\": \"\",\n \"otherBedsCount\": 0,\n \"otherBedsCountException\": \"\",\n \"queenBedsCount\": 0,\n \"queenBedsCountException\": \"\",\n \"rollAwayBedsCount\": 0,\n \"rollAwayBedsCountException\": \"\",\n \"singleOrTwinBedsCount\": 0,\n \"singleOrTwinBedsCountException\": \"\",\n \"sofaBedsCount\": 0,\n \"sofaBedsCountException\": \"\",\n \"syntheticPillows\": false,\n \"syntheticPillowsException\": \"\"\n }\n },\n \"views\": {\n \"beachView\": false,\n \"beachViewException\": \"\",\n \"cityView\": false,\n \"cityViewException\": \"\",\n \"gardenView\": false,\n \"gardenViewException\": \"\",\n \"lakeView\": false,\n \"lakeViewException\": \"\",\n \"landmarkView\": false,\n \"landmarkViewException\": \"\",\n \"oceanView\": false,\n \"oceanViewException\": \"\",\n \"poolView\": false,\n \"poolViewException\": \"\",\n \"valleyView\": false,\n \"valleyViewException\": \"\"\n }\n },\n \"business\": {\n \"businessCenter\": false,\n \"businessCenterException\": \"\",\n \"meetingRooms\": false,\n \"meetingRoomsCount\": 0,\n \"meetingRoomsCountException\": \"\",\n \"meetingRoomsException\": \"\"\n },\n \"commonLivingArea\": {},\n \"connectivity\": {\n \"freeWifi\": false,\n \"freeWifiException\": \"\",\n \"publicAreaWifiAvailable\": false,\n \"publicAreaWifiAvailableException\": \"\",\n \"publicInternetTerminal\": false,\n \"publicInternetTerminalException\": \"\",\n \"wifiAvailable\": false,\n \"wifiAvailableException\": \"\"\n },\n \"families\": {\n \"babysitting\": false,\n \"babysittingException\": \"\",\n \"kidsActivities\": false,\n \"kidsActivitiesException\": \"\",\n \"kidsClub\": false,\n \"kidsClubException\": \"\",\n \"kidsFriendly\": false,\n \"kidsFriendlyException\": \"\"\n },\n \"foodAndDrink\": {\n \"bar\": false,\n \"barException\": \"\",\n \"breakfastAvailable\": false,\n \"breakfastAvailableException\": \"\",\n \"breakfastBuffet\": false,\n \"breakfastBuffetException\": \"\",\n \"buffet\": false,\n \"buffetException\": \"\",\n \"dinnerBuffet\": false,\n \"dinnerBuffetException\": \"\",\n \"freeBreakfast\": false,\n \"freeBreakfastException\": \"\",\n \"restaurant\": false,\n \"restaurantException\": \"\",\n \"restaurantsCount\": 0,\n \"restaurantsCountException\": \"\",\n \"roomService\": false,\n \"roomServiceException\": \"\",\n \"tableService\": false,\n \"tableServiceException\": \"\",\n \"twentyFourHourRoomService\": false,\n \"twentyFourHourRoomServiceException\": \"\",\n \"vendingMachine\": false,\n \"vendingMachineException\": \"\"\n },\n \"guestUnits\": [\n {\n \"codes\": [],\n \"features\": {},\n \"label\": \"\"\n }\n ],\n \"healthAndSafety\": {\n \"enhancedCleaning\": {\n \"commercialGradeDisinfectantCleaning\": false,\n \"commercialGradeDisinfectantCleaningException\": \"\",\n \"commonAreasEnhancedCleaning\": false,\n \"commonAreasEnhancedCleaningException\": \"\",\n \"employeesTrainedCleaningProcedures\": false,\n \"employeesTrainedCleaningProceduresException\": \"\",\n \"employeesTrainedThoroughHandWashing\": false,\n \"employeesTrainedThoroughHandWashingException\": \"\",\n \"employeesWearProtectiveEquipment\": false,\n \"employeesWearProtectiveEquipmentException\": \"\",\n \"guestRoomsEnhancedCleaning\": false,\n \"guestRoomsEnhancedCleaningException\": \"\"\n },\n \"increasedFoodSafety\": {\n \"diningAreasAdditionalSanitation\": false,\n \"diningAreasAdditionalSanitationException\": \"\",\n \"disposableFlatware\": false,\n \"disposableFlatwareException\": \"\",\n \"foodPreparationAndServingAdditionalSafety\": false,\n \"foodPreparationAndServingAdditionalSafetyException\": \"\",\n \"individualPackagedMeals\": false,\n \"individualPackagedMealsException\": \"\",\n \"singleUseFoodMenus\": false,\n \"singleUseFoodMenusException\": \"\"\n },\n \"minimizedContact\": {\n \"contactlessCheckinCheckout\": false,\n \"contactlessCheckinCheckoutException\": \"\",\n \"digitalGuestRoomKeys\": false,\n \"digitalGuestRoomKeysException\": \"\",\n \"housekeepingScheduledRequestOnly\": false,\n \"housekeepingScheduledRequestOnlyException\": \"\",\n \"noHighTouchItemsCommonAreas\": false,\n \"noHighTouchItemsCommonAreasException\": \"\",\n \"noHighTouchItemsGuestRooms\": false,\n \"noHighTouchItemsGuestRoomsException\": \"\",\n \"plasticKeycardsDisinfected\": false,\n \"plasticKeycardsDisinfectedException\": \"\",\n \"roomBookingsBuffer\": false,\n \"roomBookingsBufferException\": \"\"\n },\n \"personalProtection\": {\n \"commonAreasOfferSanitizingItems\": false,\n \"commonAreasOfferSanitizingItemsException\": \"\",\n \"faceMaskRequired\": false,\n \"faceMaskRequiredException\": \"\",\n \"guestRoomHygieneKitsAvailable\": false,\n \"guestRoomHygieneKitsAvailableException\": \"\",\n \"protectiveEquipmentAvailable\": false,\n \"protectiveEquipmentAvailableException\": \"\"\n },\n \"physicalDistancing\": {\n \"commonAreasPhysicalDistancingArranged\": false,\n \"commonAreasPhysicalDistancingArrangedException\": \"\",\n \"physicalDistancingRequired\": false,\n \"physicalDistancingRequiredException\": \"\",\n \"safetyDividers\": false,\n \"safetyDividersException\": \"\",\n \"sharedAreasLimitedOccupancy\": false,\n \"sharedAreasLimitedOccupancyException\": \"\",\n \"wellnessAreasHavePrivateSpaces\": false,\n \"wellnessAreasHavePrivateSpacesException\": \"\"\n }\n },\n \"housekeeping\": {\n \"dailyHousekeeping\": false,\n \"dailyHousekeepingException\": \"\",\n \"housekeepingAvailable\": false,\n \"housekeepingAvailableException\": \"\",\n \"turndownService\": false,\n \"turndownServiceException\": \"\"\n },\n \"metadata\": {\n \"updateTime\": \"\"\n },\n \"name\": \"\",\n \"parking\": {\n \"electricCarChargingStations\": false,\n \"electricCarChargingStationsException\": \"\",\n \"freeParking\": false,\n \"freeParkingException\": \"\",\n \"freeSelfParking\": false,\n \"freeSelfParkingException\": \"\",\n \"freeValetParking\": false,\n \"freeValetParkingException\": \"\",\n \"parkingAvailable\": false,\n \"parkingAvailableException\": \"\",\n \"selfParkingAvailable\": false,\n \"selfParkingAvailableException\": \"\",\n \"valetParkingAvailable\": false,\n \"valetParkingAvailableException\": \"\"\n },\n \"pets\": {\n \"catsAllowed\": false,\n \"catsAllowedException\": \"\",\n \"dogsAllowed\": false,\n \"dogsAllowedException\": \"\",\n \"petsAllowed\": false,\n \"petsAllowedException\": \"\",\n \"petsAllowedFree\": false,\n \"petsAllowedFreeException\": \"\"\n },\n \"policies\": {\n \"allInclusiveAvailable\": false,\n \"allInclusiveAvailableException\": \"\",\n \"allInclusiveOnly\": false,\n \"allInclusiveOnlyException\": \"\",\n \"checkinTime\": {\n \"hours\": 0,\n \"minutes\": 0,\n \"nanos\": 0,\n \"seconds\": 0\n },\n \"checkinTimeException\": \"\",\n \"checkoutTime\": {},\n \"checkoutTimeException\": \"\",\n \"kidsStayFree\": false,\n \"kidsStayFreeException\": \"\",\n \"maxChildAge\": 0,\n \"maxChildAgeException\": \"\",\n \"maxKidsStayFreeCount\": 0,\n \"maxKidsStayFreeCountException\": \"\",\n \"paymentOptions\": {\n \"cash\": false,\n \"cashException\": \"\",\n \"cheque\": false,\n \"chequeException\": \"\",\n \"creditCard\": false,\n \"creditCardException\": \"\",\n \"debitCard\": false,\n \"debitCardException\": \"\",\n \"mobileNfc\": false,\n \"mobileNfcException\": \"\"\n },\n \"smokeFreeProperty\": false,\n \"smokeFreePropertyException\": \"\"\n },\n \"pools\": {\n \"adultPool\": false,\n \"adultPoolException\": \"\",\n \"hotTub\": false,\n \"hotTubException\": \"\",\n \"indoorPool\": false,\n \"indoorPoolException\": \"\",\n \"indoorPoolsCount\": 0,\n \"indoorPoolsCountException\": \"\",\n \"lazyRiver\": false,\n \"lazyRiverException\": \"\",\n \"lifeguard\": false,\n \"lifeguardException\": \"\",\n \"outdoorPool\": false,\n \"outdoorPoolException\": \"\",\n \"outdoorPoolsCount\": 0,\n \"outdoorPoolsCountException\": \"\",\n \"pool\": false,\n \"poolException\": \"\",\n \"poolsCount\": 0,\n \"poolsCountException\": \"\",\n \"wadingPool\": false,\n \"wadingPoolException\": \"\",\n \"waterPark\": false,\n \"waterParkException\": \"\",\n \"waterslide\": false,\n \"waterslideException\": \"\",\n \"wavePool\": false,\n \"wavePoolException\": \"\"\n },\n \"property\": {\n \"builtYear\": 0,\n \"builtYearException\": \"\",\n \"floorsCount\": 0,\n \"floorsCountException\": \"\",\n \"lastRenovatedYear\": 0,\n \"lastRenovatedYearException\": \"\",\n \"roomsCount\": 0,\n \"roomsCountException\": \"\"\n },\n \"services\": {\n \"baggageStorage\": false,\n \"baggageStorageException\": \"\",\n \"concierge\": false,\n \"conciergeException\": \"\",\n \"convenienceStore\": false,\n \"convenienceStoreException\": \"\",\n \"currencyExchange\": false,\n \"currencyExchangeException\": \"\",\n \"elevator\": false,\n \"elevatorException\": \"\",\n \"frontDesk\": false,\n \"frontDeskException\": \"\",\n \"fullServiceLaundry\": false,\n \"fullServiceLaundryException\": \"\",\n \"giftShop\": false,\n \"giftShopException\": \"\",\n \"languagesSpoken\": [\n {\n \"languageCode\": \"\",\n \"spoken\": false,\n \"spokenException\": \"\"\n }\n ],\n \"selfServiceLaundry\": false,\n \"selfServiceLaundryException\": \"\",\n \"socialHour\": false,\n \"socialHourException\": \"\",\n \"twentyFourHourFrontDesk\": false,\n \"twentyFourHourFrontDeskException\": \"\",\n \"wakeUpCalls\": false,\n \"wakeUpCallsException\": \"\"\n },\n \"someUnits\": {},\n \"sustainability\": {\n \"energyEfficiency\": {\n \"carbonFreeEnergySources\": false,\n \"carbonFreeEnergySourcesException\": \"\",\n \"energyConservationProgram\": false,\n \"energyConservationProgramException\": \"\",\n \"energyEfficientHeatingAndCoolingSystems\": false,\n \"energyEfficientHeatingAndCoolingSystemsException\": \"\",\n \"energyEfficientLighting\": false,\n \"energyEfficientLightingException\": \"\",\n \"energySavingThermostats\": false,\n \"energySavingThermostatsException\": \"\",\n \"greenBuildingDesign\": false,\n \"greenBuildingDesignException\": \"\",\n \"independentOrganizationAuditsEnergyUse\": false,\n \"independentOrganizationAuditsEnergyUseException\": \"\"\n },\n \"sustainabilityCertifications\": {\n \"breeamCertification\": \"\",\n \"breeamCertificationException\": \"\",\n \"ecoCertifications\": [\n {\n \"awarded\": false,\n \"awardedException\": \"\",\n \"ecoCertificate\": \"\"\n }\n ],\n \"leedCertification\": \"\",\n \"leedCertificationException\": \"\"\n },\n \"sustainableSourcing\": {\n \"ecoFriendlyToiletries\": false,\n \"ecoFriendlyToiletriesException\": \"\",\n \"locallySourcedFoodAndBeverages\": false,\n \"locallySourcedFoodAndBeveragesException\": \"\",\n \"organicCageFreeEggs\": false,\n \"organicCageFreeEggsException\": \"\",\n \"organicFoodAndBeverages\": false,\n \"organicFoodAndBeveragesException\": \"\",\n \"responsiblePurchasingPolicy\": false,\n \"responsiblePurchasingPolicyException\": \"\",\n \"responsiblySourcesSeafood\": false,\n \"responsiblySourcesSeafoodException\": \"\",\n \"veganMeals\": false,\n \"veganMealsException\": \"\",\n \"vegetarianMeals\": false,\n \"vegetarianMealsException\": \"\"\n },\n \"wasteReduction\": {\n \"compostableFoodContainersAndCutlery\": false,\n \"compostableFoodContainersAndCutleryException\": \"\",\n \"compostsExcessFood\": false,\n \"compostsExcessFoodException\": \"\",\n \"donatesExcessFood\": false,\n \"donatesExcessFoodException\": \"\",\n \"foodWasteReductionProgram\": false,\n \"foodWasteReductionProgramException\": \"\",\n \"noSingleUsePlasticStraws\": false,\n \"noSingleUsePlasticStrawsException\": \"\",\n \"noSingleUsePlasticWaterBottles\": false,\n \"noSingleUsePlasticWaterBottlesException\": \"\",\n \"noStyrofoamFoodContainers\": false,\n \"noStyrofoamFoodContainersException\": \"\",\n \"recyclingProgram\": false,\n \"recyclingProgramException\": \"\",\n \"refillableToiletryContainers\": false,\n \"refillableToiletryContainersException\": \"\",\n \"safelyDisposesBatteries\": false,\n \"safelyDisposesBatteriesException\": \"\",\n \"safelyDisposesElectronics\": false,\n \"safelyDisposesElectronicsException\": \"\",\n \"safelyDisposesLightbulbs\": false,\n \"safelyDisposesLightbulbsException\": \"\",\n \"safelyHandlesHazardousSubstances\": false,\n \"safelyHandlesHazardousSubstancesException\": \"\",\n \"soapDonationProgram\": false,\n \"soapDonationProgramException\": \"\",\n \"toiletryDonationProgram\": false,\n \"toiletryDonationProgramException\": \"\",\n \"waterBottleFillingStations\": false,\n \"waterBottleFillingStationsException\": \"\"\n },\n \"waterConservation\": {\n \"independentOrganizationAuditsWaterUse\": false,\n \"independentOrganizationAuditsWaterUseException\": \"\",\n \"linenReuseProgram\": false,\n \"linenReuseProgramException\": \"\",\n \"towelReuseProgram\": false,\n \"towelReuseProgramException\": \"\",\n \"waterSavingShowers\": false,\n \"waterSavingShowersException\": \"\",\n \"waterSavingSinks\": false,\n \"waterSavingSinksException\": \"\",\n \"waterSavingToilets\": false,\n \"waterSavingToiletsException\": \"\"\n }\n },\n \"transportation\": {\n \"airportShuttle\": false,\n \"airportShuttleException\": \"\",\n \"carRentalOnProperty\": false,\n \"carRentalOnPropertyException\": \"\",\n \"freeAirportShuttle\": false,\n \"freeAirportShuttleException\": \"\",\n \"freePrivateCarService\": false,\n \"freePrivateCarServiceException\": \"\",\n \"localShuttle\": false,\n \"localShuttleException\": \"\",\n \"privateCarService\": false,\n \"privateCarServiceException\": \"\",\n \"transfer\": false,\n \"transferException\": \"\"\n },\n \"wellness\": {\n \"doctorOnCall\": false,\n \"doctorOnCallException\": \"\",\n \"ellipticalMachine\": false,\n \"ellipticalMachineException\": \"\",\n \"fitnessCenter\": false,\n \"fitnessCenterException\": \"\",\n \"freeFitnessCenter\": false,\n \"freeFitnessCenterException\": \"\",\n \"freeWeights\": false,\n \"freeWeightsException\": \"\",\n \"massage\": false,\n \"massageException\": \"\",\n \"salon\": false,\n \"salonException\": \"\",\n \"sauna\": false,\n \"saunaException\": \"\",\n \"spa\": false,\n \"spaException\": \"\",\n \"treadmill\": false,\n \"treadmillException\": \"\",\n \"weightMachine\": false,\n \"weightMachineException\": \"\"\n }\n}"
headers = { 'content-type': "application/json" }
conn.request("PATCH", "/baseUrl/v1/:name", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/v1/:name"
payload = {
"accessibility": {
"mobilityAccessible": False,
"mobilityAccessibleElevator": False,
"mobilityAccessibleElevatorException": "",
"mobilityAccessibleException": "",
"mobilityAccessibleParking": False,
"mobilityAccessibleParkingException": "",
"mobilityAccessiblePool": False,
"mobilityAccessiblePoolException": ""
},
"activities": {
"beachAccess": False,
"beachAccessException": "",
"beachFront": False,
"beachFrontException": "",
"bicycleRental": False,
"bicycleRentalException": "",
"boutiqueStores": False,
"boutiqueStoresException": "",
"casino": False,
"casinoException": "",
"freeBicycleRental": False,
"freeBicycleRentalException": "",
"freeWatercraftRental": False,
"freeWatercraftRentalException": "",
"gameRoom": False,
"gameRoomException": "",
"golf": False,
"golfException": "",
"horsebackRiding": False,
"horsebackRidingException": "",
"nightclub": False,
"nightclubException": "",
"privateBeach": False,
"privateBeachException": "",
"scuba": False,
"scubaException": "",
"snorkeling": False,
"snorkelingException": "",
"tennis": False,
"tennisException": "",
"waterSkiing": False,
"waterSkiingException": "",
"watercraftRental": False,
"watercraftRentalException": ""
},
"allUnits": {
"bungalowOrVilla": False,
"bungalowOrVillaException": "",
"connectingUnitAvailable": False,
"connectingUnitAvailableException": "",
"executiveFloor": False,
"executiveFloorException": "",
"maxAdultOccupantsCount": 0,
"maxAdultOccupantsCountException": "",
"maxChildOccupantsCount": 0,
"maxChildOccupantsCountException": "",
"maxOccupantsCount": 0,
"maxOccupantsCountException": "",
"privateHome": False,
"privateHomeException": "",
"suite": False,
"suiteException": "",
"tier": "",
"tierException": "",
"totalLivingAreas": {
"accessibility": {
"adaCompliantUnit": False,
"adaCompliantUnitException": "",
"hearingAccessibleDoorbell": False,
"hearingAccessibleDoorbellException": "",
"hearingAccessibleFireAlarm": False,
"hearingAccessibleFireAlarmException": "",
"hearingAccessibleUnit": False,
"hearingAccessibleUnitException": "",
"mobilityAccessibleBathtub": False,
"mobilityAccessibleBathtubException": "",
"mobilityAccessibleShower": False,
"mobilityAccessibleShowerException": "",
"mobilityAccessibleToilet": False,
"mobilityAccessibleToiletException": "",
"mobilityAccessibleUnit": False,
"mobilityAccessibleUnitException": ""
},
"eating": {
"coffeeMaker": False,
"coffeeMakerException": "",
"cookware": False,
"cookwareException": "",
"dishwasher": False,
"dishwasherException": "",
"indoorGrill": False,
"indoorGrillException": "",
"kettle": False,
"kettleException": "",
"kitchenAvailable": False,
"kitchenAvailableException": "",
"microwave": False,
"microwaveException": "",
"minibar": False,
"minibarException": "",
"outdoorGrill": False,
"outdoorGrillException": "",
"oven": False,
"ovenException": "",
"refrigerator": False,
"refrigeratorException": "",
"sink": False,
"sinkException": "",
"snackbar": False,
"snackbarException": "",
"stove": False,
"stoveException": "",
"teaStation": False,
"teaStationException": "",
"toaster": False,
"toasterException": ""
},
"features": {
"airConditioning": False,
"airConditioningException": "",
"bathtub": False,
"bathtubException": "",
"bidet": False,
"bidetException": "",
"dryer": False,
"dryerException": "",
"electronicRoomKey": False,
"electronicRoomKeyException": "",
"fireplace": False,
"fireplaceException": "",
"hairdryer": False,
"hairdryerException": "",
"heating": False,
"heatingException": "",
"inunitSafe": False,
"inunitSafeException": "",
"inunitWifiAvailable": False,
"inunitWifiAvailableException": "",
"ironingEquipment": False,
"ironingEquipmentException": "",
"payPerViewMovies": False,
"payPerViewMoviesException": "",
"privateBathroom": False,
"privateBathroomException": "",
"shower": False,
"showerException": "",
"toilet": False,
"toiletException": "",
"tv": False,
"tvCasting": False,
"tvCastingException": "",
"tvException": "",
"tvStreaming": False,
"tvStreamingException": "",
"universalPowerAdapters": False,
"universalPowerAdaptersException": "",
"washer": False,
"washerException": ""
},
"layout": {
"balcony": False,
"balconyException": "",
"livingAreaSqMeters": "",
"livingAreaSqMetersException": "",
"loft": False,
"loftException": "",
"nonSmoking": False,
"nonSmokingException": "",
"patio": False,
"patioException": "",
"stairs": False,
"stairsException": ""
},
"sleeping": {
"bedsCount": 0,
"bedsCountException": "",
"bunkBedsCount": 0,
"bunkBedsCountException": "",
"cribsCount": 0,
"cribsCountException": "",
"doubleBedsCount": 0,
"doubleBedsCountException": "",
"featherPillows": False,
"featherPillowsException": "",
"hypoallergenicBedding": False,
"hypoallergenicBeddingException": "",
"kingBedsCount": 0,
"kingBedsCountException": "",
"memoryFoamPillows": False,
"memoryFoamPillowsException": "",
"otherBedsCount": 0,
"otherBedsCountException": "",
"queenBedsCount": 0,
"queenBedsCountException": "",
"rollAwayBedsCount": 0,
"rollAwayBedsCountException": "",
"singleOrTwinBedsCount": 0,
"singleOrTwinBedsCountException": "",
"sofaBedsCount": 0,
"sofaBedsCountException": "",
"syntheticPillows": False,
"syntheticPillowsException": ""
}
},
"views": {
"beachView": False,
"beachViewException": "",
"cityView": False,
"cityViewException": "",
"gardenView": False,
"gardenViewException": "",
"lakeView": False,
"lakeViewException": "",
"landmarkView": False,
"landmarkViewException": "",
"oceanView": False,
"oceanViewException": "",
"poolView": False,
"poolViewException": "",
"valleyView": False,
"valleyViewException": ""
}
},
"business": {
"businessCenter": False,
"businessCenterException": "",
"meetingRooms": False,
"meetingRoomsCount": 0,
"meetingRoomsCountException": "",
"meetingRoomsException": ""
},
"commonLivingArea": {},
"connectivity": {
"freeWifi": False,
"freeWifiException": "",
"publicAreaWifiAvailable": False,
"publicAreaWifiAvailableException": "",
"publicInternetTerminal": False,
"publicInternetTerminalException": "",
"wifiAvailable": False,
"wifiAvailableException": ""
},
"families": {
"babysitting": False,
"babysittingException": "",
"kidsActivities": False,
"kidsActivitiesException": "",
"kidsClub": False,
"kidsClubException": "",
"kidsFriendly": False,
"kidsFriendlyException": ""
},
"foodAndDrink": {
"bar": False,
"barException": "",
"breakfastAvailable": False,
"breakfastAvailableException": "",
"breakfastBuffet": False,
"breakfastBuffetException": "",
"buffet": False,
"buffetException": "",
"dinnerBuffet": False,
"dinnerBuffetException": "",
"freeBreakfast": False,
"freeBreakfastException": "",
"restaurant": False,
"restaurantException": "",
"restaurantsCount": 0,
"restaurantsCountException": "",
"roomService": False,
"roomServiceException": "",
"tableService": False,
"tableServiceException": "",
"twentyFourHourRoomService": False,
"twentyFourHourRoomServiceException": "",
"vendingMachine": False,
"vendingMachineException": ""
},
"guestUnits": [
{
"codes": [],
"features": {},
"label": ""
}
],
"healthAndSafety": {
"enhancedCleaning": {
"commercialGradeDisinfectantCleaning": False,
"commercialGradeDisinfectantCleaningException": "",
"commonAreasEnhancedCleaning": False,
"commonAreasEnhancedCleaningException": "",
"employeesTrainedCleaningProcedures": False,
"employeesTrainedCleaningProceduresException": "",
"employeesTrainedThoroughHandWashing": False,
"employeesTrainedThoroughHandWashingException": "",
"employeesWearProtectiveEquipment": False,
"employeesWearProtectiveEquipmentException": "",
"guestRoomsEnhancedCleaning": False,
"guestRoomsEnhancedCleaningException": ""
},
"increasedFoodSafety": {
"diningAreasAdditionalSanitation": False,
"diningAreasAdditionalSanitationException": "",
"disposableFlatware": False,
"disposableFlatwareException": "",
"foodPreparationAndServingAdditionalSafety": False,
"foodPreparationAndServingAdditionalSafetyException": "",
"individualPackagedMeals": False,
"individualPackagedMealsException": "",
"singleUseFoodMenus": False,
"singleUseFoodMenusException": ""
},
"minimizedContact": {
"contactlessCheckinCheckout": False,
"contactlessCheckinCheckoutException": "",
"digitalGuestRoomKeys": False,
"digitalGuestRoomKeysException": "",
"housekeepingScheduledRequestOnly": False,
"housekeepingScheduledRequestOnlyException": "",
"noHighTouchItemsCommonAreas": False,
"noHighTouchItemsCommonAreasException": "",
"noHighTouchItemsGuestRooms": False,
"noHighTouchItemsGuestRoomsException": "",
"plasticKeycardsDisinfected": False,
"plasticKeycardsDisinfectedException": "",
"roomBookingsBuffer": False,
"roomBookingsBufferException": ""
},
"personalProtection": {
"commonAreasOfferSanitizingItems": False,
"commonAreasOfferSanitizingItemsException": "",
"faceMaskRequired": False,
"faceMaskRequiredException": "",
"guestRoomHygieneKitsAvailable": False,
"guestRoomHygieneKitsAvailableException": "",
"protectiveEquipmentAvailable": False,
"protectiveEquipmentAvailableException": ""
},
"physicalDistancing": {
"commonAreasPhysicalDistancingArranged": False,
"commonAreasPhysicalDistancingArrangedException": "",
"physicalDistancingRequired": False,
"physicalDistancingRequiredException": "",
"safetyDividers": False,
"safetyDividersException": "",
"sharedAreasLimitedOccupancy": False,
"sharedAreasLimitedOccupancyException": "",
"wellnessAreasHavePrivateSpaces": False,
"wellnessAreasHavePrivateSpacesException": ""
}
},
"housekeeping": {
"dailyHousekeeping": False,
"dailyHousekeepingException": "",
"housekeepingAvailable": False,
"housekeepingAvailableException": "",
"turndownService": False,
"turndownServiceException": ""
},
"metadata": { "updateTime": "" },
"name": "",
"parking": {
"electricCarChargingStations": False,
"electricCarChargingStationsException": "",
"freeParking": False,
"freeParkingException": "",
"freeSelfParking": False,
"freeSelfParkingException": "",
"freeValetParking": False,
"freeValetParkingException": "",
"parkingAvailable": False,
"parkingAvailableException": "",
"selfParkingAvailable": False,
"selfParkingAvailableException": "",
"valetParkingAvailable": False,
"valetParkingAvailableException": ""
},
"pets": {
"catsAllowed": False,
"catsAllowedException": "",
"dogsAllowed": False,
"dogsAllowedException": "",
"petsAllowed": False,
"petsAllowedException": "",
"petsAllowedFree": False,
"petsAllowedFreeException": ""
},
"policies": {
"allInclusiveAvailable": False,
"allInclusiveAvailableException": "",
"allInclusiveOnly": False,
"allInclusiveOnlyException": "",
"checkinTime": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0
},
"checkinTimeException": "",
"checkoutTime": {},
"checkoutTimeException": "",
"kidsStayFree": False,
"kidsStayFreeException": "",
"maxChildAge": 0,
"maxChildAgeException": "",
"maxKidsStayFreeCount": 0,
"maxKidsStayFreeCountException": "",
"paymentOptions": {
"cash": False,
"cashException": "",
"cheque": False,
"chequeException": "",
"creditCard": False,
"creditCardException": "",
"debitCard": False,
"debitCardException": "",
"mobileNfc": False,
"mobileNfcException": ""
},
"smokeFreeProperty": False,
"smokeFreePropertyException": ""
},
"pools": {
"adultPool": False,
"adultPoolException": "",
"hotTub": False,
"hotTubException": "",
"indoorPool": False,
"indoorPoolException": "",
"indoorPoolsCount": 0,
"indoorPoolsCountException": "",
"lazyRiver": False,
"lazyRiverException": "",
"lifeguard": False,
"lifeguardException": "",
"outdoorPool": False,
"outdoorPoolException": "",
"outdoorPoolsCount": 0,
"outdoorPoolsCountException": "",
"pool": False,
"poolException": "",
"poolsCount": 0,
"poolsCountException": "",
"wadingPool": False,
"wadingPoolException": "",
"waterPark": False,
"waterParkException": "",
"waterslide": False,
"waterslideException": "",
"wavePool": False,
"wavePoolException": ""
},
"property": {
"builtYear": 0,
"builtYearException": "",
"floorsCount": 0,
"floorsCountException": "",
"lastRenovatedYear": 0,
"lastRenovatedYearException": "",
"roomsCount": 0,
"roomsCountException": ""
},
"services": {
"baggageStorage": False,
"baggageStorageException": "",
"concierge": False,
"conciergeException": "",
"convenienceStore": False,
"convenienceStoreException": "",
"currencyExchange": False,
"currencyExchangeException": "",
"elevator": False,
"elevatorException": "",
"frontDesk": False,
"frontDeskException": "",
"fullServiceLaundry": False,
"fullServiceLaundryException": "",
"giftShop": False,
"giftShopException": "",
"languagesSpoken": [
{
"languageCode": "",
"spoken": False,
"spokenException": ""
}
],
"selfServiceLaundry": False,
"selfServiceLaundryException": "",
"socialHour": False,
"socialHourException": "",
"twentyFourHourFrontDesk": False,
"twentyFourHourFrontDeskException": "",
"wakeUpCalls": False,
"wakeUpCallsException": ""
},
"someUnits": {},
"sustainability": {
"energyEfficiency": {
"carbonFreeEnergySources": False,
"carbonFreeEnergySourcesException": "",
"energyConservationProgram": False,
"energyConservationProgramException": "",
"energyEfficientHeatingAndCoolingSystems": False,
"energyEfficientHeatingAndCoolingSystemsException": "",
"energyEfficientLighting": False,
"energyEfficientLightingException": "",
"energySavingThermostats": False,
"energySavingThermostatsException": "",
"greenBuildingDesign": False,
"greenBuildingDesignException": "",
"independentOrganizationAuditsEnergyUse": False,
"independentOrganizationAuditsEnergyUseException": ""
},
"sustainabilityCertifications": {
"breeamCertification": "",
"breeamCertificationException": "",
"ecoCertifications": [
{
"awarded": False,
"awardedException": "",
"ecoCertificate": ""
}
],
"leedCertification": "",
"leedCertificationException": ""
},
"sustainableSourcing": {
"ecoFriendlyToiletries": False,
"ecoFriendlyToiletriesException": "",
"locallySourcedFoodAndBeverages": False,
"locallySourcedFoodAndBeveragesException": "",
"organicCageFreeEggs": False,
"organicCageFreeEggsException": "",
"organicFoodAndBeverages": False,
"organicFoodAndBeveragesException": "",
"responsiblePurchasingPolicy": False,
"responsiblePurchasingPolicyException": "",
"responsiblySourcesSeafood": False,
"responsiblySourcesSeafoodException": "",
"veganMeals": False,
"veganMealsException": "",
"vegetarianMeals": False,
"vegetarianMealsException": ""
},
"wasteReduction": {
"compostableFoodContainersAndCutlery": False,
"compostableFoodContainersAndCutleryException": "",
"compostsExcessFood": False,
"compostsExcessFoodException": "",
"donatesExcessFood": False,
"donatesExcessFoodException": "",
"foodWasteReductionProgram": False,
"foodWasteReductionProgramException": "",
"noSingleUsePlasticStraws": False,
"noSingleUsePlasticStrawsException": "",
"noSingleUsePlasticWaterBottles": False,
"noSingleUsePlasticWaterBottlesException": "",
"noStyrofoamFoodContainers": False,
"noStyrofoamFoodContainersException": "",
"recyclingProgram": False,
"recyclingProgramException": "",
"refillableToiletryContainers": False,
"refillableToiletryContainersException": "",
"safelyDisposesBatteries": False,
"safelyDisposesBatteriesException": "",
"safelyDisposesElectronics": False,
"safelyDisposesElectronicsException": "",
"safelyDisposesLightbulbs": False,
"safelyDisposesLightbulbsException": "",
"safelyHandlesHazardousSubstances": False,
"safelyHandlesHazardousSubstancesException": "",
"soapDonationProgram": False,
"soapDonationProgramException": "",
"toiletryDonationProgram": False,
"toiletryDonationProgramException": "",
"waterBottleFillingStations": False,
"waterBottleFillingStationsException": ""
},
"waterConservation": {
"independentOrganizationAuditsWaterUse": False,
"independentOrganizationAuditsWaterUseException": "",
"linenReuseProgram": False,
"linenReuseProgramException": "",
"towelReuseProgram": False,
"towelReuseProgramException": "",
"waterSavingShowers": False,
"waterSavingShowersException": "",
"waterSavingSinks": False,
"waterSavingSinksException": "",
"waterSavingToilets": False,
"waterSavingToiletsException": ""
}
},
"transportation": {
"airportShuttle": False,
"airportShuttleException": "",
"carRentalOnProperty": False,
"carRentalOnPropertyException": "",
"freeAirportShuttle": False,
"freeAirportShuttleException": "",
"freePrivateCarService": False,
"freePrivateCarServiceException": "",
"localShuttle": False,
"localShuttleException": "",
"privateCarService": False,
"privateCarServiceException": "",
"transfer": False,
"transferException": ""
},
"wellness": {
"doctorOnCall": False,
"doctorOnCallException": "",
"ellipticalMachine": False,
"ellipticalMachineException": "",
"fitnessCenter": False,
"fitnessCenterException": "",
"freeFitnessCenter": False,
"freeFitnessCenterException": "",
"freeWeights": False,
"freeWeightsException": "",
"massage": False,
"massageException": "",
"salon": False,
"salonException": "",
"sauna": False,
"saunaException": "",
"spa": False,
"spaException": "",
"treadmill": False,
"treadmillException": "",
"weightMachine": False,
"weightMachineException": ""
}
}
headers = {"content-type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.json())
library(httr)
url <- "{{baseUrl}}/v1/:name"
payload <- "{\n \"accessibility\": {\n \"mobilityAccessible\": false,\n \"mobilityAccessibleElevator\": false,\n \"mobilityAccessibleElevatorException\": \"\",\n \"mobilityAccessibleException\": \"\",\n \"mobilityAccessibleParking\": false,\n \"mobilityAccessibleParkingException\": \"\",\n \"mobilityAccessiblePool\": false,\n \"mobilityAccessiblePoolException\": \"\"\n },\n \"activities\": {\n \"beachAccess\": false,\n \"beachAccessException\": \"\",\n \"beachFront\": false,\n \"beachFrontException\": \"\",\n \"bicycleRental\": false,\n \"bicycleRentalException\": \"\",\n \"boutiqueStores\": false,\n \"boutiqueStoresException\": \"\",\n \"casino\": false,\n \"casinoException\": \"\",\n \"freeBicycleRental\": false,\n \"freeBicycleRentalException\": \"\",\n \"freeWatercraftRental\": false,\n \"freeWatercraftRentalException\": \"\",\n \"gameRoom\": false,\n \"gameRoomException\": \"\",\n \"golf\": false,\n \"golfException\": \"\",\n \"horsebackRiding\": false,\n \"horsebackRidingException\": \"\",\n \"nightclub\": false,\n \"nightclubException\": \"\",\n \"privateBeach\": false,\n \"privateBeachException\": \"\",\n \"scuba\": false,\n \"scubaException\": \"\",\n \"snorkeling\": false,\n \"snorkelingException\": \"\",\n \"tennis\": false,\n \"tennisException\": \"\",\n \"waterSkiing\": false,\n \"waterSkiingException\": \"\",\n \"watercraftRental\": false,\n \"watercraftRentalException\": \"\"\n },\n \"allUnits\": {\n \"bungalowOrVilla\": false,\n \"bungalowOrVillaException\": \"\",\n \"connectingUnitAvailable\": false,\n \"connectingUnitAvailableException\": \"\",\n \"executiveFloor\": false,\n \"executiveFloorException\": \"\",\n \"maxAdultOccupantsCount\": 0,\n \"maxAdultOccupantsCountException\": \"\",\n \"maxChildOccupantsCount\": 0,\n \"maxChildOccupantsCountException\": \"\",\n \"maxOccupantsCount\": 0,\n \"maxOccupantsCountException\": \"\",\n \"privateHome\": false,\n \"privateHomeException\": \"\",\n \"suite\": false,\n \"suiteException\": \"\",\n \"tier\": \"\",\n \"tierException\": \"\",\n \"totalLivingAreas\": {\n \"accessibility\": {\n \"adaCompliantUnit\": false,\n \"adaCompliantUnitException\": \"\",\n \"hearingAccessibleDoorbell\": false,\n \"hearingAccessibleDoorbellException\": \"\",\n \"hearingAccessibleFireAlarm\": false,\n \"hearingAccessibleFireAlarmException\": \"\",\n \"hearingAccessibleUnit\": false,\n \"hearingAccessibleUnitException\": \"\",\n \"mobilityAccessibleBathtub\": false,\n \"mobilityAccessibleBathtubException\": \"\",\n \"mobilityAccessibleShower\": false,\n \"mobilityAccessibleShowerException\": \"\",\n \"mobilityAccessibleToilet\": false,\n \"mobilityAccessibleToiletException\": \"\",\n \"mobilityAccessibleUnit\": false,\n \"mobilityAccessibleUnitException\": \"\"\n },\n \"eating\": {\n \"coffeeMaker\": false,\n \"coffeeMakerException\": \"\",\n \"cookware\": false,\n \"cookwareException\": \"\",\n \"dishwasher\": false,\n \"dishwasherException\": \"\",\n \"indoorGrill\": false,\n \"indoorGrillException\": \"\",\n \"kettle\": false,\n \"kettleException\": \"\",\n \"kitchenAvailable\": false,\n \"kitchenAvailableException\": \"\",\n \"microwave\": false,\n \"microwaveException\": \"\",\n \"minibar\": false,\n \"minibarException\": \"\",\n \"outdoorGrill\": false,\n \"outdoorGrillException\": \"\",\n \"oven\": false,\n \"ovenException\": \"\",\n \"refrigerator\": false,\n \"refrigeratorException\": \"\",\n \"sink\": false,\n \"sinkException\": \"\",\n \"snackbar\": false,\n \"snackbarException\": \"\",\n \"stove\": false,\n \"stoveException\": \"\",\n \"teaStation\": false,\n \"teaStationException\": \"\",\n \"toaster\": false,\n \"toasterException\": \"\"\n },\n \"features\": {\n \"airConditioning\": false,\n \"airConditioningException\": \"\",\n \"bathtub\": false,\n \"bathtubException\": \"\",\n \"bidet\": false,\n \"bidetException\": \"\",\n \"dryer\": false,\n \"dryerException\": \"\",\n \"electronicRoomKey\": false,\n \"electronicRoomKeyException\": \"\",\n \"fireplace\": false,\n \"fireplaceException\": \"\",\n \"hairdryer\": false,\n \"hairdryerException\": \"\",\n \"heating\": false,\n \"heatingException\": \"\",\n \"inunitSafe\": false,\n \"inunitSafeException\": \"\",\n \"inunitWifiAvailable\": false,\n \"inunitWifiAvailableException\": \"\",\n \"ironingEquipment\": false,\n \"ironingEquipmentException\": \"\",\n \"payPerViewMovies\": false,\n \"payPerViewMoviesException\": \"\",\n \"privateBathroom\": false,\n \"privateBathroomException\": \"\",\n \"shower\": false,\n \"showerException\": \"\",\n \"toilet\": false,\n \"toiletException\": \"\",\n \"tv\": false,\n \"tvCasting\": false,\n \"tvCastingException\": \"\",\n \"tvException\": \"\",\n \"tvStreaming\": false,\n \"tvStreamingException\": \"\",\n \"universalPowerAdapters\": false,\n \"universalPowerAdaptersException\": \"\",\n \"washer\": false,\n \"washerException\": \"\"\n },\n \"layout\": {\n \"balcony\": false,\n \"balconyException\": \"\",\n \"livingAreaSqMeters\": \"\",\n \"livingAreaSqMetersException\": \"\",\n \"loft\": false,\n \"loftException\": \"\",\n \"nonSmoking\": false,\n \"nonSmokingException\": \"\",\n \"patio\": false,\n \"patioException\": \"\",\n \"stairs\": false,\n \"stairsException\": \"\"\n },\n \"sleeping\": {\n \"bedsCount\": 0,\n \"bedsCountException\": \"\",\n \"bunkBedsCount\": 0,\n \"bunkBedsCountException\": \"\",\n \"cribsCount\": 0,\n \"cribsCountException\": \"\",\n \"doubleBedsCount\": 0,\n \"doubleBedsCountException\": \"\",\n \"featherPillows\": false,\n \"featherPillowsException\": \"\",\n \"hypoallergenicBedding\": false,\n \"hypoallergenicBeddingException\": \"\",\n \"kingBedsCount\": 0,\n \"kingBedsCountException\": \"\",\n \"memoryFoamPillows\": false,\n \"memoryFoamPillowsException\": \"\",\n \"otherBedsCount\": 0,\n \"otherBedsCountException\": \"\",\n \"queenBedsCount\": 0,\n \"queenBedsCountException\": \"\",\n \"rollAwayBedsCount\": 0,\n \"rollAwayBedsCountException\": \"\",\n \"singleOrTwinBedsCount\": 0,\n \"singleOrTwinBedsCountException\": \"\",\n \"sofaBedsCount\": 0,\n \"sofaBedsCountException\": \"\",\n \"syntheticPillows\": false,\n \"syntheticPillowsException\": \"\"\n }\n },\n \"views\": {\n \"beachView\": false,\n \"beachViewException\": \"\",\n \"cityView\": false,\n \"cityViewException\": \"\",\n \"gardenView\": false,\n \"gardenViewException\": \"\",\n \"lakeView\": false,\n \"lakeViewException\": \"\",\n \"landmarkView\": false,\n \"landmarkViewException\": \"\",\n \"oceanView\": false,\n \"oceanViewException\": \"\",\n \"poolView\": false,\n \"poolViewException\": \"\",\n \"valleyView\": false,\n \"valleyViewException\": \"\"\n }\n },\n \"business\": {\n \"businessCenter\": false,\n \"businessCenterException\": \"\",\n \"meetingRooms\": false,\n \"meetingRoomsCount\": 0,\n \"meetingRoomsCountException\": \"\",\n \"meetingRoomsException\": \"\"\n },\n \"commonLivingArea\": {},\n \"connectivity\": {\n \"freeWifi\": false,\n \"freeWifiException\": \"\",\n \"publicAreaWifiAvailable\": false,\n \"publicAreaWifiAvailableException\": \"\",\n \"publicInternetTerminal\": false,\n \"publicInternetTerminalException\": \"\",\n \"wifiAvailable\": false,\n \"wifiAvailableException\": \"\"\n },\n \"families\": {\n \"babysitting\": false,\n \"babysittingException\": \"\",\n \"kidsActivities\": false,\n \"kidsActivitiesException\": \"\",\n \"kidsClub\": false,\n \"kidsClubException\": \"\",\n \"kidsFriendly\": false,\n \"kidsFriendlyException\": \"\"\n },\n \"foodAndDrink\": {\n \"bar\": false,\n \"barException\": \"\",\n \"breakfastAvailable\": false,\n \"breakfastAvailableException\": \"\",\n \"breakfastBuffet\": false,\n \"breakfastBuffetException\": \"\",\n \"buffet\": false,\n \"buffetException\": \"\",\n \"dinnerBuffet\": false,\n \"dinnerBuffetException\": \"\",\n \"freeBreakfast\": false,\n \"freeBreakfastException\": \"\",\n \"restaurant\": false,\n \"restaurantException\": \"\",\n \"restaurantsCount\": 0,\n \"restaurantsCountException\": \"\",\n \"roomService\": false,\n \"roomServiceException\": \"\",\n \"tableService\": false,\n \"tableServiceException\": \"\",\n \"twentyFourHourRoomService\": false,\n \"twentyFourHourRoomServiceException\": \"\",\n \"vendingMachine\": false,\n \"vendingMachineException\": \"\"\n },\n \"guestUnits\": [\n {\n \"codes\": [],\n \"features\": {},\n \"label\": \"\"\n }\n ],\n \"healthAndSafety\": {\n \"enhancedCleaning\": {\n \"commercialGradeDisinfectantCleaning\": false,\n \"commercialGradeDisinfectantCleaningException\": \"\",\n \"commonAreasEnhancedCleaning\": false,\n \"commonAreasEnhancedCleaningException\": \"\",\n \"employeesTrainedCleaningProcedures\": false,\n \"employeesTrainedCleaningProceduresException\": \"\",\n \"employeesTrainedThoroughHandWashing\": false,\n \"employeesTrainedThoroughHandWashingException\": \"\",\n \"employeesWearProtectiveEquipment\": false,\n \"employeesWearProtectiveEquipmentException\": \"\",\n \"guestRoomsEnhancedCleaning\": false,\n \"guestRoomsEnhancedCleaningException\": \"\"\n },\n \"increasedFoodSafety\": {\n \"diningAreasAdditionalSanitation\": false,\n \"diningAreasAdditionalSanitationException\": \"\",\n \"disposableFlatware\": false,\n \"disposableFlatwareException\": \"\",\n \"foodPreparationAndServingAdditionalSafety\": false,\n \"foodPreparationAndServingAdditionalSafetyException\": \"\",\n \"individualPackagedMeals\": false,\n \"individualPackagedMealsException\": \"\",\n \"singleUseFoodMenus\": false,\n \"singleUseFoodMenusException\": \"\"\n },\n \"minimizedContact\": {\n \"contactlessCheckinCheckout\": false,\n \"contactlessCheckinCheckoutException\": \"\",\n \"digitalGuestRoomKeys\": false,\n \"digitalGuestRoomKeysException\": \"\",\n \"housekeepingScheduledRequestOnly\": false,\n \"housekeepingScheduledRequestOnlyException\": \"\",\n \"noHighTouchItemsCommonAreas\": false,\n \"noHighTouchItemsCommonAreasException\": \"\",\n \"noHighTouchItemsGuestRooms\": false,\n \"noHighTouchItemsGuestRoomsException\": \"\",\n \"plasticKeycardsDisinfected\": false,\n \"plasticKeycardsDisinfectedException\": \"\",\n \"roomBookingsBuffer\": false,\n \"roomBookingsBufferException\": \"\"\n },\n \"personalProtection\": {\n \"commonAreasOfferSanitizingItems\": false,\n \"commonAreasOfferSanitizingItemsException\": \"\",\n \"faceMaskRequired\": false,\n \"faceMaskRequiredException\": \"\",\n \"guestRoomHygieneKitsAvailable\": false,\n \"guestRoomHygieneKitsAvailableException\": \"\",\n \"protectiveEquipmentAvailable\": false,\n \"protectiveEquipmentAvailableException\": \"\"\n },\n \"physicalDistancing\": {\n \"commonAreasPhysicalDistancingArranged\": false,\n \"commonAreasPhysicalDistancingArrangedException\": \"\",\n \"physicalDistancingRequired\": false,\n \"physicalDistancingRequiredException\": \"\",\n \"safetyDividers\": false,\n \"safetyDividersException\": \"\",\n \"sharedAreasLimitedOccupancy\": false,\n \"sharedAreasLimitedOccupancyException\": \"\",\n \"wellnessAreasHavePrivateSpaces\": false,\n \"wellnessAreasHavePrivateSpacesException\": \"\"\n }\n },\n \"housekeeping\": {\n \"dailyHousekeeping\": false,\n \"dailyHousekeepingException\": \"\",\n \"housekeepingAvailable\": false,\n \"housekeepingAvailableException\": \"\",\n \"turndownService\": false,\n \"turndownServiceException\": \"\"\n },\n \"metadata\": {\n \"updateTime\": \"\"\n },\n \"name\": \"\",\n \"parking\": {\n \"electricCarChargingStations\": false,\n \"electricCarChargingStationsException\": \"\",\n \"freeParking\": false,\n \"freeParkingException\": \"\",\n \"freeSelfParking\": false,\n \"freeSelfParkingException\": \"\",\n \"freeValetParking\": false,\n \"freeValetParkingException\": \"\",\n \"parkingAvailable\": false,\n \"parkingAvailableException\": \"\",\n \"selfParkingAvailable\": false,\n \"selfParkingAvailableException\": \"\",\n \"valetParkingAvailable\": false,\n \"valetParkingAvailableException\": \"\"\n },\n \"pets\": {\n \"catsAllowed\": false,\n \"catsAllowedException\": \"\",\n \"dogsAllowed\": false,\n \"dogsAllowedException\": \"\",\n \"petsAllowed\": false,\n \"petsAllowedException\": \"\",\n \"petsAllowedFree\": false,\n \"petsAllowedFreeException\": \"\"\n },\n \"policies\": {\n \"allInclusiveAvailable\": false,\n \"allInclusiveAvailableException\": \"\",\n \"allInclusiveOnly\": false,\n \"allInclusiveOnlyException\": \"\",\n \"checkinTime\": {\n \"hours\": 0,\n \"minutes\": 0,\n \"nanos\": 0,\n \"seconds\": 0\n },\n \"checkinTimeException\": \"\",\n \"checkoutTime\": {},\n \"checkoutTimeException\": \"\",\n \"kidsStayFree\": false,\n \"kidsStayFreeException\": \"\",\n \"maxChildAge\": 0,\n \"maxChildAgeException\": \"\",\n \"maxKidsStayFreeCount\": 0,\n \"maxKidsStayFreeCountException\": \"\",\n \"paymentOptions\": {\n \"cash\": false,\n \"cashException\": \"\",\n \"cheque\": false,\n \"chequeException\": \"\",\n \"creditCard\": false,\n \"creditCardException\": \"\",\n \"debitCard\": false,\n \"debitCardException\": \"\",\n \"mobileNfc\": false,\n \"mobileNfcException\": \"\"\n },\n \"smokeFreeProperty\": false,\n \"smokeFreePropertyException\": \"\"\n },\n \"pools\": {\n \"adultPool\": false,\n \"adultPoolException\": \"\",\n \"hotTub\": false,\n \"hotTubException\": \"\",\n \"indoorPool\": false,\n \"indoorPoolException\": \"\",\n \"indoorPoolsCount\": 0,\n \"indoorPoolsCountException\": \"\",\n \"lazyRiver\": false,\n \"lazyRiverException\": \"\",\n \"lifeguard\": false,\n \"lifeguardException\": \"\",\n \"outdoorPool\": false,\n \"outdoorPoolException\": \"\",\n \"outdoorPoolsCount\": 0,\n \"outdoorPoolsCountException\": \"\",\n \"pool\": false,\n \"poolException\": \"\",\n \"poolsCount\": 0,\n \"poolsCountException\": \"\",\n \"wadingPool\": false,\n \"wadingPoolException\": \"\",\n \"waterPark\": false,\n \"waterParkException\": \"\",\n \"waterslide\": false,\n \"waterslideException\": \"\",\n \"wavePool\": false,\n \"wavePoolException\": \"\"\n },\n \"property\": {\n \"builtYear\": 0,\n \"builtYearException\": \"\",\n \"floorsCount\": 0,\n \"floorsCountException\": \"\",\n \"lastRenovatedYear\": 0,\n \"lastRenovatedYearException\": \"\",\n \"roomsCount\": 0,\n \"roomsCountException\": \"\"\n },\n \"services\": {\n \"baggageStorage\": false,\n \"baggageStorageException\": \"\",\n \"concierge\": false,\n \"conciergeException\": \"\",\n \"convenienceStore\": false,\n \"convenienceStoreException\": \"\",\n \"currencyExchange\": false,\n \"currencyExchangeException\": \"\",\n \"elevator\": false,\n \"elevatorException\": \"\",\n \"frontDesk\": false,\n \"frontDeskException\": \"\",\n \"fullServiceLaundry\": false,\n \"fullServiceLaundryException\": \"\",\n \"giftShop\": false,\n \"giftShopException\": \"\",\n \"languagesSpoken\": [\n {\n \"languageCode\": \"\",\n \"spoken\": false,\n \"spokenException\": \"\"\n }\n ],\n \"selfServiceLaundry\": false,\n \"selfServiceLaundryException\": \"\",\n \"socialHour\": false,\n \"socialHourException\": \"\",\n \"twentyFourHourFrontDesk\": false,\n \"twentyFourHourFrontDeskException\": \"\",\n \"wakeUpCalls\": false,\n \"wakeUpCallsException\": \"\"\n },\n \"someUnits\": {},\n \"sustainability\": {\n \"energyEfficiency\": {\n \"carbonFreeEnergySources\": false,\n \"carbonFreeEnergySourcesException\": \"\",\n \"energyConservationProgram\": false,\n \"energyConservationProgramException\": \"\",\n \"energyEfficientHeatingAndCoolingSystems\": false,\n \"energyEfficientHeatingAndCoolingSystemsException\": \"\",\n \"energyEfficientLighting\": false,\n \"energyEfficientLightingException\": \"\",\n \"energySavingThermostats\": false,\n \"energySavingThermostatsException\": \"\",\n \"greenBuildingDesign\": false,\n \"greenBuildingDesignException\": \"\",\n \"independentOrganizationAuditsEnergyUse\": false,\n \"independentOrganizationAuditsEnergyUseException\": \"\"\n },\n \"sustainabilityCertifications\": {\n \"breeamCertification\": \"\",\n \"breeamCertificationException\": \"\",\n \"ecoCertifications\": [\n {\n \"awarded\": false,\n \"awardedException\": \"\",\n \"ecoCertificate\": \"\"\n }\n ],\n \"leedCertification\": \"\",\n \"leedCertificationException\": \"\"\n },\n \"sustainableSourcing\": {\n \"ecoFriendlyToiletries\": false,\n \"ecoFriendlyToiletriesException\": \"\",\n \"locallySourcedFoodAndBeverages\": false,\n \"locallySourcedFoodAndBeveragesException\": \"\",\n \"organicCageFreeEggs\": false,\n \"organicCageFreeEggsException\": \"\",\n \"organicFoodAndBeverages\": false,\n \"organicFoodAndBeveragesException\": \"\",\n \"responsiblePurchasingPolicy\": false,\n \"responsiblePurchasingPolicyException\": \"\",\n \"responsiblySourcesSeafood\": false,\n \"responsiblySourcesSeafoodException\": \"\",\n \"veganMeals\": false,\n \"veganMealsException\": \"\",\n \"vegetarianMeals\": false,\n \"vegetarianMealsException\": \"\"\n },\n \"wasteReduction\": {\n \"compostableFoodContainersAndCutlery\": false,\n \"compostableFoodContainersAndCutleryException\": \"\",\n \"compostsExcessFood\": false,\n \"compostsExcessFoodException\": \"\",\n \"donatesExcessFood\": false,\n \"donatesExcessFoodException\": \"\",\n \"foodWasteReductionProgram\": false,\n \"foodWasteReductionProgramException\": \"\",\n \"noSingleUsePlasticStraws\": false,\n \"noSingleUsePlasticStrawsException\": \"\",\n \"noSingleUsePlasticWaterBottles\": false,\n \"noSingleUsePlasticWaterBottlesException\": \"\",\n \"noStyrofoamFoodContainers\": false,\n \"noStyrofoamFoodContainersException\": \"\",\n \"recyclingProgram\": false,\n \"recyclingProgramException\": \"\",\n \"refillableToiletryContainers\": false,\n \"refillableToiletryContainersException\": \"\",\n \"safelyDisposesBatteries\": false,\n \"safelyDisposesBatteriesException\": \"\",\n \"safelyDisposesElectronics\": false,\n \"safelyDisposesElectronicsException\": \"\",\n \"safelyDisposesLightbulbs\": false,\n \"safelyDisposesLightbulbsException\": \"\",\n \"safelyHandlesHazardousSubstances\": false,\n \"safelyHandlesHazardousSubstancesException\": \"\",\n \"soapDonationProgram\": false,\n \"soapDonationProgramException\": \"\",\n \"toiletryDonationProgram\": false,\n \"toiletryDonationProgramException\": \"\",\n \"waterBottleFillingStations\": false,\n \"waterBottleFillingStationsException\": \"\"\n },\n \"waterConservation\": {\n \"independentOrganizationAuditsWaterUse\": false,\n \"independentOrganizationAuditsWaterUseException\": \"\",\n \"linenReuseProgram\": false,\n \"linenReuseProgramException\": \"\",\n \"towelReuseProgram\": false,\n \"towelReuseProgramException\": \"\",\n \"waterSavingShowers\": false,\n \"waterSavingShowersException\": \"\",\n \"waterSavingSinks\": false,\n \"waterSavingSinksException\": \"\",\n \"waterSavingToilets\": false,\n \"waterSavingToiletsException\": \"\"\n }\n },\n \"transportation\": {\n \"airportShuttle\": false,\n \"airportShuttleException\": \"\",\n \"carRentalOnProperty\": false,\n \"carRentalOnPropertyException\": \"\",\n \"freeAirportShuttle\": false,\n \"freeAirportShuttleException\": \"\",\n \"freePrivateCarService\": false,\n \"freePrivateCarServiceException\": \"\",\n \"localShuttle\": false,\n \"localShuttleException\": \"\",\n \"privateCarService\": false,\n \"privateCarServiceException\": \"\",\n \"transfer\": false,\n \"transferException\": \"\"\n },\n \"wellness\": {\n \"doctorOnCall\": false,\n \"doctorOnCallException\": \"\",\n \"ellipticalMachine\": false,\n \"ellipticalMachineException\": \"\",\n \"fitnessCenter\": false,\n \"fitnessCenterException\": \"\",\n \"freeFitnessCenter\": false,\n \"freeFitnessCenterException\": \"\",\n \"freeWeights\": false,\n \"freeWeightsException\": \"\",\n \"massage\": false,\n \"massageException\": \"\",\n \"salon\": false,\n \"salonException\": \"\",\n \"sauna\": false,\n \"saunaException\": \"\",\n \"spa\": false,\n \"spaException\": \"\",\n \"treadmill\": false,\n \"treadmillException\": \"\",\n \"weightMachine\": false,\n \"weightMachineException\": \"\"\n }\n}"
encode <- "json"
response <- VERB("PATCH", url, body = payload, content_type("application/json"), encode = encode)
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/v1/:name")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["content-type"] = 'application/json'
request.body = "{\n \"accessibility\": {\n \"mobilityAccessible\": false,\n \"mobilityAccessibleElevator\": false,\n \"mobilityAccessibleElevatorException\": \"\",\n \"mobilityAccessibleException\": \"\",\n \"mobilityAccessibleParking\": false,\n \"mobilityAccessibleParkingException\": \"\",\n \"mobilityAccessiblePool\": false,\n \"mobilityAccessiblePoolException\": \"\"\n },\n \"activities\": {\n \"beachAccess\": false,\n \"beachAccessException\": \"\",\n \"beachFront\": false,\n \"beachFrontException\": \"\",\n \"bicycleRental\": false,\n \"bicycleRentalException\": \"\",\n \"boutiqueStores\": false,\n \"boutiqueStoresException\": \"\",\n \"casino\": false,\n \"casinoException\": \"\",\n \"freeBicycleRental\": false,\n \"freeBicycleRentalException\": \"\",\n \"freeWatercraftRental\": false,\n \"freeWatercraftRentalException\": \"\",\n \"gameRoom\": false,\n \"gameRoomException\": \"\",\n \"golf\": false,\n \"golfException\": \"\",\n \"horsebackRiding\": false,\n \"horsebackRidingException\": \"\",\n \"nightclub\": false,\n \"nightclubException\": \"\",\n \"privateBeach\": false,\n \"privateBeachException\": \"\",\n \"scuba\": false,\n \"scubaException\": \"\",\n \"snorkeling\": false,\n \"snorkelingException\": \"\",\n \"tennis\": false,\n \"tennisException\": \"\",\n \"waterSkiing\": false,\n \"waterSkiingException\": \"\",\n \"watercraftRental\": false,\n \"watercraftRentalException\": \"\"\n },\n \"allUnits\": {\n \"bungalowOrVilla\": false,\n \"bungalowOrVillaException\": \"\",\n \"connectingUnitAvailable\": false,\n \"connectingUnitAvailableException\": \"\",\n \"executiveFloor\": false,\n \"executiveFloorException\": \"\",\n \"maxAdultOccupantsCount\": 0,\n \"maxAdultOccupantsCountException\": \"\",\n \"maxChildOccupantsCount\": 0,\n \"maxChildOccupantsCountException\": \"\",\n \"maxOccupantsCount\": 0,\n \"maxOccupantsCountException\": \"\",\n \"privateHome\": false,\n \"privateHomeException\": \"\",\n \"suite\": false,\n \"suiteException\": \"\",\n \"tier\": \"\",\n \"tierException\": \"\",\n \"totalLivingAreas\": {\n \"accessibility\": {\n \"adaCompliantUnit\": false,\n \"adaCompliantUnitException\": \"\",\n \"hearingAccessibleDoorbell\": false,\n \"hearingAccessibleDoorbellException\": \"\",\n \"hearingAccessibleFireAlarm\": false,\n \"hearingAccessibleFireAlarmException\": \"\",\n \"hearingAccessibleUnit\": false,\n \"hearingAccessibleUnitException\": \"\",\n \"mobilityAccessibleBathtub\": false,\n \"mobilityAccessibleBathtubException\": \"\",\n \"mobilityAccessibleShower\": false,\n \"mobilityAccessibleShowerException\": \"\",\n \"mobilityAccessibleToilet\": false,\n \"mobilityAccessibleToiletException\": \"\",\n \"mobilityAccessibleUnit\": false,\n \"mobilityAccessibleUnitException\": \"\"\n },\n \"eating\": {\n \"coffeeMaker\": false,\n \"coffeeMakerException\": \"\",\n \"cookware\": false,\n \"cookwareException\": \"\",\n \"dishwasher\": false,\n \"dishwasherException\": \"\",\n \"indoorGrill\": false,\n \"indoorGrillException\": \"\",\n \"kettle\": false,\n \"kettleException\": \"\",\n \"kitchenAvailable\": false,\n \"kitchenAvailableException\": \"\",\n \"microwave\": false,\n \"microwaveException\": \"\",\n \"minibar\": false,\n \"minibarException\": \"\",\n \"outdoorGrill\": false,\n \"outdoorGrillException\": \"\",\n \"oven\": false,\n \"ovenException\": \"\",\n \"refrigerator\": false,\n \"refrigeratorException\": \"\",\n \"sink\": false,\n \"sinkException\": \"\",\n \"snackbar\": false,\n \"snackbarException\": \"\",\n \"stove\": false,\n \"stoveException\": \"\",\n \"teaStation\": false,\n \"teaStationException\": \"\",\n \"toaster\": false,\n \"toasterException\": \"\"\n },\n \"features\": {\n \"airConditioning\": false,\n \"airConditioningException\": \"\",\n \"bathtub\": false,\n \"bathtubException\": \"\",\n \"bidet\": false,\n \"bidetException\": \"\",\n \"dryer\": false,\n \"dryerException\": \"\",\n \"electronicRoomKey\": false,\n \"electronicRoomKeyException\": \"\",\n \"fireplace\": false,\n \"fireplaceException\": \"\",\n \"hairdryer\": false,\n \"hairdryerException\": \"\",\n \"heating\": false,\n \"heatingException\": \"\",\n \"inunitSafe\": false,\n \"inunitSafeException\": \"\",\n \"inunitWifiAvailable\": false,\n \"inunitWifiAvailableException\": \"\",\n \"ironingEquipment\": false,\n \"ironingEquipmentException\": \"\",\n \"payPerViewMovies\": false,\n \"payPerViewMoviesException\": \"\",\n \"privateBathroom\": false,\n \"privateBathroomException\": \"\",\n \"shower\": false,\n \"showerException\": \"\",\n \"toilet\": false,\n \"toiletException\": \"\",\n \"tv\": false,\n \"tvCasting\": false,\n \"tvCastingException\": \"\",\n \"tvException\": \"\",\n \"tvStreaming\": false,\n \"tvStreamingException\": \"\",\n \"universalPowerAdapters\": false,\n \"universalPowerAdaptersException\": \"\",\n \"washer\": false,\n \"washerException\": \"\"\n },\n \"layout\": {\n \"balcony\": false,\n \"balconyException\": \"\",\n \"livingAreaSqMeters\": \"\",\n \"livingAreaSqMetersException\": \"\",\n \"loft\": false,\n \"loftException\": \"\",\n \"nonSmoking\": false,\n \"nonSmokingException\": \"\",\n \"patio\": false,\n \"patioException\": \"\",\n \"stairs\": false,\n \"stairsException\": \"\"\n },\n \"sleeping\": {\n \"bedsCount\": 0,\n \"bedsCountException\": \"\",\n \"bunkBedsCount\": 0,\n \"bunkBedsCountException\": \"\",\n \"cribsCount\": 0,\n \"cribsCountException\": \"\",\n \"doubleBedsCount\": 0,\n \"doubleBedsCountException\": \"\",\n \"featherPillows\": false,\n \"featherPillowsException\": \"\",\n \"hypoallergenicBedding\": false,\n \"hypoallergenicBeddingException\": \"\",\n \"kingBedsCount\": 0,\n \"kingBedsCountException\": \"\",\n \"memoryFoamPillows\": false,\n \"memoryFoamPillowsException\": \"\",\n \"otherBedsCount\": 0,\n \"otherBedsCountException\": \"\",\n \"queenBedsCount\": 0,\n \"queenBedsCountException\": \"\",\n \"rollAwayBedsCount\": 0,\n \"rollAwayBedsCountException\": \"\",\n \"singleOrTwinBedsCount\": 0,\n \"singleOrTwinBedsCountException\": \"\",\n \"sofaBedsCount\": 0,\n \"sofaBedsCountException\": \"\",\n \"syntheticPillows\": false,\n \"syntheticPillowsException\": \"\"\n }\n },\n \"views\": {\n \"beachView\": false,\n \"beachViewException\": \"\",\n \"cityView\": false,\n \"cityViewException\": \"\",\n \"gardenView\": false,\n \"gardenViewException\": \"\",\n \"lakeView\": false,\n \"lakeViewException\": \"\",\n \"landmarkView\": false,\n \"landmarkViewException\": \"\",\n \"oceanView\": false,\n \"oceanViewException\": \"\",\n \"poolView\": false,\n \"poolViewException\": \"\",\n \"valleyView\": false,\n \"valleyViewException\": \"\"\n }\n },\n \"business\": {\n \"businessCenter\": false,\n \"businessCenterException\": \"\",\n \"meetingRooms\": false,\n \"meetingRoomsCount\": 0,\n \"meetingRoomsCountException\": \"\",\n \"meetingRoomsException\": \"\"\n },\n \"commonLivingArea\": {},\n \"connectivity\": {\n \"freeWifi\": false,\n \"freeWifiException\": \"\",\n \"publicAreaWifiAvailable\": false,\n \"publicAreaWifiAvailableException\": \"\",\n \"publicInternetTerminal\": false,\n \"publicInternetTerminalException\": \"\",\n \"wifiAvailable\": false,\n \"wifiAvailableException\": \"\"\n },\n \"families\": {\n \"babysitting\": false,\n \"babysittingException\": \"\",\n \"kidsActivities\": false,\n \"kidsActivitiesException\": \"\",\n \"kidsClub\": false,\n \"kidsClubException\": \"\",\n \"kidsFriendly\": false,\n \"kidsFriendlyException\": \"\"\n },\n \"foodAndDrink\": {\n \"bar\": false,\n \"barException\": \"\",\n \"breakfastAvailable\": false,\n \"breakfastAvailableException\": \"\",\n \"breakfastBuffet\": false,\n \"breakfastBuffetException\": \"\",\n \"buffet\": false,\n \"buffetException\": \"\",\n \"dinnerBuffet\": false,\n \"dinnerBuffetException\": \"\",\n \"freeBreakfast\": false,\n \"freeBreakfastException\": \"\",\n \"restaurant\": false,\n \"restaurantException\": \"\",\n \"restaurantsCount\": 0,\n \"restaurantsCountException\": \"\",\n \"roomService\": false,\n \"roomServiceException\": \"\",\n \"tableService\": false,\n \"tableServiceException\": \"\",\n \"twentyFourHourRoomService\": false,\n \"twentyFourHourRoomServiceException\": \"\",\n \"vendingMachine\": false,\n \"vendingMachineException\": \"\"\n },\n \"guestUnits\": [\n {\n \"codes\": [],\n \"features\": {},\n \"label\": \"\"\n }\n ],\n \"healthAndSafety\": {\n \"enhancedCleaning\": {\n \"commercialGradeDisinfectantCleaning\": false,\n \"commercialGradeDisinfectantCleaningException\": \"\",\n \"commonAreasEnhancedCleaning\": false,\n \"commonAreasEnhancedCleaningException\": \"\",\n \"employeesTrainedCleaningProcedures\": false,\n \"employeesTrainedCleaningProceduresException\": \"\",\n \"employeesTrainedThoroughHandWashing\": false,\n \"employeesTrainedThoroughHandWashingException\": \"\",\n \"employeesWearProtectiveEquipment\": false,\n \"employeesWearProtectiveEquipmentException\": \"\",\n \"guestRoomsEnhancedCleaning\": false,\n \"guestRoomsEnhancedCleaningException\": \"\"\n },\n \"increasedFoodSafety\": {\n \"diningAreasAdditionalSanitation\": false,\n \"diningAreasAdditionalSanitationException\": \"\",\n \"disposableFlatware\": false,\n \"disposableFlatwareException\": \"\",\n \"foodPreparationAndServingAdditionalSafety\": false,\n \"foodPreparationAndServingAdditionalSafetyException\": \"\",\n \"individualPackagedMeals\": false,\n \"individualPackagedMealsException\": \"\",\n \"singleUseFoodMenus\": false,\n \"singleUseFoodMenusException\": \"\"\n },\n \"minimizedContact\": {\n \"contactlessCheckinCheckout\": false,\n \"contactlessCheckinCheckoutException\": \"\",\n \"digitalGuestRoomKeys\": false,\n \"digitalGuestRoomKeysException\": \"\",\n \"housekeepingScheduledRequestOnly\": false,\n \"housekeepingScheduledRequestOnlyException\": \"\",\n \"noHighTouchItemsCommonAreas\": false,\n \"noHighTouchItemsCommonAreasException\": \"\",\n \"noHighTouchItemsGuestRooms\": false,\n \"noHighTouchItemsGuestRoomsException\": \"\",\n \"plasticKeycardsDisinfected\": false,\n \"plasticKeycardsDisinfectedException\": \"\",\n \"roomBookingsBuffer\": false,\n \"roomBookingsBufferException\": \"\"\n },\n \"personalProtection\": {\n \"commonAreasOfferSanitizingItems\": false,\n \"commonAreasOfferSanitizingItemsException\": \"\",\n \"faceMaskRequired\": false,\n \"faceMaskRequiredException\": \"\",\n \"guestRoomHygieneKitsAvailable\": false,\n \"guestRoomHygieneKitsAvailableException\": \"\",\n \"protectiveEquipmentAvailable\": false,\n \"protectiveEquipmentAvailableException\": \"\"\n },\n \"physicalDistancing\": {\n \"commonAreasPhysicalDistancingArranged\": false,\n \"commonAreasPhysicalDistancingArrangedException\": \"\",\n \"physicalDistancingRequired\": false,\n \"physicalDistancingRequiredException\": \"\",\n \"safetyDividers\": false,\n \"safetyDividersException\": \"\",\n \"sharedAreasLimitedOccupancy\": false,\n \"sharedAreasLimitedOccupancyException\": \"\",\n \"wellnessAreasHavePrivateSpaces\": false,\n \"wellnessAreasHavePrivateSpacesException\": \"\"\n }\n },\n \"housekeeping\": {\n \"dailyHousekeeping\": false,\n \"dailyHousekeepingException\": \"\",\n \"housekeepingAvailable\": false,\n \"housekeepingAvailableException\": \"\",\n \"turndownService\": false,\n \"turndownServiceException\": \"\"\n },\n \"metadata\": {\n \"updateTime\": \"\"\n },\n \"name\": \"\",\n \"parking\": {\n \"electricCarChargingStations\": false,\n \"electricCarChargingStationsException\": \"\",\n \"freeParking\": false,\n \"freeParkingException\": \"\",\n \"freeSelfParking\": false,\n \"freeSelfParkingException\": \"\",\n \"freeValetParking\": false,\n \"freeValetParkingException\": \"\",\n \"parkingAvailable\": false,\n \"parkingAvailableException\": \"\",\n \"selfParkingAvailable\": false,\n \"selfParkingAvailableException\": \"\",\n \"valetParkingAvailable\": false,\n \"valetParkingAvailableException\": \"\"\n },\n \"pets\": {\n \"catsAllowed\": false,\n \"catsAllowedException\": \"\",\n \"dogsAllowed\": false,\n \"dogsAllowedException\": \"\",\n \"petsAllowed\": false,\n \"petsAllowedException\": \"\",\n \"petsAllowedFree\": false,\n \"petsAllowedFreeException\": \"\"\n },\n \"policies\": {\n \"allInclusiveAvailable\": false,\n \"allInclusiveAvailableException\": \"\",\n \"allInclusiveOnly\": false,\n \"allInclusiveOnlyException\": \"\",\n \"checkinTime\": {\n \"hours\": 0,\n \"minutes\": 0,\n \"nanos\": 0,\n \"seconds\": 0\n },\n \"checkinTimeException\": \"\",\n \"checkoutTime\": {},\n \"checkoutTimeException\": \"\",\n \"kidsStayFree\": false,\n \"kidsStayFreeException\": \"\",\n \"maxChildAge\": 0,\n \"maxChildAgeException\": \"\",\n \"maxKidsStayFreeCount\": 0,\n \"maxKidsStayFreeCountException\": \"\",\n \"paymentOptions\": {\n \"cash\": false,\n \"cashException\": \"\",\n \"cheque\": false,\n \"chequeException\": \"\",\n \"creditCard\": false,\n \"creditCardException\": \"\",\n \"debitCard\": false,\n \"debitCardException\": \"\",\n \"mobileNfc\": false,\n \"mobileNfcException\": \"\"\n },\n \"smokeFreeProperty\": false,\n \"smokeFreePropertyException\": \"\"\n },\n \"pools\": {\n \"adultPool\": false,\n \"adultPoolException\": \"\",\n \"hotTub\": false,\n \"hotTubException\": \"\",\n \"indoorPool\": false,\n \"indoorPoolException\": \"\",\n \"indoorPoolsCount\": 0,\n \"indoorPoolsCountException\": \"\",\n \"lazyRiver\": false,\n \"lazyRiverException\": \"\",\n \"lifeguard\": false,\n \"lifeguardException\": \"\",\n \"outdoorPool\": false,\n \"outdoorPoolException\": \"\",\n \"outdoorPoolsCount\": 0,\n \"outdoorPoolsCountException\": \"\",\n \"pool\": false,\n \"poolException\": \"\",\n \"poolsCount\": 0,\n \"poolsCountException\": \"\",\n \"wadingPool\": false,\n \"wadingPoolException\": \"\",\n \"waterPark\": false,\n \"waterParkException\": \"\",\n \"waterslide\": false,\n \"waterslideException\": \"\",\n \"wavePool\": false,\n \"wavePoolException\": \"\"\n },\n \"property\": {\n \"builtYear\": 0,\n \"builtYearException\": \"\",\n \"floorsCount\": 0,\n \"floorsCountException\": \"\",\n \"lastRenovatedYear\": 0,\n \"lastRenovatedYearException\": \"\",\n \"roomsCount\": 0,\n \"roomsCountException\": \"\"\n },\n \"services\": {\n \"baggageStorage\": false,\n \"baggageStorageException\": \"\",\n \"concierge\": false,\n \"conciergeException\": \"\",\n \"convenienceStore\": false,\n \"convenienceStoreException\": \"\",\n \"currencyExchange\": false,\n \"currencyExchangeException\": \"\",\n \"elevator\": false,\n \"elevatorException\": \"\",\n \"frontDesk\": false,\n \"frontDeskException\": \"\",\n \"fullServiceLaundry\": false,\n \"fullServiceLaundryException\": \"\",\n \"giftShop\": false,\n \"giftShopException\": \"\",\n \"languagesSpoken\": [\n {\n \"languageCode\": \"\",\n \"spoken\": false,\n \"spokenException\": \"\"\n }\n ],\n \"selfServiceLaundry\": false,\n \"selfServiceLaundryException\": \"\",\n \"socialHour\": false,\n \"socialHourException\": \"\",\n \"twentyFourHourFrontDesk\": false,\n \"twentyFourHourFrontDeskException\": \"\",\n \"wakeUpCalls\": false,\n \"wakeUpCallsException\": \"\"\n },\n \"someUnits\": {},\n \"sustainability\": {\n \"energyEfficiency\": {\n \"carbonFreeEnergySources\": false,\n \"carbonFreeEnergySourcesException\": \"\",\n \"energyConservationProgram\": false,\n \"energyConservationProgramException\": \"\",\n \"energyEfficientHeatingAndCoolingSystems\": false,\n \"energyEfficientHeatingAndCoolingSystemsException\": \"\",\n \"energyEfficientLighting\": false,\n \"energyEfficientLightingException\": \"\",\n \"energySavingThermostats\": false,\n \"energySavingThermostatsException\": \"\",\n \"greenBuildingDesign\": false,\n \"greenBuildingDesignException\": \"\",\n \"independentOrganizationAuditsEnergyUse\": false,\n \"independentOrganizationAuditsEnergyUseException\": \"\"\n },\n \"sustainabilityCertifications\": {\n \"breeamCertification\": \"\",\n \"breeamCertificationException\": \"\",\n \"ecoCertifications\": [\n {\n \"awarded\": false,\n \"awardedException\": \"\",\n \"ecoCertificate\": \"\"\n }\n ],\n \"leedCertification\": \"\",\n \"leedCertificationException\": \"\"\n },\n \"sustainableSourcing\": {\n \"ecoFriendlyToiletries\": false,\n \"ecoFriendlyToiletriesException\": \"\",\n \"locallySourcedFoodAndBeverages\": false,\n \"locallySourcedFoodAndBeveragesException\": \"\",\n \"organicCageFreeEggs\": false,\n \"organicCageFreeEggsException\": \"\",\n \"organicFoodAndBeverages\": false,\n \"organicFoodAndBeveragesException\": \"\",\n \"responsiblePurchasingPolicy\": false,\n \"responsiblePurchasingPolicyException\": \"\",\n \"responsiblySourcesSeafood\": false,\n \"responsiblySourcesSeafoodException\": \"\",\n \"veganMeals\": false,\n \"veganMealsException\": \"\",\n \"vegetarianMeals\": false,\n \"vegetarianMealsException\": \"\"\n },\n \"wasteReduction\": {\n \"compostableFoodContainersAndCutlery\": false,\n \"compostableFoodContainersAndCutleryException\": \"\",\n \"compostsExcessFood\": false,\n \"compostsExcessFoodException\": \"\",\n \"donatesExcessFood\": false,\n \"donatesExcessFoodException\": \"\",\n \"foodWasteReductionProgram\": false,\n \"foodWasteReductionProgramException\": \"\",\n \"noSingleUsePlasticStraws\": false,\n \"noSingleUsePlasticStrawsException\": \"\",\n \"noSingleUsePlasticWaterBottles\": false,\n \"noSingleUsePlasticWaterBottlesException\": \"\",\n \"noStyrofoamFoodContainers\": false,\n \"noStyrofoamFoodContainersException\": \"\",\n \"recyclingProgram\": false,\n \"recyclingProgramException\": \"\",\n \"refillableToiletryContainers\": false,\n \"refillableToiletryContainersException\": \"\",\n \"safelyDisposesBatteries\": false,\n \"safelyDisposesBatteriesException\": \"\",\n \"safelyDisposesElectronics\": false,\n \"safelyDisposesElectronicsException\": \"\",\n \"safelyDisposesLightbulbs\": false,\n \"safelyDisposesLightbulbsException\": \"\",\n \"safelyHandlesHazardousSubstances\": false,\n \"safelyHandlesHazardousSubstancesException\": \"\",\n \"soapDonationProgram\": false,\n \"soapDonationProgramException\": \"\",\n \"toiletryDonationProgram\": false,\n \"toiletryDonationProgramException\": \"\",\n \"waterBottleFillingStations\": false,\n \"waterBottleFillingStationsException\": \"\"\n },\n \"waterConservation\": {\n \"independentOrganizationAuditsWaterUse\": false,\n \"independentOrganizationAuditsWaterUseException\": \"\",\n \"linenReuseProgram\": false,\n \"linenReuseProgramException\": \"\",\n \"towelReuseProgram\": false,\n \"towelReuseProgramException\": \"\",\n \"waterSavingShowers\": false,\n \"waterSavingShowersException\": \"\",\n \"waterSavingSinks\": false,\n \"waterSavingSinksException\": \"\",\n \"waterSavingToilets\": false,\n \"waterSavingToiletsException\": \"\"\n }\n },\n \"transportation\": {\n \"airportShuttle\": false,\n \"airportShuttleException\": \"\",\n \"carRentalOnProperty\": false,\n \"carRentalOnPropertyException\": \"\",\n \"freeAirportShuttle\": false,\n \"freeAirportShuttleException\": \"\",\n \"freePrivateCarService\": false,\n \"freePrivateCarServiceException\": \"\",\n \"localShuttle\": false,\n \"localShuttleException\": \"\",\n \"privateCarService\": false,\n \"privateCarServiceException\": \"\",\n \"transfer\": false,\n \"transferException\": \"\"\n },\n \"wellness\": {\n \"doctorOnCall\": false,\n \"doctorOnCallException\": \"\",\n \"ellipticalMachine\": false,\n \"ellipticalMachineException\": \"\",\n \"fitnessCenter\": false,\n \"fitnessCenterException\": \"\",\n \"freeFitnessCenter\": false,\n \"freeFitnessCenterException\": \"\",\n \"freeWeights\": false,\n \"freeWeightsException\": \"\",\n \"massage\": false,\n \"massageException\": \"\",\n \"salon\": false,\n \"salonException\": \"\",\n \"sauna\": false,\n \"saunaException\": \"\",\n \"spa\": false,\n \"spaException\": \"\",\n \"treadmill\": false,\n \"treadmillException\": \"\",\n \"weightMachine\": false,\n \"weightMachineException\": \"\"\n }\n}"
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
headers: {'Content-Type' => 'application/json'}
)
response = conn.patch('/baseUrl/v1/:name') do |req|
req.body = "{\n \"accessibility\": {\n \"mobilityAccessible\": false,\n \"mobilityAccessibleElevator\": false,\n \"mobilityAccessibleElevatorException\": \"\",\n \"mobilityAccessibleException\": \"\",\n \"mobilityAccessibleParking\": false,\n \"mobilityAccessibleParkingException\": \"\",\n \"mobilityAccessiblePool\": false,\n \"mobilityAccessiblePoolException\": \"\"\n },\n \"activities\": {\n \"beachAccess\": false,\n \"beachAccessException\": \"\",\n \"beachFront\": false,\n \"beachFrontException\": \"\",\n \"bicycleRental\": false,\n \"bicycleRentalException\": \"\",\n \"boutiqueStores\": false,\n \"boutiqueStoresException\": \"\",\n \"casino\": false,\n \"casinoException\": \"\",\n \"freeBicycleRental\": false,\n \"freeBicycleRentalException\": \"\",\n \"freeWatercraftRental\": false,\n \"freeWatercraftRentalException\": \"\",\n \"gameRoom\": false,\n \"gameRoomException\": \"\",\n \"golf\": false,\n \"golfException\": \"\",\n \"horsebackRiding\": false,\n \"horsebackRidingException\": \"\",\n \"nightclub\": false,\n \"nightclubException\": \"\",\n \"privateBeach\": false,\n \"privateBeachException\": \"\",\n \"scuba\": false,\n \"scubaException\": \"\",\n \"snorkeling\": false,\n \"snorkelingException\": \"\",\n \"tennis\": false,\n \"tennisException\": \"\",\n \"waterSkiing\": false,\n \"waterSkiingException\": \"\",\n \"watercraftRental\": false,\n \"watercraftRentalException\": \"\"\n },\n \"allUnits\": {\n \"bungalowOrVilla\": false,\n \"bungalowOrVillaException\": \"\",\n \"connectingUnitAvailable\": false,\n \"connectingUnitAvailableException\": \"\",\n \"executiveFloor\": false,\n \"executiveFloorException\": \"\",\n \"maxAdultOccupantsCount\": 0,\n \"maxAdultOccupantsCountException\": \"\",\n \"maxChildOccupantsCount\": 0,\n \"maxChildOccupantsCountException\": \"\",\n \"maxOccupantsCount\": 0,\n \"maxOccupantsCountException\": \"\",\n \"privateHome\": false,\n \"privateHomeException\": \"\",\n \"suite\": false,\n \"suiteException\": \"\",\n \"tier\": \"\",\n \"tierException\": \"\",\n \"totalLivingAreas\": {\n \"accessibility\": {\n \"adaCompliantUnit\": false,\n \"adaCompliantUnitException\": \"\",\n \"hearingAccessibleDoorbell\": false,\n \"hearingAccessibleDoorbellException\": \"\",\n \"hearingAccessibleFireAlarm\": false,\n \"hearingAccessibleFireAlarmException\": \"\",\n \"hearingAccessibleUnit\": false,\n \"hearingAccessibleUnitException\": \"\",\n \"mobilityAccessibleBathtub\": false,\n \"mobilityAccessibleBathtubException\": \"\",\n \"mobilityAccessibleShower\": false,\n \"mobilityAccessibleShowerException\": \"\",\n \"mobilityAccessibleToilet\": false,\n \"mobilityAccessibleToiletException\": \"\",\n \"mobilityAccessibleUnit\": false,\n \"mobilityAccessibleUnitException\": \"\"\n },\n \"eating\": {\n \"coffeeMaker\": false,\n \"coffeeMakerException\": \"\",\n \"cookware\": false,\n \"cookwareException\": \"\",\n \"dishwasher\": false,\n \"dishwasherException\": \"\",\n \"indoorGrill\": false,\n \"indoorGrillException\": \"\",\n \"kettle\": false,\n \"kettleException\": \"\",\n \"kitchenAvailable\": false,\n \"kitchenAvailableException\": \"\",\n \"microwave\": false,\n \"microwaveException\": \"\",\n \"minibar\": false,\n \"minibarException\": \"\",\n \"outdoorGrill\": false,\n \"outdoorGrillException\": \"\",\n \"oven\": false,\n \"ovenException\": \"\",\n \"refrigerator\": false,\n \"refrigeratorException\": \"\",\n \"sink\": false,\n \"sinkException\": \"\",\n \"snackbar\": false,\n \"snackbarException\": \"\",\n \"stove\": false,\n \"stoveException\": \"\",\n \"teaStation\": false,\n \"teaStationException\": \"\",\n \"toaster\": false,\n \"toasterException\": \"\"\n },\n \"features\": {\n \"airConditioning\": false,\n \"airConditioningException\": \"\",\n \"bathtub\": false,\n \"bathtubException\": \"\",\n \"bidet\": false,\n \"bidetException\": \"\",\n \"dryer\": false,\n \"dryerException\": \"\",\n \"electronicRoomKey\": false,\n \"electronicRoomKeyException\": \"\",\n \"fireplace\": false,\n \"fireplaceException\": \"\",\n \"hairdryer\": false,\n \"hairdryerException\": \"\",\n \"heating\": false,\n \"heatingException\": \"\",\n \"inunitSafe\": false,\n \"inunitSafeException\": \"\",\n \"inunitWifiAvailable\": false,\n \"inunitWifiAvailableException\": \"\",\n \"ironingEquipment\": false,\n \"ironingEquipmentException\": \"\",\n \"payPerViewMovies\": false,\n \"payPerViewMoviesException\": \"\",\n \"privateBathroom\": false,\n \"privateBathroomException\": \"\",\n \"shower\": false,\n \"showerException\": \"\",\n \"toilet\": false,\n \"toiletException\": \"\",\n \"tv\": false,\n \"tvCasting\": false,\n \"tvCastingException\": \"\",\n \"tvException\": \"\",\n \"tvStreaming\": false,\n \"tvStreamingException\": \"\",\n \"universalPowerAdapters\": false,\n \"universalPowerAdaptersException\": \"\",\n \"washer\": false,\n \"washerException\": \"\"\n },\n \"layout\": {\n \"balcony\": false,\n \"balconyException\": \"\",\n \"livingAreaSqMeters\": \"\",\n \"livingAreaSqMetersException\": \"\",\n \"loft\": false,\n \"loftException\": \"\",\n \"nonSmoking\": false,\n \"nonSmokingException\": \"\",\n \"patio\": false,\n \"patioException\": \"\",\n \"stairs\": false,\n \"stairsException\": \"\"\n },\n \"sleeping\": {\n \"bedsCount\": 0,\n \"bedsCountException\": \"\",\n \"bunkBedsCount\": 0,\n \"bunkBedsCountException\": \"\",\n \"cribsCount\": 0,\n \"cribsCountException\": \"\",\n \"doubleBedsCount\": 0,\n \"doubleBedsCountException\": \"\",\n \"featherPillows\": false,\n \"featherPillowsException\": \"\",\n \"hypoallergenicBedding\": false,\n \"hypoallergenicBeddingException\": \"\",\n \"kingBedsCount\": 0,\n \"kingBedsCountException\": \"\",\n \"memoryFoamPillows\": false,\n \"memoryFoamPillowsException\": \"\",\n \"otherBedsCount\": 0,\n \"otherBedsCountException\": \"\",\n \"queenBedsCount\": 0,\n \"queenBedsCountException\": \"\",\n \"rollAwayBedsCount\": 0,\n \"rollAwayBedsCountException\": \"\",\n \"singleOrTwinBedsCount\": 0,\n \"singleOrTwinBedsCountException\": \"\",\n \"sofaBedsCount\": 0,\n \"sofaBedsCountException\": \"\",\n \"syntheticPillows\": false,\n \"syntheticPillowsException\": \"\"\n }\n },\n \"views\": {\n \"beachView\": false,\n \"beachViewException\": \"\",\n \"cityView\": false,\n \"cityViewException\": \"\",\n \"gardenView\": false,\n \"gardenViewException\": \"\",\n \"lakeView\": false,\n \"lakeViewException\": \"\",\n \"landmarkView\": false,\n \"landmarkViewException\": \"\",\n \"oceanView\": false,\n \"oceanViewException\": \"\",\n \"poolView\": false,\n \"poolViewException\": \"\",\n \"valleyView\": false,\n \"valleyViewException\": \"\"\n }\n },\n \"business\": {\n \"businessCenter\": false,\n \"businessCenterException\": \"\",\n \"meetingRooms\": false,\n \"meetingRoomsCount\": 0,\n \"meetingRoomsCountException\": \"\",\n \"meetingRoomsException\": \"\"\n },\n \"commonLivingArea\": {},\n \"connectivity\": {\n \"freeWifi\": false,\n \"freeWifiException\": \"\",\n \"publicAreaWifiAvailable\": false,\n \"publicAreaWifiAvailableException\": \"\",\n \"publicInternetTerminal\": false,\n \"publicInternetTerminalException\": \"\",\n \"wifiAvailable\": false,\n \"wifiAvailableException\": \"\"\n },\n \"families\": {\n \"babysitting\": false,\n \"babysittingException\": \"\",\n \"kidsActivities\": false,\n \"kidsActivitiesException\": \"\",\n \"kidsClub\": false,\n \"kidsClubException\": \"\",\n \"kidsFriendly\": false,\n \"kidsFriendlyException\": \"\"\n },\n \"foodAndDrink\": {\n \"bar\": false,\n \"barException\": \"\",\n \"breakfastAvailable\": false,\n \"breakfastAvailableException\": \"\",\n \"breakfastBuffet\": false,\n \"breakfastBuffetException\": \"\",\n \"buffet\": false,\n \"buffetException\": \"\",\n \"dinnerBuffet\": false,\n \"dinnerBuffetException\": \"\",\n \"freeBreakfast\": false,\n \"freeBreakfastException\": \"\",\n \"restaurant\": false,\n \"restaurantException\": \"\",\n \"restaurantsCount\": 0,\n \"restaurantsCountException\": \"\",\n \"roomService\": false,\n \"roomServiceException\": \"\",\n \"tableService\": false,\n \"tableServiceException\": \"\",\n \"twentyFourHourRoomService\": false,\n \"twentyFourHourRoomServiceException\": \"\",\n \"vendingMachine\": false,\n \"vendingMachineException\": \"\"\n },\n \"guestUnits\": [\n {\n \"codes\": [],\n \"features\": {},\n \"label\": \"\"\n }\n ],\n \"healthAndSafety\": {\n \"enhancedCleaning\": {\n \"commercialGradeDisinfectantCleaning\": false,\n \"commercialGradeDisinfectantCleaningException\": \"\",\n \"commonAreasEnhancedCleaning\": false,\n \"commonAreasEnhancedCleaningException\": \"\",\n \"employeesTrainedCleaningProcedures\": false,\n \"employeesTrainedCleaningProceduresException\": \"\",\n \"employeesTrainedThoroughHandWashing\": false,\n \"employeesTrainedThoroughHandWashingException\": \"\",\n \"employeesWearProtectiveEquipment\": false,\n \"employeesWearProtectiveEquipmentException\": \"\",\n \"guestRoomsEnhancedCleaning\": false,\n \"guestRoomsEnhancedCleaningException\": \"\"\n },\n \"increasedFoodSafety\": {\n \"diningAreasAdditionalSanitation\": false,\n \"diningAreasAdditionalSanitationException\": \"\",\n \"disposableFlatware\": false,\n \"disposableFlatwareException\": \"\",\n \"foodPreparationAndServingAdditionalSafety\": false,\n \"foodPreparationAndServingAdditionalSafetyException\": \"\",\n \"individualPackagedMeals\": false,\n \"individualPackagedMealsException\": \"\",\n \"singleUseFoodMenus\": false,\n \"singleUseFoodMenusException\": \"\"\n },\n \"minimizedContact\": {\n \"contactlessCheckinCheckout\": false,\n \"contactlessCheckinCheckoutException\": \"\",\n \"digitalGuestRoomKeys\": false,\n \"digitalGuestRoomKeysException\": \"\",\n \"housekeepingScheduledRequestOnly\": false,\n \"housekeepingScheduledRequestOnlyException\": \"\",\n \"noHighTouchItemsCommonAreas\": false,\n \"noHighTouchItemsCommonAreasException\": \"\",\n \"noHighTouchItemsGuestRooms\": false,\n \"noHighTouchItemsGuestRoomsException\": \"\",\n \"plasticKeycardsDisinfected\": false,\n \"plasticKeycardsDisinfectedException\": \"\",\n \"roomBookingsBuffer\": false,\n \"roomBookingsBufferException\": \"\"\n },\n \"personalProtection\": {\n \"commonAreasOfferSanitizingItems\": false,\n \"commonAreasOfferSanitizingItemsException\": \"\",\n \"faceMaskRequired\": false,\n \"faceMaskRequiredException\": \"\",\n \"guestRoomHygieneKitsAvailable\": false,\n \"guestRoomHygieneKitsAvailableException\": \"\",\n \"protectiveEquipmentAvailable\": false,\n \"protectiveEquipmentAvailableException\": \"\"\n },\n \"physicalDistancing\": {\n \"commonAreasPhysicalDistancingArranged\": false,\n \"commonAreasPhysicalDistancingArrangedException\": \"\",\n \"physicalDistancingRequired\": false,\n \"physicalDistancingRequiredException\": \"\",\n \"safetyDividers\": false,\n \"safetyDividersException\": \"\",\n \"sharedAreasLimitedOccupancy\": false,\n \"sharedAreasLimitedOccupancyException\": \"\",\n \"wellnessAreasHavePrivateSpaces\": false,\n \"wellnessAreasHavePrivateSpacesException\": \"\"\n }\n },\n \"housekeeping\": {\n \"dailyHousekeeping\": false,\n \"dailyHousekeepingException\": \"\",\n \"housekeepingAvailable\": false,\n \"housekeepingAvailableException\": \"\",\n \"turndownService\": false,\n \"turndownServiceException\": \"\"\n },\n \"metadata\": {\n \"updateTime\": \"\"\n },\n \"name\": \"\",\n \"parking\": {\n \"electricCarChargingStations\": false,\n \"electricCarChargingStationsException\": \"\",\n \"freeParking\": false,\n \"freeParkingException\": \"\",\n \"freeSelfParking\": false,\n \"freeSelfParkingException\": \"\",\n \"freeValetParking\": false,\n \"freeValetParkingException\": \"\",\n \"parkingAvailable\": false,\n \"parkingAvailableException\": \"\",\n \"selfParkingAvailable\": false,\n \"selfParkingAvailableException\": \"\",\n \"valetParkingAvailable\": false,\n \"valetParkingAvailableException\": \"\"\n },\n \"pets\": {\n \"catsAllowed\": false,\n \"catsAllowedException\": \"\",\n \"dogsAllowed\": false,\n \"dogsAllowedException\": \"\",\n \"petsAllowed\": false,\n \"petsAllowedException\": \"\",\n \"petsAllowedFree\": false,\n \"petsAllowedFreeException\": \"\"\n },\n \"policies\": {\n \"allInclusiveAvailable\": false,\n \"allInclusiveAvailableException\": \"\",\n \"allInclusiveOnly\": false,\n \"allInclusiveOnlyException\": \"\",\n \"checkinTime\": {\n \"hours\": 0,\n \"minutes\": 0,\n \"nanos\": 0,\n \"seconds\": 0\n },\n \"checkinTimeException\": \"\",\n \"checkoutTime\": {},\n \"checkoutTimeException\": \"\",\n \"kidsStayFree\": false,\n \"kidsStayFreeException\": \"\",\n \"maxChildAge\": 0,\n \"maxChildAgeException\": \"\",\n \"maxKidsStayFreeCount\": 0,\n \"maxKidsStayFreeCountException\": \"\",\n \"paymentOptions\": {\n \"cash\": false,\n \"cashException\": \"\",\n \"cheque\": false,\n \"chequeException\": \"\",\n \"creditCard\": false,\n \"creditCardException\": \"\",\n \"debitCard\": false,\n \"debitCardException\": \"\",\n \"mobileNfc\": false,\n \"mobileNfcException\": \"\"\n },\n \"smokeFreeProperty\": false,\n \"smokeFreePropertyException\": \"\"\n },\n \"pools\": {\n \"adultPool\": false,\n \"adultPoolException\": \"\",\n \"hotTub\": false,\n \"hotTubException\": \"\",\n \"indoorPool\": false,\n \"indoorPoolException\": \"\",\n \"indoorPoolsCount\": 0,\n \"indoorPoolsCountException\": \"\",\n \"lazyRiver\": false,\n \"lazyRiverException\": \"\",\n \"lifeguard\": false,\n \"lifeguardException\": \"\",\n \"outdoorPool\": false,\n \"outdoorPoolException\": \"\",\n \"outdoorPoolsCount\": 0,\n \"outdoorPoolsCountException\": \"\",\n \"pool\": false,\n \"poolException\": \"\",\n \"poolsCount\": 0,\n \"poolsCountException\": \"\",\n \"wadingPool\": false,\n \"wadingPoolException\": \"\",\n \"waterPark\": false,\n \"waterParkException\": \"\",\n \"waterslide\": false,\n \"waterslideException\": \"\",\n \"wavePool\": false,\n \"wavePoolException\": \"\"\n },\n \"property\": {\n \"builtYear\": 0,\n \"builtYearException\": \"\",\n \"floorsCount\": 0,\n \"floorsCountException\": \"\",\n \"lastRenovatedYear\": 0,\n \"lastRenovatedYearException\": \"\",\n \"roomsCount\": 0,\n \"roomsCountException\": \"\"\n },\n \"services\": {\n \"baggageStorage\": false,\n \"baggageStorageException\": \"\",\n \"concierge\": false,\n \"conciergeException\": \"\",\n \"convenienceStore\": false,\n \"convenienceStoreException\": \"\",\n \"currencyExchange\": false,\n \"currencyExchangeException\": \"\",\n \"elevator\": false,\n \"elevatorException\": \"\",\n \"frontDesk\": false,\n \"frontDeskException\": \"\",\n \"fullServiceLaundry\": false,\n \"fullServiceLaundryException\": \"\",\n \"giftShop\": false,\n \"giftShopException\": \"\",\n \"languagesSpoken\": [\n {\n \"languageCode\": \"\",\n \"spoken\": false,\n \"spokenException\": \"\"\n }\n ],\n \"selfServiceLaundry\": false,\n \"selfServiceLaundryException\": \"\",\n \"socialHour\": false,\n \"socialHourException\": \"\",\n \"twentyFourHourFrontDesk\": false,\n \"twentyFourHourFrontDeskException\": \"\",\n \"wakeUpCalls\": false,\n \"wakeUpCallsException\": \"\"\n },\n \"someUnits\": {},\n \"sustainability\": {\n \"energyEfficiency\": {\n \"carbonFreeEnergySources\": false,\n \"carbonFreeEnergySourcesException\": \"\",\n \"energyConservationProgram\": false,\n \"energyConservationProgramException\": \"\",\n \"energyEfficientHeatingAndCoolingSystems\": false,\n \"energyEfficientHeatingAndCoolingSystemsException\": \"\",\n \"energyEfficientLighting\": false,\n \"energyEfficientLightingException\": \"\",\n \"energySavingThermostats\": false,\n \"energySavingThermostatsException\": \"\",\n \"greenBuildingDesign\": false,\n \"greenBuildingDesignException\": \"\",\n \"independentOrganizationAuditsEnergyUse\": false,\n \"independentOrganizationAuditsEnergyUseException\": \"\"\n },\n \"sustainabilityCertifications\": {\n \"breeamCertification\": \"\",\n \"breeamCertificationException\": \"\",\n \"ecoCertifications\": [\n {\n \"awarded\": false,\n \"awardedException\": \"\",\n \"ecoCertificate\": \"\"\n }\n ],\n \"leedCertification\": \"\",\n \"leedCertificationException\": \"\"\n },\n \"sustainableSourcing\": {\n \"ecoFriendlyToiletries\": false,\n \"ecoFriendlyToiletriesException\": \"\",\n \"locallySourcedFoodAndBeverages\": false,\n \"locallySourcedFoodAndBeveragesException\": \"\",\n \"organicCageFreeEggs\": false,\n \"organicCageFreeEggsException\": \"\",\n \"organicFoodAndBeverages\": false,\n \"organicFoodAndBeveragesException\": \"\",\n \"responsiblePurchasingPolicy\": false,\n \"responsiblePurchasingPolicyException\": \"\",\n \"responsiblySourcesSeafood\": false,\n \"responsiblySourcesSeafoodException\": \"\",\n \"veganMeals\": false,\n \"veganMealsException\": \"\",\n \"vegetarianMeals\": false,\n \"vegetarianMealsException\": \"\"\n },\n \"wasteReduction\": {\n \"compostableFoodContainersAndCutlery\": false,\n \"compostableFoodContainersAndCutleryException\": \"\",\n \"compostsExcessFood\": false,\n \"compostsExcessFoodException\": \"\",\n \"donatesExcessFood\": false,\n \"donatesExcessFoodException\": \"\",\n \"foodWasteReductionProgram\": false,\n \"foodWasteReductionProgramException\": \"\",\n \"noSingleUsePlasticStraws\": false,\n \"noSingleUsePlasticStrawsException\": \"\",\n \"noSingleUsePlasticWaterBottles\": false,\n \"noSingleUsePlasticWaterBottlesException\": \"\",\n \"noStyrofoamFoodContainers\": false,\n \"noStyrofoamFoodContainersException\": \"\",\n \"recyclingProgram\": false,\n \"recyclingProgramException\": \"\",\n \"refillableToiletryContainers\": false,\n \"refillableToiletryContainersException\": \"\",\n \"safelyDisposesBatteries\": false,\n \"safelyDisposesBatteriesException\": \"\",\n \"safelyDisposesElectronics\": false,\n \"safelyDisposesElectronicsException\": \"\",\n \"safelyDisposesLightbulbs\": false,\n \"safelyDisposesLightbulbsException\": \"\",\n \"safelyHandlesHazardousSubstances\": false,\n \"safelyHandlesHazardousSubstancesException\": \"\",\n \"soapDonationProgram\": false,\n \"soapDonationProgramException\": \"\",\n \"toiletryDonationProgram\": false,\n \"toiletryDonationProgramException\": \"\",\n \"waterBottleFillingStations\": false,\n \"waterBottleFillingStationsException\": \"\"\n },\n \"waterConservation\": {\n \"independentOrganizationAuditsWaterUse\": false,\n \"independentOrganizationAuditsWaterUseException\": \"\",\n \"linenReuseProgram\": false,\n \"linenReuseProgramException\": \"\",\n \"towelReuseProgram\": false,\n \"towelReuseProgramException\": \"\",\n \"waterSavingShowers\": false,\n \"waterSavingShowersException\": \"\",\n \"waterSavingSinks\": false,\n \"waterSavingSinksException\": \"\",\n \"waterSavingToilets\": false,\n \"waterSavingToiletsException\": \"\"\n }\n },\n \"transportation\": {\n \"airportShuttle\": false,\n \"airportShuttleException\": \"\",\n \"carRentalOnProperty\": false,\n \"carRentalOnPropertyException\": \"\",\n \"freeAirportShuttle\": false,\n \"freeAirportShuttleException\": \"\",\n \"freePrivateCarService\": false,\n \"freePrivateCarServiceException\": \"\",\n \"localShuttle\": false,\n \"localShuttleException\": \"\",\n \"privateCarService\": false,\n \"privateCarServiceException\": \"\",\n \"transfer\": false,\n \"transferException\": \"\"\n },\n \"wellness\": {\n \"doctorOnCall\": false,\n \"doctorOnCallException\": \"\",\n \"ellipticalMachine\": false,\n \"ellipticalMachineException\": \"\",\n \"fitnessCenter\": false,\n \"fitnessCenterException\": \"\",\n \"freeFitnessCenter\": false,\n \"freeFitnessCenterException\": \"\",\n \"freeWeights\": false,\n \"freeWeightsException\": \"\",\n \"massage\": false,\n \"massageException\": \"\",\n \"salon\": false,\n \"salonException\": \"\",\n \"sauna\": false,\n \"saunaException\": \"\",\n \"spa\": false,\n \"spaException\": \"\",\n \"treadmill\": false,\n \"treadmillException\": \"\",\n \"weightMachine\": false,\n \"weightMachineException\": \"\"\n }\n}"
end
puts response.status
puts response.body
use std::str::FromStr;
use serde_json::json;
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/v1/:name";
let payload = json!({
"accessibility": json!({
"mobilityAccessible": false,
"mobilityAccessibleElevator": false,
"mobilityAccessibleElevatorException": "",
"mobilityAccessibleException": "",
"mobilityAccessibleParking": false,
"mobilityAccessibleParkingException": "",
"mobilityAccessiblePool": false,
"mobilityAccessiblePoolException": ""
}),
"activities": json!({
"beachAccess": false,
"beachAccessException": "",
"beachFront": false,
"beachFrontException": "",
"bicycleRental": false,
"bicycleRentalException": "",
"boutiqueStores": false,
"boutiqueStoresException": "",
"casino": false,
"casinoException": "",
"freeBicycleRental": false,
"freeBicycleRentalException": "",
"freeWatercraftRental": false,
"freeWatercraftRentalException": "",
"gameRoom": false,
"gameRoomException": "",
"golf": false,
"golfException": "",
"horsebackRiding": false,
"horsebackRidingException": "",
"nightclub": false,
"nightclubException": "",
"privateBeach": false,
"privateBeachException": "",
"scuba": false,
"scubaException": "",
"snorkeling": false,
"snorkelingException": "",
"tennis": false,
"tennisException": "",
"waterSkiing": false,
"waterSkiingException": "",
"watercraftRental": false,
"watercraftRentalException": ""
}),
"allUnits": json!({
"bungalowOrVilla": false,
"bungalowOrVillaException": "",
"connectingUnitAvailable": false,
"connectingUnitAvailableException": "",
"executiveFloor": false,
"executiveFloorException": "",
"maxAdultOccupantsCount": 0,
"maxAdultOccupantsCountException": "",
"maxChildOccupantsCount": 0,
"maxChildOccupantsCountException": "",
"maxOccupantsCount": 0,
"maxOccupantsCountException": "",
"privateHome": false,
"privateHomeException": "",
"suite": false,
"suiteException": "",
"tier": "",
"tierException": "",
"totalLivingAreas": json!({
"accessibility": json!({
"adaCompliantUnit": false,
"adaCompliantUnitException": "",
"hearingAccessibleDoorbell": false,
"hearingAccessibleDoorbellException": "",
"hearingAccessibleFireAlarm": false,
"hearingAccessibleFireAlarmException": "",
"hearingAccessibleUnit": false,
"hearingAccessibleUnitException": "",
"mobilityAccessibleBathtub": false,
"mobilityAccessibleBathtubException": "",
"mobilityAccessibleShower": false,
"mobilityAccessibleShowerException": "",
"mobilityAccessibleToilet": false,
"mobilityAccessibleToiletException": "",
"mobilityAccessibleUnit": false,
"mobilityAccessibleUnitException": ""
}),
"eating": json!({
"coffeeMaker": false,
"coffeeMakerException": "",
"cookware": false,
"cookwareException": "",
"dishwasher": false,
"dishwasherException": "",
"indoorGrill": false,
"indoorGrillException": "",
"kettle": false,
"kettleException": "",
"kitchenAvailable": false,
"kitchenAvailableException": "",
"microwave": false,
"microwaveException": "",
"minibar": false,
"minibarException": "",
"outdoorGrill": false,
"outdoorGrillException": "",
"oven": false,
"ovenException": "",
"refrigerator": false,
"refrigeratorException": "",
"sink": false,
"sinkException": "",
"snackbar": false,
"snackbarException": "",
"stove": false,
"stoveException": "",
"teaStation": false,
"teaStationException": "",
"toaster": false,
"toasterException": ""
}),
"features": json!({
"airConditioning": false,
"airConditioningException": "",
"bathtub": false,
"bathtubException": "",
"bidet": false,
"bidetException": "",
"dryer": false,
"dryerException": "",
"electronicRoomKey": false,
"electronicRoomKeyException": "",
"fireplace": false,
"fireplaceException": "",
"hairdryer": false,
"hairdryerException": "",
"heating": false,
"heatingException": "",
"inunitSafe": false,
"inunitSafeException": "",
"inunitWifiAvailable": false,
"inunitWifiAvailableException": "",
"ironingEquipment": false,
"ironingEquipmentException": "",
"payPerViewMovies": false,
"payPerViewMoviesException": "",
"privateBathroom": false,
"privateBathroomException": "",
"shower": false,
"showerException": "",
"toilet": false,
"toiletException": "",
"tv": false,
"tvCasting": false,
"tvCastingException": "",
"tvException": "",
"tvStreaming": false,
"tvStreamingException": "",
"universalPowerAdapters": false,
"universalPowerAdaptersException": "",
"washer": false,
"washerException": ""
}),
"layout": json!({
"balcony": false,
"balconyException": "",
"livingAreaSqMeters": "",
"livingAreaSqMetersException": "",
"loft": false,
"loftException": "",
"nonSmoking": false,
"nonSmokingException": "",
"patio": false,
"patioException": "",
"stairs": false,
"stairsException": ""
}),
"sleeping": json!({
"bedsCount": 0,
"bedsCountException": "",
"bunkBedsCount": 0,
"bunkBedsCountException": "",
"cribsCount": 0,
"cribsCountException": "",
"doubleBedsCount": 0,
"doubleBedsCountException": "",
"featherPillows": false,
"featherPillowsException": "",
"hypoallergenicBedding": false,
"hypoallergenicBeddingException": "",
"kingBedsCount": 0,
"kingBedsCountException": "",
"memoryFoamPillows": false,
"memoryFoamPillowsException": "",
"otherBedsCount": 0,
"otherBedsCountException": "",
"queenBedsCount": 0,
"queenBedsCountException": "",
"rollAwayBedsCount": 0,
"rollAwayBedsCountException": "",
"singleOrTwinBedsCount": 0,
"singleOrTwinBedsCountException": "",
"sofaBedsCount": 0,
"sofaBedsCountException": "",
"syntheticPillows": false,
"syntheticPillowsException": ""
})
}),
"views": json!({
"beachView": false,
"beachViewException": "",
"cityView": false,
"cityViewException": "",
"gardenView": false,
"gardenViewException": "",
"lakeView": false,
"lakeViewException": "",
"landmarkView": false,
"landmarkViewException": "",
"oceanView": false,
"oceanViewException": "",
"poolView": false,
"poolViewException": "",
"valleyView": false,
"valleyViewException": ""
})
}),
"business": json!({
"businessCenter": false,
"businessCenterException": "",
"meetingRooms": false,
"meetingRoomsCount": 0,
"meetingRoomsCountException": "",
"meetingRoomsException": ""
}),
"commonLivingArea": json!({}),
"connectivity": json!({
"freeWifi": false,
"freeWifiException": "",
"publicAreaWifiAvailable": false,
"publicAreaWifiAvailableException": "",
"publicInternetTerminal": false,
"publicInternetTerminalException": "",
"wifiAvailable": false,
"wifiAvailableException": ""
}),
"families": json!({
"babysitting": false,
"babysittingException": "",
"kidsActivities": false,
"kidsActivitiesException": "",
"kidsClub": false,
"kidsClubException": "",
"kidsFriendly": false,
"kidsFriendlyException": ""
}),
"foodAndDrink": json!({
"bar": false,
"barException": "",
"breakfastAvailable": false,
"breakfastAvailableException": "",
"breakfastBuffet": false,
"breakfastBuffetException": "",
"buffet": false,
"buffetException": "",
"dinnerBuffet": false,
"dinnerBuffetException": "",
"freeBreakfast": false,
"freeBreakfastException": "",
"restaurant": false,
"restaurantException": "",
"restaurantsCount": 0,
"restaurantsCountException": "",
"roomService": false,
"roomServiceException": "",
"tableService": false,
"tableServiceException": "",
"twentyFourHourRoomService": false,
"twentyFourHourRoomServiceException": "",
"vendingMachine": false,
"vendingMachineException": ""
}),
"guestUnits": (
json!({
"codes": (),
"features": json!({}),
"label": ""
})
),
"healthAndSafety": json!({
"enhancedCleaning": json!({
"commercialGradeDisinfectantCleaning": false,
"commercialGradeDisinfectantCleaningException": "",
"commonAreasEnhancedCleaning": false,
"commonAreasEnhancedCleaningException": "",
"employeesTrainedCleaningProcedures": false,
"employeesTrainedCleaningProceduresException": "",
"employeesTrainedThoroughHandWashing": false,
"employeesTrainedThoroughHandWashingException": "",
"employeesWearProtectiveEquipment": false,
"employeesWearProtectiveEquipmentException": "",
"guestRoomsEnhancedCleaning": false,
"guestRoomsEnhancedCleaningException": ""
}),
"increasedFoodSafety": json!({
"diningAreasAdditionalSanitation": false,
"diningAreasAdditionalSanitationException": "",
"disposableFlatware": false,
"disposableFlatwareException": "",
"foodPreparationAndServingAdditionalSafety": false,
"foodPreparationAndServingAdditionalSafetyException": "",
"individualPackagedMeals": false,
"individualPackagedMealsException": "",
"singleUseFoodMenus": false,
"singleUseFoodMenusException": ""
}),
"minimizedContact": json!({
"contactlessCheckinCheckout": false,
"contactlessCheckinCheckoutException": "",
"digitalGuestRoomKeys": false,
"digitalGuestRoomKeysException": "",
"housekeepingScheduledRequestOnly": false,
"housekeepingScheduledRequestOnlyException": "",
"noHighTouchItemsCommonAreas": false,
"noHighTouchItemsCommonAreasException": "",
"noHighTouchItemsGuestRooms": false,
"noHighTouchItemsGuestRoomsException": "",
"plasticKeycardsDisinfected": false,
"plasticKeycardsDisinfectedException": "",
"roomBookingsBuffer": false,
"roomBookingsBufferException": ""
}),
"personalProtection": json!({
"commonAreasOfferSanitizingItems": false,
"commonAreasOfferSanitizingItemsException": "",
"faceMaskRequired": false,
"faceMaskRequiredException": "",
"guestRoomHygieneKitsAvailable": false,
"guestRoomHygieneKitsAvailableException": "",
"protectiveEquipmentAvailable": false,
"protectiveEquipmentAvailableException": ""
}),
"physicalDistancing": json!({
"commonAreasPhysicalDistancingArranged": false,
"commonAreasPhysicalDistancingArrangedException": "",
"physicalDistancingRequired": false,
"physicalDistancingRequiredException": "",
"safetyDividers": false,
"safetyDividersException": "",
"sharedAreasLimitedOccupancy": false,
"sharedAreasLimitedOccupancyException": "",
"wellnessAreasHavePrivateSpaces": false,
"wellnessAreasHavePrivateSpacesException": ""
})
}),
"housekeeping": json!({
"dailyHousekeeping": false,
"dailyHousekeepingException": "",
"housekeepingAvailable": false,
"housekeepingAvailableException": "",
"turndownService": false,
"turndownServiceException": ""
}),
"metadata": json!({"updateTime": ""}),
"name": "",
"parking": json!({
"electricCarChargingStations": false,
"electricCarChargingStationsException": "",
"freeParking": false,
"freeParkingException": "",
"freeSelfParking": false,
"freeSelfParkingException": "",
"freeValetParking": false,
"freeValetParkingException": "",
"parkingAvailable": false,
"parkingAvailableException": "",
"selfParkingAvailable": false,
"selfParkingAvailableException": "",
"valetParkingAvailable": false,
"valetParkingAvailableException": ""
}),
"pets": json!({
"catsAllowed": false,
"catsAllowedException": "",
"dogsAllowed": false,
"dogsAllowedException": "",
"petsAllowed": false,
"petsAllowedException": "",
"petsAllowedFree": false,
"petsAllowedFreeException": ""
}),
"policies": json!({
"allInclusiveAvailable": false,
"allInclusiveAvailableException": "",
"allInclusiveOnly": false,
"allInclusiveOnlyException": "",
"checkinTime": json!({
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0
}),
"checkinTimeException": "",
"checkoutTime": json!({}),
"checkoutTimeException": "",
"kidsStayFree": false,
"kidsStayFreeException": "",
"maxChildAge": 0,
"maxChildAgeException": "",
"maxKidsStayFreeCount": 0,
"maxKidsStayFreeCountException": "",
"paymentOptions": json!({
"cash": false,
"cashException": "",
"cheque": false,
"chequeException": "",
"creditCard": false,
"creditCardException": "",
"debitCard": false,
"debitCardException": "",
"mobileNfc": false,
"mobileNfcException": ""
}),
"smokeFreeProperty": false,
"smokeFreePropertyException": ""
}),
"pools": json!({
"adultPool": false,
"adultPoolException": "",
"hotTub": false,
"hotTubException": "",
"indoorPool": false,
"indoorPoolException": "",
"indoorPoolsCount": 0,
"indoorPoolsCountException": "",
"lazyRiver": false,
"lazyRiverException": "",
"lifeguard": false,
"lifeguardException": "",
"outdoorPool": false,
"outdoorPoolException": "",
"outdoorPoolsCount": 0,
"outdoorPoolsCountException": "",
"pool": false,
"poolException": "",
"poolsCount": 0,
"poolsCountException": "",
"wadingPool": false,
"wadingPoolException": "",
"waterPark": false,
"waterParkException": "",
"waterslide": false,
"waterslideException": "",
"wavePool": false,
"wavePoolException": ""
}),
"property": json!({
"builtYear": 0,
"builtYearException": "",
"floorsCount": 0,
"floorsCountException": "",
"lastRenovatedYear": 0,
"lastRenovatedYearException": "",
"roomsCount": 0,
"roomsCountException": ""
}),
"services": json!({
"baggageStorage": false,
"baggageStorageException": "",
"concierge": false,
"conciergeException": "",
"convenienceStore": false,
"convenienceStoreException": "",
"currencyExchange": false,
"currencyExchangeException": "",
"elevator": false,
"elevatorException": "",
"frontDesk": false,
"frontDeskException": "",
"fullServiceLaundry": false,
"fullServiceLaundryException": "",
"giftShop": false,
"giftShopException": "",
"languagesSpoken": (
json!({
"languageCode": "",
"spoken": false,
"spokenException": ""
})
),
"selfServiceLaundry": false,
"selfServiceLaundryException": "",
"socialHour": false,
"socialHourException": "",
"twentyFourHourFrontDesk": false,
"twentyFourHourFrontDeskException": "",
"wakeUpCalls": false,
"wakeUpCallsException": ""
}),
"someUnits": json!({}),
"sustainability": json!({
"energyEfficiency": json!({
"carbonFreeEnergySources": false,
"carbonFreeEnergySourcesException": "",
"energyConservationProgram": false,
"energyConservationProgramException": "",
"energyEfficientHeatingAndCoolingSystems": false,
"energyEfficientHeatingAndCoolingSystemsException": "",
"energyEfficientLighting": false,
"energyEfficientLightingException": "",
"energySavingThermostats": false,
"energySavingThermostatsException": "",
"greenBuildingDesign": false,
"greenBuildingDesignException": "",
"independentOrganizationAuditsEnergyUse": false,
"independentOrganizationAuditsEnergyUseException": ""
}),
"sustainabilityCertifications": json!({
"breeamCertification": "",
"breeamCertificationException": "",
"ecoCertifications": (
json!({
"awarded": false,
"awardedException": "",
"ecoCertificate": ""
})
),
"leedCertification": "",
"leedCertificationException": ""
}),
"sustainableSourcing": json!({
"ecoFriendlyToiletries": false,
"ecoFriendlyToiletriesException": "",
"locallySourcedFoodAndBeverages": false,
"locallySourcedFoodAndBeveragesException": "",
"organicCageFreeEggs": false,
"organicCageFreeEggsException": "",
"organicFoodAndBeverages": false,
"organicFoodAndBeveragesException": "",
"responsiblePurchasingPolicy": false,
"responsiblePurchasingPolicyException": "",
"responsiblySourcesSeafood": false,
"responsiblySourcesSeafoodException": "",
"veganMeals": false,
"veganMealsException": "",
"vegetarianMeals": false,
"vegetarianMealsException": ""
}),
"wasteReduction": json!({
"compostableFoodContainersAndCutlery": false,
"compostableFoodContainersAndCutleryException": "",
"compostsExcessFood": false,
"compostsExcessFoodException": "",
"donatesExcessFood": false,
"donatesExcessFoodException": "",
"foodWasteReductionProgram": false,
"foodWasteReductionProgramException": "",
"noSingleUsePlasticStraws": false,
"noSingleUsePlasticStrawsException": "",
"noSingleUsePlasticWaterBottles": false,
"noSingleUsePlasticWaterBottlesException": "",
"noStyrofoamFoodContainers": false,
"noStyrofoamFoodContainersException": "",
"recyclingProgram": false,
"recyclingProgramException": "",
"refillableToiletryContainers": false,
"refillableToiletryContainersException": "",
"safelyDisposesBatteries": false,
"safelyDisposesBatteriesException": "",
"safelyDisposesElectronics": false,
"safelyDisposesElectronicsException": "",
"safelyDisposesLightbulbs": false,
"safelyDisposesLightbulbsException": "",
"safelyHandlesHazardousSubstances": false,
"safelyHandlesHazardousSubstancesException": "",
"soapDonationProgram": false,
"soapDonationProgramException": "",
"toiletryDonationProgram": false,
"toiletryDonationProgramException": "",
"waterBottleFillingStations": false,
"waterBottleFillingStationsException": ""
}),
"waterConservation": json!({
"independentOrganizationAuditsWaterUse": false,
"independentOrganizationAuditsWaterUseException": "",
"linenReuseProgram": false,
"linenReuseProgramException": "",
"towelReuseProgram": false,
"towelReuseProgramException": "",
"waterSavingShowers": false,
"waterSavingShowersException": "",
"waterSavingSinks": false,
"waterSavingSinksException": "",
"waterSavingToilets": false,
"waterSavingToiletsException": ""
})
}),
"transportation": json!({
"airportShuttle": false,
"airportShuttleException": "",
"carRentalOnProperty": false,
"carRentalOnPropertyException": "",
"freeAirportShuttle": false,
"freeAirportShuttleException": "",
"freePrivateCarService": false,
"freePrivateCarServiceException": "",
"localShuttle": false,
"localShuttleException": "",
"privateCarService": false,
"privateCarServiceException": "",
"transfer": false,
"transferException": ""
}),
"wellness": json!({
"doctorOnCall": false,
"doctorOnCallException": "",
"ellipticalMachine": false,
"ellipticalMachineException": "",
"fitnessCenter": false,
"fitnessCenterException": "",
"freeFitnessCenter": false,
"freeFitnessCenterException": "",
"freeWeights": false,
"freeWeightsException": "",
"massage": false,
"massageException": "",
"salon": false,
"salonException": "",
"sauna": false,
"saunaException": "",
"spa": false,
"spaException": "",
"treadmill": false,
"treadmillException": "",
"weightMachine": false,
"weightMachineException": ""
})
});
let mut headers = reqwest::header::HeaderMap::new();
headers.insert("content-type", "application/json".parse().unwrap());
let client = reqwest::Client::new();
let response = client.request(reqwest::Method::from_str("PATCH").unwrap(), url)
.headers(headers)
.json(&payload)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request PATCH \
--url {{baseUrl}}/v1/:name \
--header 'content-type: application/json' \
--data '{
"accessibility": {
"mobilityAccessible": false,
"mobilityAccessibleElevator": false,
"mobilityAccessibleElevatorException": "",
"mobilityAccessibleException": "",
"mobilityAccessibleParking": false,
"mobilityAccessibleParkingException": "",
"mobilityAccessiblePool": false,
"mobilityAccessiblePoolException": ""
},
"activities": {
"beachAccess": false,
"beachAccessException": "",
"beachFront": false,
"beachFrontException": "",
"bicycleRental": false,
"bicycleRentalException": "",
"boutiqueStores": false,
"boutiqueStoresException": "",
"casino": false,
"casinoException": "",
"freeBicycleRental": false,
"freeBicycleRentalException": "",
"freeWatercraftRental": false,
"freeWatercraftRentalException": "",
"gameRoom": false,
"gameRoomException": "",
"golf": false,
"golfException": "",
"horsebackRiding": false,
"horsebackRidingException": "",
"nightclub": false,
"nightclubException": "",
"privateBeach": false,
"privateBeachException": "",
"scuba": false,
"scubaException": "",
"snorkeling": false,
"snorkelingException": "",
"tennis": false,
"tennisException": "",
"waterSkiing": false,
"waterSkiingException": "",
"watercraftRental": false,
"watercraftRentalException": ""
},
"allUnits": {
"bungalowOrVilla": false,
"bungalowOrVillaException": "",
"connectingUnitAvailable": false,
"connectingUnitAvailableException": "",
"executiveFloor": false,
"executiveFloorException": "",
"maxAdultOccupantsCount": 0,
"maxAdultOccupantsCountException": "",
"maxChildOccupantsCount": 0,
"maxChildOccupantsCountException": "",
"maxOccupantsCount": 0,
"maxOccupantsCountException": "",
"privateHome": false,
"privateHomeException": "",
"suite": false,
"suiteException": "",
"tier": "",
"tierException": "",
"totalLivingAreas": {
"accessibility": {
"adaCompliantUnit": false,
"adaCompliantUnitException": "",
"hearingAccessibleDoorbell": false,
"hearingAccessibleDoorbellException": "",
"hearingAccessibleFireAlarm": false,
"hearingAccessibleFireAlarmException": "",
"hearingAccessibleUnit": false,
"hearingAccessibleUnitException": "",
"mobilityAccessibleBathtub": false,
"mobilityAccessibleBathtubException": "",
"mobilityAccessibleShower": false,
"mobilityAccessibleShowerException": "",
"mobilityAccessibleToilet": false,
"mobilityAccessibleToiletException": "",
"mobilityAccessibleUnit": false,
"mobilityAccessibleUnitException": ""
},
"eating": {
"coffeeMaker": false,
"coffeeMakerException": "",
"cookware": false,
"cookwareException": "",
"dishwasher": false,
"dishwasherException": "",
"indoorGrill": false,
"indoorGrillException": "",
"kettle": false,
"kettleException": "",
"kitchenAvailable": false,
"kitchenAvailableException": "",
"microwave": false,
"microwaveException": "",
"minibar": false,
"minibarException": "",
"outdoorGrill": false,
"outdoorGrillException": "",
"oven": false,
"ovenException": "",
"refrigerator": false,
"refrigeratorException": "",
"sink": false,
"sinkException": "",
"snackbar": false,
"snackbarException": "",
"stove": false,
"stoveException": "",
"teaStation": false,
"teaStationException": "",
"toaster": false,
"toasterException": ""
},
"features": {
"airConditioning": false,
"airConditioningException": "",
"bathtub": false,
"bathtubException": "",
"bidet": false,
"bidetException": "",
"dryer": false,
"dryerException": "",
"electronicRoomKey": false,
"electronicRoomKeyException": "",
"fireplace": false,
"fireplaceException": "",
"hairdryer": false,
"hairdryerException": "",
"heating": false,
"heatingException": "",
"inunitSafe": false,
"inunitSafeException": "",
"inunitWifiAvailable": false,
"inunitWifiAvailableException": "",
"ironingEquipment": false,
"ironingEquipmentException": "",
"payPerViewMovies": false,
"payPerViewMoviesException": "",
"privateBathroom": false,
"privateBathroomException": "",
"shower": false,
"showerException": "",
"toilet": false,
"toiletException": "",
"tv": false,
"tvCasting": false,
"tvCastingException": "",
"tvException": "",
"tvStreaming": false,
"tvStreamingException": "",
"universalPowerAdapters": false,
"universalPowerAdaptersException": "",
"washer": false,
"washerException": ""
},
"layout": {
"balcony": false,
"balconyException": "",
"livingAreaSqMeters": "",
"livingAreaSqMetersException": "",
"loft": false,
"loftException": "",
"nonSmoking": false,
"nonSmokingException": "",
"patio": false,
"patioException": "",
"stairs": false,
"stairsException": ""
},
"sleeping": {
"bedsCount": 0,
"bedsCountException": "",
"bunkBedsCount": 0,
"bunkBedsCountException": "",
"cribsCount": 0,
"cribsCountException": "",
"doubleBedsCount": 0,
"doubleBedsCountException": "",
"featherPillows": false,
"featherPillowsException": "",
"hypoallergenicBedding": false,
"hypoallergenicBeddingException": "",
"kingBedsCount": 0,
"kingBedsCountException": "",
"memoryFoamPillows": false,
"memoryFoamPillowsException": "",
"otherBedsCount": 0,
"otherBedsCountException": "",
"queenBedsCount": 0,
"queenBedsCountException": "",
"rollAwayBedsCount": 0,
"rollAwayBedsCountException": "",
"singleOrTwinBedsCount": 0,
"singleOrTwinBedsCountException": "",
"sofaBedsCount": 0,
"sofaBedsCountException": "",
"syntheticPillows": false,
"syntheticPillowsException": ""
}
},
"views": {
"beachView": false,
"beachViewException": "",
"cityView": false,
"cityViewException": "",
"gardenView": false,
"gardenViewException": "",
"lakeView": false,
"lakeViewException": "",
"landmarkView": false,
"landmarkViewException": "",
"oceanView": false,
"oceanViewException": "",
"poolView": false,
"poolViewException": "",
"valleyView": false,
"valleyViewException": ""
}
},
"business": {
"businessCenter": false,
"businessCenterException": "",
"meetingRooms": false,
"meetingRoomsCount": 0,
"meetingRoomsCountException": "",
"meetingRoomsException": ""
},
"commonLivingArea": {},
"connectivity": {
"freeWifi": false,
"freeWifiException": "",
"publicAreaWifiAvailable": false,
"publicAreaWifiAvailableException": "",
"publicInternetTerminal": false,
"publicInternetTerminalException": "",
"wifiAvailable": false,
"wifiAvailableException": ""
},
"families": {
"babysitting": false,
"babysittingException": "",
"kidsActivities": false,
"kidsActivitiesException": "",
"kidsClub": false,
"kidsClubException": "",
"kidsFriendly": false,
"kidsFriendlyException": ""
},
"foodAndDrink": {
"bar": false,
"barException": "",
"breakfastAvailable": false,
"breakfastAvailableException": "",
"breakfastBuffet": false,
"breakfastBuffetException": "",
"buffet": false,
"buffetException": "",
"dinnerBuffet": false,
"dinnerBuffetException": "",
"freeBreakfast": false,
"freeBreakfastException": "",
"restaurant": false,
"restaurantException": "",
"restaurantsCount": 0,
"restaurantsCountException": "",
"roomService": false,
"roomServiceException": "",
"tableService": false,
"tableServiceException": "",
"twentyFourHourRoomService": false,
"twentyFourHourRoomServiceException": "",
"vendingMachine": false,
"vendingMachineException": ""
},
"guestUnits": [
{
"codes": [],
"features": {},
"label": ""
}
],
"healthAndSafety": {
"enhancedCleaning": {
"commercialGradeDisinfectantCleaning": false,
"commercialGradeDisinfectantCleaningException": "",
"commonAreasEnhancedCleaning": false,
"commonAreasEnhancedCleaningException": "",
"employeesTrainedCleaningProcedures": false,
"employeesTrainedCleaningProceduresException": "",
"employeesTrainedThoroughHandWashing": false,
"employeesTrainedThoroughHandWashingException": "",
"employeesWearProtectiveEquipment": false,
"employeesWearProtectiveEquipmentException": "",
"guestRoomsEnhancedCleaning": false,
"guestRoomsEnhancedCleaningException": ""
},
"increasedFoodSafety": {
"diningAreasAdditionalSanitation": false,
"diningAreasAdditionalSanitationException": "",
"disposableFlatware": false,
"disposableFlatwareException": "",
"foodPreparationAndServingAdditionalSafety": false,
"foodPreparationAndServingAdditionalSafetyException": "",
"individualPackagedMeals": false,
"individualPackagedMealsException": "",
"singleUseFoodMenus": false,
"singleUseFoodMenusException": ""
},
"minimizedContact": {
"contactlessCheckinCheckout": false,
"contactlessCheckinCheckoutException": "",
"digitalGuestRoomKeys": false,
"digitalGuestRoomKeysException": "",
"housekeepingScheduledRequestOnly": false,
"housekeepingScheduledRequestOnlyException": "",
"noHighTouchItemsCommonAreas": false,
"noHighTouchItemsCommonAreasException": "",
"noHighTouchItemsGuestRooms": false,
"noHighTouchItemsGuestRoomsException": "",
"plasticKeycardsDisinfected": false,
"plasticKeycardsDisinfectedException": "",
"roomBookingsBuffer": false,
"roomBookingsBufferException": ""
},
"personalProtection": {
"commonAreasOfferSanitizingItems": false,
"commonAreasOfferSanitizingItemsException": "",
"faceMaskRequired": false,
"faceMaskRequiredException": "",
"guestRoomHygieneKitsAvailable": false,
"guestRoomHygieneKitsAvailableException": "",
"protectiveEquipmentAvailable": false,
"protectiveEquipmentAvailableException": ""
},
"physicalDistancing": {
"commonAreasPhysicalDistancingArranged": false,
"commonAreasPhysicalDistancingArrangedException": "",
"physicalDistancingRequired": false,
"physicalDistancingRequiredException": "",
"safetyDividers": false,
"safetyDividersException": "",
"sharedAreasLimitedOccupancy": false,
"sharedAreasLimitedOccupancyException": "",
"wellnessAreasHavePrivateSpaces": false,
"wellnessAreasHavePrivateSpacesException": ""
}
},
"housekeeping": {
"dailyHousekeeping": false,
"dailyHousekeepingException": "",
"housekeepingAvailable": false,
"housekeepingAvailableException": "",
"turndownService": false,
"turndownServiceException": ""
},
"metadata": {
"updateTime": ""
},
"name": "",
"parking": {
"electricCarChargingStations": false,
"electricCarChargingStationsException": "",
"freeParking": false,
"freeParkingException": "",
"freeSelfParking": false,
"freeSelfParkingException": "",
"freeValetParking": false,
"freeValetParkingException": "",
"parkingAvailable": false,
"parkingAvailableException": "",
"selfParkingAvailable": false,
"selfParkingAvailableException": "",
"valetParkingAvailable": false,
"valetParkingAvailableException": ""
},
"pets": {
"catsAllowed": false,
"catsAllowedException": "",
"dogsAllowed": false,
"dogsAllowedException": "",
"petsAllowed": false,
"petsAllowedException": "",
"petsAllowedFree": false,
"petsAllowedFreeException": ""
},
"policies": {
"allInclusiveAvailable": false,
"allInclusiveAvailableException": "",
"allInclusiveOnly": false,
"allInclusiveOnlyException": "",
"checkinTime": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0
},
"checkinTimeException": "",
"checkoutTime": {},
"checkoutTimeException": "",
"kidsStayFree": false,
"kidsStayFreeException": "",
"maxChildAge": 0,
"maxChildAgeException": "",
"maxKidsStayFreeCount": 0,
"maxKidsStayFreeCountException": "",
"paymentOptions": {
"cash": false,
"cashException": "",
"cheque": false,
"chequeException": "",
"creditCard": false,
"creditCardException": "",
"debitCard": false,
"debitCardException": "",
"mobileNfc": false,
"mobileNfcException": ""
},
"smokeFreeProperty": false,
"smokeFreePropertyException": ""
},
"pools": {
"adultPool": false,
"adultPoolException": "",
"hotTub": false,
"hotTubException": "",
"indoorPool": false,
"indoorPoolException": "",
"indoorPoolsCount": 0,
"indoorPoolsCountException": "",
"lazyRiver": false,
"lazyRiverException": "",
"lifeguard": false,
"lifeguardException": "",
"outdoorPool": false,
"outdoorPoolException": "",
"outdoorPoolsCount": 0,
"outdoorPoolsCountException": "",
"pool": false,
"poolException": "",
"poolsCount": 0,
"poolsCountException": "",
"wadingPool": false,
"wadingPoolException": "",
"waterPark": false,
"waterParkException": "",
"waterslide": false,
"waterslideException": "",
"wavePool": false,
"wavePoolException": ""
},
"property": {
"builtYear": 0,
"builtYearException": "",
"floorsCount": 0,
"floorsCountException": "",
"lastRenovatedYear": 0,
"lastRenovatedYearException": "",
"roomsCount": 0,
"roomsCountException": ""
},
"services": {
"baggageStorage": false,
"baggageStorageException": "",
"concierge": false,
"conciergeException": "",
"convenienceStore": false,
"convenienceStoreException": "",
"currencyExchange": false,
"currencyExchangeException": "",
"elevator": false,
"elevatorException": "",
"frontDesk": false,
"frontDeskException": "",
"fullServiceLaundry": false,
"fullServiceLaundryException": "",
"giftShop": false,
"giftShopException": "",
"languagesSpoken": [
{
"languageCode": "",
"spoken": false,
"spokenException": ""
}
],
"selfServiceLaundry": false,
"selfServiceLaundryException": "",
"socialHour": false,
"socialHourException": "",
"twentyFourHourFrontDesk": false,
"twentyFourHourFrontDeskException": "",
"wakeUpCalls": false,
"wakeUpCallsException": ""
},
"someUnits": {},
"sustainability": {
"energyEfficiency": {
"carbonFreeEnergySources": false,
"carbonFreeEnergySourcesException": "",
"energyConservationProgram": false,
"energyConservationProgramException": "",
"energyEfficientHeatingAndCoolingSystems": false,
"energyEfficientHeatingAndCoolingSystemsException": "",
"energyEfficientLighting": false,
"energyEfficientLightingException": "",
"energySavingThermostats": false,
"energySavingThermostatsException": "",
"greenBuildingDesign": false,
"greenBuildingDesignException": "",
"independentOrganizationAuditsEnergyUse": false,
"independentOrganizationAuditsEnergyUseException": ""
},
"sustainabilityCertifications": {
"breeamCertification": "",
"breeamCertificationException": "",
"ecoCertifications": [
{
"awarded": false,
"awardedException": "",
"ecoCertificate": ""
}
],
"leedCertification": "",
"leedCertificationException": ""
},
"sustainableSourcing": {
"ecoFriendlyToiletries": false,
"ecoFriendlyToiletriesException": "",
"locallySourcedFoodAndBeverages": false,
"locallySourcedFoodAndBeveragesException": "",
"organicCageFreeEggs": false,
"organicCageFreeEggsException": "",
"organicFoodAndBeverages": false,
"organicFoodAndBeveragesException": "",
"responsiblePurchasingPolicy": false,
"responsiblePurchasingPolicyException": "",
"responsiblySourcesSeafood": false,
"responsiblySourcesSeafoodException": "",
"veganMeals": false,
"veganMealsException": "",
"vegetarianMeals": false,
"vegetarianMealsException": ""
},
"wasteReduction": {
"compostableFoodContainersAndCutlery": false,
"compostableFoodContainersAndCutleryException": "",
"compostsExcessFood": false,
"compostsExcessFoodException": "",
"donatesExcessFood": false,
"donatesExcessFoodException": "",
"foodWasteReductionProgram": false,
"foodWasteReductionProgramException": "",
"noSingleUsePlasticStraws": false,
"noSingleUsePlasticStrawsException": "",
"noSingleUsePlasticWaterBottles": false,
"noSingleUsePlasticWaterBottlesException": "",
"noStyrofoamFoodContainers": false,
"noStyrofoamFoodContainersException": "",
"recyclingProgram": false,
"recyclingProgramException": "",
"refillableToiletryContainers": false,
"refillableToiletryContainersException": "",
"safelyDisposesBatteries": false,
"safelyDisposesBatteriesException": "",
"safelyDisposesElectronics": false,
"safelyDisposesElectronicsException": "",
"safelyDisposesLightbulbs": false,
"safelyDisposesLightbulbsException": "",
"safelyHandlesHazardousSubstances": false,
"safelyHandlesHazardousSubstancesException": "",
"soapDonationProgram": false,
"soapDonationProgramException": "",
"toiletryDonationProgram": false,
"toiletryDonationProgramException": "",
"waterBottleFillingStations": false,
"waterBottleFillingStationsException": ""
},
"waterConservation": {
"independentOrganizationAuditsWaterUse": false,
"independentOrganizationAuditsWaterUseException": "",
"linenReuseProgram": false,
"linenReuseProgramException": "",
"towelReuseProgram": false,
"towelReuseProgramException": "",
"waterSavingShowers": false,
"waterSavingShowersException": "",
"waterSavingSinks": false,
"waterSavingSinksException": "",
"waterSavingToilets": false,
"waterSavingToiletsException": ""
}
},
"transportation": {
"airportShuttle": false,
"airportShuttleException": "",
"carRentalOnProperty": false,
"carRentalOnPropertyException": "",
"freeAirportShuttle": false,
"freeAirportShuttleException": "",
"freePrivateCarService": false,
"freePrivateCarServiceException": "",
"localShuttle": false,
"localShuttleException": "",
"privateCarService": false,
"privateCarServiceException": "",
"transfer": false,
"transferException": ""
},
"wellness": {
"doctorOnCall": false,
"doctorOnCallException": "",
"ellipticalMachine": false,
"ellipticalMachineException": "",
"fitnessCenter": false,
"fitnessCenterException": "",
"freeFitnessCenter": false,
"freeFitnessCenterException": "",
"freeWeights": false,
"freeWeightsException": "",
"massage": false,
"massageException": "",
"salon": false,
"salonException": "",
"sauna": false,
"saunaException": "",
"spa": false,
"spaException": "",
"treadmill": false,
"treadmillException": "",
"weightMachine": false,
"weightMachineException": ""
}
}'
echo '{
"accessibility": {
"mobilityAccessible": false,
"mobilityAccessibleElevator": false,
"mobilityAccessibleElevatorException": "",
"mobilityAccessibleException": "",
"mobilityAccessibleParking": false,
"mobilityAccessibleParkingException": "",
"mobilityAccessiblePool": false,
"mobilityAccessiblePoolException": ""
},
"activities": {
"beachAccess": false,
"beachAccessException": "",
"beachFront": false,
"beachFrontException": "",
"bicycleRental": false,
"bicycleRentalException": "",
"boutiqueStores": false,
"boutiqueStoresException": "",
"casino": false,
"casinoException": "",
"freeBicycleRental": false,
"freeBicycleRentalException": "",
"freeWatercraftRental": false,
"freeWatercraftRentalException": "",
"gameRoom": false,
"gameRoomException": "",
"golf": false,
"golfException": "",
"horsebackRiding": false,
"horsebackRidingException": "",
"nightclub": false,
"nightclubException": "",
"privateBeach": false,
"privateBeachException": "",
"scuba": false,
"scubaException": "",
"snorkeling": false,
"snorkelingException": "",
"tennis": false,
"tennisException": "",
"waterSkiing": false,
"waterSkiingException": "",
"watercraftRental": false,
"watercraftRentalException": ""
},
"allUnits": {
"bungalowOrVilla": false,
"bungalowOrVillaException": "",
"connectingUnitAvailable": false,
"connectingUnitAvailableException": "",
"executiveFloor": false,
"executiveFloorException": "",
"maxAdultOccupantsCount": 0,
"maxAdultOccupantsCountException": "",
"maxChildOccupantsCount": 0,
"maxChildOccupantsCountException": "",
"maxOccupantsCount": 0,
"maxOccupantsCountException": "",
"privateHome": false,
"privateHomeException": "",
"suite": false,
"suiteException": "",
"tier": "",
"tierException": "",
"totalLivingAreas": {
"accessibility": {
"adaCompliantUnit": false,
"adaCompliantUnitException": "",
"hearingAccessibleDoorbell": false,
"hearingAccessibleDoorbellException": "",
"hearingAccessibleFireAlarm": false,
"hearingAccessibleFireAlarmException": "",
"hearingAccessibleUnit": false,
"hearingAccessibleUnitException": "",
"mobilityAccessibleBathtub": false,
"mobilityAccessibleBathtubException": "",
"mobilityAccessibleShower": false,
"mobilityAccessibleShowerException": "",
"mobilityAccessibleToilet": false,
"mobilityAccessibleToiletException": "",
"mobilityAccessibleUnit": false,
"mobilityAccessibleUnitException": ""
},
"eating": {
"coffeeMaker": false,
"coffeeMakerException": "",
"cookware": false,
"cookwareException": "",
"dishwasher": false,
"dishwasherException": "",
"indoorGrill": false,
"indoorGrillException": "",
"kettle": false,
"kettleException": "",
"kitchenAvailable": false,
"kitchenAvailableException": "",
"microwave": false,
"microwaveException": "",
"minibar": false,
"minibarException": "",
"outdoorGrill": false,
"outdoorGrillException": "",
"oven": false,
"ovenException": "",
"refrigerator": false,
"refrigeratorException": "",
"sink": false,
"sinkException": "",
"snackbar": false,
"snackbarException": "",
"stove": false,
"stoveException": "",
"teaStation": false,
"teaStationException": "",
"toaster": false,
"toasterException": ""
},
"features": {
"airConditioning": false,
"airConditioningException": "",
"bathtub": false,
"bathtubException": "",
"bidet": false,
"bidetException": "",
"dryer": false,
"dryerException": "",
"electronicRoomKey": false,
"electronicRoomKeyException": "",
"fireplace": false,
"fireplaceException": "",
"hairdryer": false,
"hairdryerException": "",
"heating": false,
"heatingException": "",
"inunitSafe": false,
"inunitSafeException": "",
"inunitWifiAvailable": false,
"inunitWifiAvailableException": "",
"ironingEquipment": false,
"ironingEquipmentException": "",
"payPerViewMovies": false,
"payPerViewMoviesException": "",
"privateBathroom": false,
"privateBathroomException": "",
"shower": false,
"showerException": "",
"toilet": false,
"toiletException": "",
"tv": false,
"tvCasting": false,
"tvCastingException": "",
"tvException": "",
"tvStreaming": false,
"tvStreamingException": "",
"universalPowerAdapters": false,
"universalPowerAdaptersException": "",
"washer": false,
"washerException": ""
},
"layout": {
"balcony": false,
"balconyException": "",
"livingAreaSqMeters": "",
"livingAreaSqMetersException": "",
"loft": false,
"loftException": "",
"nonSmoking": false,
"nonSmokingException": "",
"patio": false,
"patioException": "",
"stairs": false,
"stairsException": ""
},
"sleeping": {
"bedsCount": 0,
"bedsCountException": "",
"bunkBedsCount": 0,
"bunkBedsCountException": "",
"cribsCount": 0,
"cribsCountException": "",
"doubleBedsCount": 0,
"doubleBedsCountException": "",
"featherPillows": false,
"featherPillowsException": "",
"hypoallergenicBedding": false,
"hypoallergenicBeddingException": "",
"kingBedsCount": 0,
"kingBedsCountException": "",
"memoryFoamPillows": false,
"memoryFoamPillowsException": "",
"otherBedsCount": 0,
"otherBedsCountException": "",
"queenBedsCount": 0,
"queenBedsCountException": "",
"rollAwayBedsCount": 0,
"rollAwayBedsCountException": "",
"singleOrTwinBedsCount": 0,
"singleOrTwinBedsCountException": "",
"sofaBedsCount": 0,
"sofaBedsCountException": "",
"syntheticPillows": false,
"syntheticPillowsException": ""
}
},
"views": {
"beachView": false,
"beachViewException": "",
"cityView": false,
"cityViewException": "",
"gardenView": false,
"gardenViewException": "",
"lakeView": false,
"lakeViewException": "",
"landmarkView": false,
"landmarkViewException": "",
"oceanView": false,
"oceanViewException": "",
"poolView": false,
"poolViewException": "",
"valleyView": false,
"valleyViewException": ""
}
},
"business": {
"businessCenter": false,
"businessCenterException": "",
"meetingRooms": false,
"meetingRoomsCount": 0,
"meetingRoomsCountException": "",
"meetingRoomsException": ""
},
"commonLivingArea": {},
"connectivity": {
"freeWifi": false,
"freeWifiException": "",
"publicAreaWifiAvailable": false,
"publicAreaWifiAvailableException": "",
"publicInternetTerminal": false,
"publicInternetTerminalException": "",
"wifiAvailable": false,
"wifiAvailableException": ""
},
"families": {
"babysitting": false,
"babysittingException": "",
"kidsActivities": false,
"kidsActivitiesException": "",
"kidsClub": false,
"kidsClubException": "",
"kidsFriendly": false,
"kidsFriendlyException": ""
},
"foodAndDrink": {
"bar": false,
"barException": "",
"breakfastAvailable": false,
"breakfastAvailableException": "",
"breakfastBuffet": false,
"breakfastBuffetException": "",
"buffet": false,
"buffetException": "",
"dinnerBuffet": false,
"dinnerBuffetException": "",
"freeBreakfast": false,
"freeBreakfastException": "",
"restaurant": false,
"restaurantException": "",
"restaurantsCount": 0,
"restaurantsCountException": "",
"roomService": false,
"roomServiceException": "",
"tableService": false,
"tableServiceException": "",
"twentyFourHourRoomService": false,
"twentyFourHourRoomServiceException": "",
"vendingMachine": false,
"vendingMachineException": ""
},
"guestUnits": [
{
"codes": [],
"features": {},
"label": ""
}
],
"healthAndSafety": {
"enhancedCleaning": {
"commercialGradeDisinfectantCleaning": false,
"commercialGradeDisinfectantCleaningException": "",
"commonAreasEnhancedCleaning": false,
"commonAreasEnhancedCleaningException": "",
"employeesTrainedCleaningProcedures": false,
"employeesTrainedCleaningProceduresException": "",
"employeesTrainedThoroughHandWashing": false,
"employeesTrainedThoroughHandWashingException": "",
"employeesWearProtectiveEquipment": false,
"employeesWearProtectiveEquipmentException": "",
"guestRoomsEnhancedCleaning": false,
"guestRoomsEnhancedCleaningException": ""
},
"increasedFoodSafety": {
"diningAreasAdditionalSanitation": false,
"diningAreasAdditionalSanitationException": "",
"disposableFlatware": false,
"disposableFlatwareException": "",
"foodPreparationAndServingAdditionalSafety": false,
"foodPreparationAndServingAdditionalSafetyException": "",
"individualPackagedMeals": false,
"individualPackagedMealsException": "",
"singleUseFoodMenus": false,
"singleUseFoodMenusException": ""
},
"minimizedContact": {
"contactlessCheckinCheckout": false,
"contactlessCheckinCheckoutException": "",
"digitalGuestRoomKeys": false,
"digitalGuestRoomKeysException": "",
"housekeepingScheduledRequestOnly": false,
"housekeepingScheduledRequestOnlyException": "",
"noHighTouchItemsCommonAreas": false,
"noHighTouchItemsCommonAreasException": "",
"noHighTouchItemsGuestRooms": false,
"noHighTouchItemsGuestRoomsException": "",
"plasticKeycardsDisinfected": false,
"plasticKeycardsDisinfectedException": "",
"roomBookingsBuffer": false,
"roomBookingsBufferException": ""
},
"personalProtection": {
"commonAreasOfferSanitizingItems": false,
"commonAreasOfferSanitizingItemsException": "",
"faceMaskRequired": false,
"faceMaskRequiredException": "",
"guestRoomHygieneKitsAvailable": false,
"guestRoomHygieneKitsAvailableException": "",
"protectiveEquipmentAvailable": false,
"protectiveEquipmentAvailableException": ""
},
"physicalDistancing": {
"commonAreasPhysicalDistancingArranged": false,
"commonAreasPhysicalDistancingArrangedException": "",
"physicalDistancingRequired": false,
"physicalDistancingRequiredException": "",
"safetyDividers": false,
"safetyDividersException": "",
"sharedAreasLimitedOccupancy": false,
"sharedAreasLimitedOccupancyException": "",
"wellnessAreasHavePrivateSpaces": false,
"wellnessAreasHavePrivateSpacesException": ""
}
},
"housekeeping": {
"dailyHousekeeping": false,
"dailyHousekeepingException": "",
"housekeepingAvailable": false,
"housekeepingAvailableException": "",
"turndownService": false,
"turndownServiceException": ""
},
"metadata": {
"updateTime": ""
},
"name": "",
"parking": {
"electricCarChargingStations": false,
"electricCarChargingStationsException": "",
"freeParking": false,
"freeParkingException": "",
"freeSelfParking": false,
"freeSelfParkingException": "",
"freeValetParking": false,
"freeValetParkingException": "",
"parkingAvailable": false,
"parkingAvailableException": "",
"selfParkingAvailable": false,
"selfParkingAvailableException": "",
"valetParkingAvailable": false,
"valetParkingAvailableException": ""
},
"pets": {
"catsAllowed": false,
"catsAllowedException": "",
"dogsAllowed": false,
"dogsAllowedException": "",
"petsAllowed": false,
"petsAllowedException": "",
"petsAllowedFree": false,
"petsAllowedFreeException": ""
},
"policies": {
"allInclusiveAvailable": false,
"allInclusiveAvailableException": "",
"allInclusiveOnly": false,
"allInclusiveOnlyException": "",
"checkinTime": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0
},
"checkinTimeException": "",
"checkoutTime": {},
"checkoutTimeException": "",
"kidsStayFree": false,
"kidsStayFreeException": "",
"maxChildAge": 0,
"maxChildAgeException": "",
"maxKidsStayFreeCount": 0,
"maxKidsStayFreeCountException": "",
"paymentOptions": {
"cash": false,
"cashException": "",
"cheque": false,
"chequeException": "",
"creditCard": false,
"creditCardException": "",
"debitCard": false,
"debitCardException": "",
"mobileNfc": false,
"mobileNfcException": ""
},
"smokeFreeProperty": false,
"smokeFreePropertyException": ""
},
"pools": {
"adultPool": false,
"adultPoolException": "",
"hotTub": false,
"hotTubException": "",
"indoorPool": false,
"indoorPoolException": "",
"indoorPoolsCount": 0,
"indoorPoolsCountException": "",
"lazyRiver": false,
"lazyRiverException": "",
"lifeguard": false,
"lifeguardException": "",
"outdoorPool": false,
"outdoorPoolException": "",
"outdoorPoolsCount": 0,
"outdoorPoolsCountException": "",
"pool": false,
"poolException": "",
"poolsCount": 0,
"poolsCountException": "",
"wadingPool": false,
"wadingPoolException": "",
"waterPark": false,
"waterParkException": "",
"waterslide": false,
"waterslideException": "",
"wavePool": false,
"wavePoolException": ""
},
"property": {
"builtYear": 0,
"builtYearException": "",
"floorsCount": 0,
"floorsCountException": "",
"lastRenovatedYear": 0,
"lastRenovatedYearException": "",
"roomsCount": 0,
"roomsCountException": ""
},
"services": {
"baggageStorage": false,
"baggageStorageException": "",
"concierge": false,
"conciergeException": "",
"convenienceStore": false,
"convenienceStoreException": "",
"currencyExchange": false,
"currencyExchangeException": "",
"elevator": false,
"elevatorException": "",
"frontDesk": false,
"frontDeskException": "",
"fullServiceLaundry": false,
"fullServiceLaundryException": "",
"giftShop": false,
"giftShopException": "",
"languagesSpoken": [
{
"languageCode": "",
"spoken": false,
"spokenException": ""
}
],
"selfServiceLaundry": false,
"selfServiceLaundryException": "",
"socialHour": false,
"socialHourException": "",
"twentyFourHourFrontDesk": false,
"twentyFourHourFrontDeskException": "",
"wakeUpCalls": false,
"wakeUpCallsException": ""
},
"someUnits": {},
"sustainability": {
"energyEfficiency": {
"carbonFreeEnergySources": false,
"carbonFreeEnergySourcesException": "",
"energyConservationProgram": false,
"energyConservationProgramException": "",
"energyEfficientHeatingAndCoolingSystems": false,
"energyEfficientHeatingAndCoolingSystemsException": "",
"energyEfficientLighting": false,
"energyEfficientLightingException": "",
"energySavingThermostats": false,
"energySavingThermostatsException": "",
"greenBuildingDesign": false,
"greenBuildingDesignException": "",
"independentOrganizationAuditsEnergyUse": false,
"independentOrganizationAuditsEnergyUseException": ""
},
"sustainabilityCertifications": {
"breeamCertification": "",
"breeamCertificationException": "",
"ecoCertifications": [
{
"awarded": false,
"awardedException": "",
"ecoCertificate": ""
}
],
"leedCertification": "",
"leedCertificationException": ""
},
"sustainableSourcing": {
"ecoFriendlyToiletries": false,
"ecoFriendlyToiletriesException": "",
"locallySourcedFoodAndBeverages": false,
"locallySourcedFoodAndBeveragesException": "",
"organicCageFreeEggs": false,
"organicCageFreeEggsException": "",
"organicFoodAndBeverages": false,
"organicFoodAndBeveragesException": "",
"responsiblePurchasingPolicy": false,
"responsiblePurchasingPolicyException": "",
"responsiblySourcesSeafood": false,
"responsiblySourcesSeafoodException": "",
"veganMeals": false,
"veganMealsException": "",
"vegetarianMeals": false,
"vegetarianMealsException": ""
},
"wasteReduction": {
"compostableFoodContainersAndCutlery": false,
"compostableFoodContainersAndCutleryException": "",
"compostsExcessFood": false,
"compostsExcessFoodException": "",
"donatesExcessFood": false,
"donatesExcessFoodException": "",
"foodWasteReductionProgram": false,
"foodWasteReductionProgramException": "",
"noSingleUsePlasticStraws": false,
"noSingleUsePlasticStrawsException": "",
"noSingleUsePlasticWaterBottles": false,
"noSingleUsePlasticWaterBottlesException": "",
"noStyrofoamFoodContainers": false,
"noStyrofoamFoodContainersException": "",
"recyclingProgram": false,
"recyclingProgramException": "",
"refillableToiletryContainers": false,
"refillableToiletryContainersException": "",
"safelyDisposesBatteries": false,
"safelyDisposesBatteriesException": "",
"safelyDisposesElectronics": false,
"safelyDisposesElectronicsException": "",
"safelyDisposesLightbulbs": false,
"safelyDisposesLightbulbsException": "",
"safelyHandlesHazardousSubstances": false,
"safelyHandlesHazardousSubstancesException": "",
"soapDonationProgram": false,
"soapDonationProgramException": "",
"toiletryDonationProgram": false,
"toiletryDonationProgramException": "",
"waterBottleFillingStations": false,
"waterBottleFillingStationsException": ""
},
"waterConservation": {
"independentOrganizationAuditsWaterUse": false,
"independentOrganizationAuditsWaterUseException": "",
"linenReuseProgram": false,
"linenReuseProgramException": "",
"towelReuseProgram": false,
"towelReuseProgramException": "",
"waterSavingShowers": false,
"waterSavingShowersException": "",
"waterSavingSinks": false,
"waterSavingSinksException": "",
"waterSavingToilets": false,
"waterSavingToiletsException": ""
}
},
"transportation": {
"airportShuttle": false,
"airportShuttleException": "",
"carRentalOnProperty": false,
"carRentalOnPropertyException": "",
"freeAirportShuttle": false,
"freeAirportShuttleException": "",
"freePrivateCarService": false,
"freePrivateCarServiceException": "",
"localShuttle": false,
"localShuttleException": "",
"privateCarService": false,
"privateCarServiceException": "",
"transfer": false,
"transferException": ""
},
"wellness": {
"doctorOnCall": false,
"doctorOnCallException": "",
"ellipticalMachine": false,
"ellipticalMachineException": "",
"fitnessCenter": false,
"fitnessCenterException": "",
"freeFitnessCenter": false,
"freeFitnessCenterException": "",
"freeWeights": false,
"freeWeightsException": "",
"massage": false,
"massageException": "",
"salon": false,
"salonException": "",
"sauna": false,
"saunaException": "",
"spa": false,
"spaException": "",
"treadmill": false,
"treadmillException": "",
"weightMachine": false,
"weightMachineException": ""
}
}' | \
http PATCH {{baseUrl}}/v1/:name \
content-type:application/json
wget --quiet \
--method PATCH \
--header 'content-type: application/json' \
--body-data '{\n "accessibility": {\n "mobilityAccessible": false,\n "mobilityAccessibleElevator": false,\n "mobilityAccessibleElevatorException": "",\n "mobilityAccessibleException": "",\n "mobilityAccessibleParking": false,\n "mobilityAccessibleParkingException": "",\n "mobilityAccessiblePool": false,\n "mobilityAccessiblePoolException": ""\n },\n "activities": {\n "beachAccess": false,\n "beachAccessException": "",\n "beachFront": false,\n "beachFrontException": "",\n "bicycleRental": false,\n "bicycleRentalException": "",\n "boutiqueStores": false,\n "boutiqueStoresException": "",\n "casino": false,\n "casinoException": "",\n "freeBicycleRental": false,\n "freeBicycleRentalException": "",\n "freeWatercraftRental": false,\n "freeWatercraftRentalException": "",\n "gameRoom": false,\n "gameRoomException": "",\n "golf": false,\n "golfException": "",\n "horsebackRiding": false,\n "horsebackRidingException": "",\n "nightclub": false,\n "nightclubException": "",\n "privateBeach": false,\n "privateBeachException": "",\n "scuba": false,\n "scubaException": "",\n "snorkeling": false,\n "snorkelingException": "",\n "tennis": false,\n "tennisException": "",\n "waterSkiing": false,\n "waterSkiingException": "",\n "watercraftRental": false,\n "watercraftRentalException": ""\n },\n "allUnits": {\n "bungalowOrVilla": false,\n "bungalowOrVillaException": "",\n "connectingUnitAvailable": false,\n "connectingUnitAvailableException": "",\n "executiveFloor": false,\n "executiveFloorException": "",\n "maxAdultOccupantsCount": 0,\n "maxAdultOccupantsCountException": "",\n "maxChildOccupantsCount": 0,\n "maxChildOccupantsCountException": "",\n "maxOccupantsCount": 0,\n "maxOccupantsCountException": "",\n "privateHome": false,\n "privateHomeException": "",\n "suite": false,\n "suiteException": "",\n "tier": "",\n "tierException": "",\n "totalLivingAreas": {\n "accessibility": {\n "adaCompliantUnit": false,\n "adaCompliantUnitException": "",\n "hearingAccessibleDoorbell": false,\n "hearingAccessibleDoorbellException": "",\n "hearingAccessibleFireAlarm": false,\n "hearingAccessibleFireAlarmException": "",\n "hearingAccessibleUnit": false,\n "hearingAccessibleUnitException": "",\n "mobilityAccessibleBathtub": false,\n "mobilityAccessibleBathtubException": "",\n "mobilityAccessibleShower": false,\n "mobilityAccessibleShowerException": "",\n "mobilityAccessibleToilet": false,\n "mobilityAccessibleToiletException": "",\n "mobilityAccessibleUnit": false,\n "mobilityAccessibleUnitException": ""\n },\n "eating": {\n "coffeeMaker": false,\n "coffeeMakerException": "",\n "cookware": false,\n "cookwareException": "",\n "dishwasher": false,\n "dishwasherException": "",\n "indoorGrill": false,\n "indoorGrillException": "",\n "kettle": false,\n "kettleException": "",\n "kitchenAvailable": false,\n "kitchenAvailableException": "",\n "microwave": false,\n "microwaveException": "",\n "minibar": false,\n "minibarException": "",\n "outdoorGrill": false,\n "outdoorGrillException": "",\n "oven": false,\n "ovenException": "",\n "refrigerator": false,\n "refrigeratorException": "",\n "sink": false,\n "sinkException": "",\n "snackbar": false,\n "snackbarException": "",\n "stove": false,\n "stoveException": "",\n "teaStation": false,\n "teaStationException": "",\n "toaster": false,\n "toasterException": ""\n },\n "features": {\n "airConditioning": false,\n "airConditioningException": "",\n "bathtub": false,\n "bathtubException": "",\n "bidet": false,\n "bidetException": "",\n "dryer": false,\n "dryerException": "",\n "electronicRoomKey": false,\n "electronicRoomKeyException": "",\n "fireplace": false,\n "fireplaceException": "",\n "hairdryer": false,\n "hairdryerException": "",\n "heating": false,\n "heatingException": "",\n "inunitSafe": false,\n "inunitSafeException": "",\n "inunitWifiAvailable": false,\n "inunitWifiAvailableException": "",\n "ironingEquipment": false,\n "ironingEquipmentException": "",\n "payPerViewMovies": false,\n "payPerViewMoviesException": "",\n "privateBathroom": false,\n "privateBathroomException": "",\n "shower": false,\n "showerException": "",\n "toilet": false,\n "toiletException": "",\n "tv": false,\n "tvCasting": false,\n "tvCastingException": "",\n "tvException": "",\n "tvStreaming": false,\n "tvStreamingException": "",\n "universalPowerAdapters": false,\n "universalPowerAdaptersException": "",\n "washer": false,\n "washerException": ""\n },\n "layout": {\n "balcony": false,\n "balconyException": "",\n "livingAreaSqMeters": "",\n "livingAreaSqMetersException": "",\n "loft": false,\n "loftException": "",\n "nonSmoking": false,\n "nonSmokingException": "",\n "patio": false,\n "patioException": "",\n "stairs": false,\n "stairsException": ""\n },\n "sleeping": {\n "bedsCount": 0,\n "bedsCountException": "",\n "bunkBedsCount": 0,\n "bunkBedsCountException": "",\n "cribsCount": 0,\n "cribsCountException": "",\n "doubleBedsCount": 0,\n "doubleBedsCountException": "",\n "featherPillows": false,\n "featherPillowsException": "",\n "hypoallergenicBedding": false,\n "hypoallergenicBeddingException": "",\n "kingBedsCount": 0,\n "kingBedsCountException": "",\n "memoryFoamPillows": false,\n "memoryFoamPillowsException": "",\n "otherBedsCount": 0,\n "otherBedsCountException": "",\n "queenBedsCount": 0,\n "queenBedsCountException": "",\n "rollAwayBedsCount": 0,\n "rollAwayBedsCountException": "",\n "singleOrTwinBedsCount": 0,\n "singleOrTwinBedsCountException": "",\n "sofaBedsCount": 0,\n "sofaBedsCountException": "",\n "syntheticPillows": false,\n "syntheticPillowsException": ""\n }\n },\n "views": {\n "beachView": false,\n "beachViewException": "",\n "cityView": false,\n "cityViewException": "",\n "gardenView": false,\n "gardenViewException": "",\n "lakeView": false,\n "lakeViewException": "",\n "landmarkView": false,\n "landmarkViewException": "",\n "oceanView": false,\n "oceanViewException": "",\n "poolView": false,\n "poolViewException": "",\n "valleyView": false,\n "valleyViewException": ""\n }\n },\n "business": {\n "businessCenter": false,\n "businessCenterException": "",\n "meetingRooms": false,\n "meetingRoomsCount": 0,\n "meetingRoomsCountException": "",\n "meetingRoomsException": ""\n },\n "commonLivingArea": {},\n "connectivity": {\n "freeWifi": false,\n "freeWifiException": "",\n "publicAreaWifiAvailable": false,\n "publicAreaWifiAvailableException": "",\n "publicInternetTerminal": false,\n "publicInternetTerminalException": "",\n "wifiAvailable": false,\n "wifiAvailableException": ""\n },\n "families": {\n "babysitting": false,\n "babysittingException": "",\n "kidsActivities": false,\n "kidsActivitiesException": "",\n "kidsClub": false,\n "kidsClubException": "",\n "kidsFriendly": false,\n "kidsFriendlyException": ""\n },\n "foodAndDrink": {\n "bar": false,\n "barException": "",\n "breakfastAvailable": false,\n "breakfastAvailableException": "",\n "breakfastBuffet": false,\n "breakfastBuffetException": "",\n "buffet": false,\n "buffetException": "",\n "dinnerBuffet": false,\n "dinnerBuffetException": "",\n "freeBreakfast": false,\n "freeBreakfastException": "",\n "restaurant": false,\n "restaurantException": "",\n "restaurantsCount": 0,\n "restaurantsCountException": "",\n "roomService": false,\n "roomServiceException": "",\n "tableService": false,\n "tableServiceException": "",\n "twentyFourHourRoomService": false,\n "twentyFourHourRoomServiceException": "",\n "vendingMachine": false,\n "vendingMachineException": ""\n },\n "guestUnits": [\n {\n "codes": [],\n "features": {},\n "label": ""\n }\n ],\n "healthAndSafety": {\n "enhancedCleaning": {\n "commercialGradeDisinfectantCleaning": false,\n "commercialGradeDisinfectantCleaningException": "",\n "commonAreasEnhancedCleaning": false,\n "commonAreasEnhancedCleaningException": "",\n "employeesTrainedCleaningProcedures": false,\n "employeesTrainedCleaningProceduresException": "",\n "employeesTrainedThoroughHandWashing": false,\n "employeesTrainedThoroughHandWashingException": "",\n "employeesWearProtectiveEquipment": false,\n "employeesWearProtectiveEquipmentException": "",\n "guestRoomsEnhancedCleaning": false,\n "guestRoomsEnhancedCleaningException": ""\n },\n "increasedFoodSafety": {\n "diningAreasAdditionalSanitation": false,\n "diningAreasAdditionalSanitationException": "",\n "disposableFlatware": false,\n "disposableFlatwareException": "",\n "foodPreparationAndServingAdditionalSafety": false,\n "foodPreparationAndServingAdditionalSafetyException": "",\n "individualPackagedMeals": false,\n "individualPackagedMealsException": "",\n "singleUseFoodMenus": false,\n "singleUseFoodMenusException": ""\n },\n "minimizedContact": {\n "contactlessCheckinCheckout": false,\n "contactlessCheckinCheckoutException": "",\n "digitalGuestRoomKeys": false,\n "digitalGuestRoomKeysException": "",\n "housekeepingScheduledRequestOnly": false,\n "housekeepingScheduledRequestOnlyException": "",\n "noHighTouchItemsCommonAreas": false,\n "noHighTouchItemsCommonAreasException": "",\n "noHighTouchItemsGuestRooms": false,\n "noHighTouchItemsGuestRoomsException": "",\n "plasticKeycardsDisinfected": false,\n "plasticKeycardsDisinfectedException": "",\n "roomBookingsBuffer": false,\n "roomBookingsBufferException": ""\n },\n "personalProtection": {\n "commonAreasOfferSanitizingItems": false,\n "commonAreasOfferSanitizingItemsException": "",\n "faceMaskRequired": false,\n "faceMaskRequiredException": "",\n "guestRoomHygieneKitsAvailable": false,\n "guestRoomHygieneKitsAvailableException": "",\n "protectiveEquipmentAvailable": false,\n "protectiveEquipmentAvailableException": ""\n },\n "physicalDistancing": {\n "commonAreasPhysicalDistancingArranged": false,\n "commonAreasPhysicalDistancingArrangedException": "",\n "physicalDistancingRequired": false,\n "physicalDistancingRequiredException": "",\n "safetyDividers": false,\n "safetyDividersException": "",\n "sharedAreasLimitedOccupancy": false,\n "sharedAreasLimitedOccupancyException": "",\n "wellnessAreasHavePrivateSpaces": false,\n "wellnessAreasHavePrivateSpacesException": ""\n }\n },\n "housekeeping": {\n "dailyHousekeeping": false,\n "dailyHousekeepingException": "",\n "housekeepingAvailable": false,\n "housekeepingAvailableException": "",\n "turndownService": false,\n "turndownServiceException": ""\n },\n "metadata": {\n "updateTime": ""\n },\n "name": "",\n "parking": {\n "electricCarChargingStations": false,\n "electricCarChargingStationsException": "",\n "freeParking": false,\n "freeParkingException": "",\n "freeSelfParking": false,\n "freeSelfParkingException": "",\n "freeValetParking": false,\n "freeValetParkingException": "",\n "parkingAvailable": false,\n "parkingAvailableException": "",\n "selfParkingAvailable": false,\n "selfParkingAvailableException": "",\n "valetParkingAvailable": false,\n "valetParkingAvailableException": ""\n },\n "pets": {\n "catsAllowed": false,\n "catsAllowedException": "",\n "dogsAllowed": false,\n "dogsAllowedException": "",\n "petsAllowed": false,\n "petsAllowedException": "",\n "petsAllowedFree": false,\n "petsAllowedFreeException": ""\n },\n "policies": {\n "allInclusiveAvailable": false,\n "allInclusiveAvailableException": "",\n "allInclusiveOnly": false,\n "allInclusiveOnlyException": "",\n "checkinTime": {\n "hours": 0,\n "minutes": 0,\n "nanos": 0,\n "seconds": 0\n },\n "checkinTimeException": "",\n "checkoutTime": {},\n "checkoutTimeException": "",\n "kidsStayFree": false,\n "kidsStayFreeException": "",\n "maxChildAge": 0,\n "maxChildAgeException": "",\n "maxKidsStayFreeCount": 0,\n "maxKidsStayFreeCountException": "",\n "paymentOptions": {\n "cash": false,\n "cashException": "",\n "cheque": false,\n "chequeException": "",\n "creditCard": false,\n "creditCardException": "",\n "debitCard": false,\n "debitCardException": "",\n "mobileNfc": false,\n "mobileNfcException": ""\n },\n "smokeFreeProperty": false,\n "smokeFreePropertyException": ""\n },\n "pools": {\n "adultPool": false,\n "adultPoolException": "",\n "hotTub": false,\n "hotTubException": "",\n "indoorPool": false,\n "indoorPoolException": "",\n "indoorPoolsCount": 0,\n "indoorPoolsCountException": "",\n "lazyRiver": false,\n "lazyRiverException": "",\n "lifeguard": false,\n "lifeguardException": "",\n "outdoorPool": false,\n "outdoorPoolException": "",\n "outdoorPoolsCount": 0,\n "outdoorPoolsCountException": "",\n "pool": false,\n "poolException": "",\n "poolsCount": 0,\n "poolsCountException": "",\n "wadingPool": false,\n "wadingPoolException": "",\n "waterPark": false,\n "waterParkException": "",\n "waterslide": false,\n "waterslideException": "",\n "wavePool": false,\n "wavePoolException": ""\n },\n "property": {\n "builtYear": 0,\n "builtYearException": "",\n "floorsCount": 0,\n "floorsCountException": "",\n "lastRenovatedYear": 0,\n "lastRenovatedYearException": "",\n "roomsCount": 0,\n "roomsCountException": ""\n },\n "services": {\n "baggageStorage": false,\n "baggageStorageException": "",\n "concierge": false,\n "conciergeException": "",\n "convenienceStore": false,\n "convenienceStoreException": "",\n "currencyExchange": false,\n "currencyExchangeException": "",\n "elevator": false,\n "elevatorException": "",\n "frontDesk": false,\n "frontDeskException": "",\n "fullServiceLaundry": false,\n "fullServiceLaundryException": "",\n "giftShop": false,\n "giftShopException": "",\n "languagesSpoken": [\n {\n "languageCode": "",\n "spoken": false,\n "spokenException": ""\n }\n ],\n "selfServiceLaundry": false,\n "selfServiceLaundryException": "",\n "socialHour": false,\n "socialHourException": "",\n "twentyFourHourFrontDesk": false,\n "twentyFourHourFrontDeskException": "",\n "wakeUpCalls": false,\n "wakeUpCallsException": ""\n },\n "someUnits": {},\n "sustainability": {\n "energyEfficiency": {\n "carbonFreeEnergySources": false,\n "carbonFreeEnergySourcesException": "",\n "energyConservationProgram": false,\n "energyConservationProgramException": "",\n "energyEfficientHeatingAndCoolingSystems": false,\n "energyEfficientHeatingAndCoolingSystemsException": "",\n "energyEfficientLighting": false,\n "energyEfficientLightingException": "",\n "energySavingThermostats": false,\n "energySavingThermostatsException": "",\n "greenBuildingDesign": false,\n "greenBuildingDesignException": "",\n "independentOrganizationAuditsEnergyUse": false,\n "independentOrganizationAuditsEnergyUseException": ""\n },\n "sustainabilityCertifications": {\n "breeamCertification": "",\n "breeamCertificationException": "",\n "ecoCertifications": [\n {\n "awarded": false,\n "awardedException": "",\n "ecoCertificate": ""\n }\n ],\n "leedCertification": "",\n "leedCertificationException": ""\n },\n "sustainableSourcing": {\n "ecoFriendlyToiletries": false,\n "ecoFriendlyToiletriesException": "",\n "locallySourcedFoodAndBeverages": false,\n "locallySourcedFoodAndBeveragesException": "",\n "organicCageFreeEggs": false,\n "organicCageFreeEggsException": "",\n "organicFoodAndBeverages": false,\n "organicFoodAndBeveragesException": "",\n "responsiblePurchasingPolicy": false,\n "responsiblePurchasingPolicyException": "",\n "responsiblySourcesSeafood": false,\n "responsiblySourcesSeafoodException": "",\n "veganMeals": false,\n "veganMealsException": "",\n "vegetarianMeals": false,\n "vegetarianMealsException": ""\n },\n "wasteReduction": {\n "compostableFoodContainersAndCutlery": false,\n "compostableFoodContainersAndCutleryException": "",\n "compostsExcessFood": false,\n "compostsExcessFoodException": "",\n "donatesExcessFood": false,\n "donatesExcessFoodException": "",\n "foodWasteReductionProgram": false,\n "foodWasteReductionProgramException": "",\n "noSingleUsePlasticStraws": false,\n "noSingleUsePlasticStrawsException": "",\n "noSingleUsePlasticWaterBottles": false,\n "noSingleUsePlasticWaterBottlesException": "",\n "noStyrofoamFoodContainers": false,\n "noStyrofoamFoodContainersException": "",\n "recyclingProgram": false,\n "recyclingProgramException": "",\n "refillableToiletryContainers": false,\n "refillableToiletryContainersException": "",\n "safelyDisposesBatteries": false,\n "safelyDisposesBatteriesException": "",\n "safelyDisposesElectronics": false,\n "safelyDisposesElectronicsException": "",\n "safelyDisposesLightbulbs": false,\n "safelyDisposesLightbulbsException": "",\n "safelyHandlesHazardousSubstances": false,\n "safelyHandlesHazardousSubstancesException": "",\n "soapDonationProgram": false,\n "soapDonationProgramException": "",\n "toiletryDonationProgram": false,\n "toiletryDonationProgramException": "",\n "waterBottleFillingStations": false,\n "waterBottleFillingStationsException": ""\n },\n "waterConservation": {\n "independentOrganizationAuditsWaterUse": false,\n "independentOrganizationAuditsWaterUseException": "",\n "linenReuseProgram": false,\n "linenReuseProgramException": "",\n "towelReuseProgram": false,\n "towelReuseProgramException": "",\n "waterSavingShowers": false,\n "waterSavingShowersException": "",\n "waterSavingSinks": false,\n "waterSavingSinksException": "",\n "waterSavingToilets": false,\n "waterSavingToiletsException": ""\n }\n },\n "transportation": {\n "airportShuttle": false,\n "airportShuttleException": "",\n "carRentalOnProperty": false,\n "carRentalOnPropertyException": "",\n "freeAirportShuttle": false,\n "freeAirportShuttleException": "",\n "freePrivateCarService": false,\n "freePrivateCarServiceException": "",\n "localShuttle": false,\n "localShuttleException": "",\n "privateCarService": false,\n "privateCarServiceException": "",\n "transfer": false,\n "transferException": ""\n },\n "wellness": {\n "doctorOnCall": false,\n "doctorOnCallException": "",\n "ellipticalMachine": false,\n "ellipticalMachineException": "",\n "fitnessCenter": false,\n "fitnessCenterException": "",\n "freeFitnessCenter": false,\n "freeFitnessCenterException": "",\n "freeWeights": false,\n "freeWeightsException": "",\n "massage": false,\n "massageException": "",\n "salon": false,\n "salonException": "",\n "sauna": false,\n "saunaException": "",\n "spa": false,\n "spaException": "",\n "treadmill": false,\n "treadmillException": "",\n "weightMachine": false,\n "weightMachineException": ""\n }\n}' \
--output-document \
- {{baseUrl}}/v1/:name
import Foundation
let headers = ["content-type": "application/json"]
let parameters = [
"accessibility": [
"mobilityAccessible": false,
"mobilityAccessibleElevator": false,
"mobilityAccessibleElevatorException": "",
"mobilityAccessibleException": "",
"mobilityAccessibleParking": false,
"mobilityAccessibleParkingException": "",
"mobilityAccessiblePool": false,
"mobilityAccessiblePoolException": ""
],
"activities": [
"beachAccess": false,
"beachAccessException": "",
"beachFront": false,
"beachFrontException": "",
"bicycleRental": false,
"bicycleRentalException": "",
"boutiqueStores": false,
"boutiqueStoresException": "",
"casino": false,
"casinoException": "",
"freeBicycleRental": false,
"freeBicycleRentalException": "",
"freeWatercraftRental": false,
"freeWatercraftRentalException": "",
"gameRoom": false,
"gameRoomException": "",
"golf": false,
"golfException": "",
"horsebackRiding": false,
"horsebackRidingException": "",
"nightclub": false,
"nightclubException": "",
"privateBeach": false,
"privateBeachException": "",
"scuba": false,
"scubaException": "",
"snorkeling": false,
"snorkelingException": "",
"tennis": false,
"tennisException": "",
"waterSkiing": false,
"waterSkiingException": "",
"watercraftRental": false,
"watercraftRentalException": ""
],
"allUnits": [
"bungalowOrVilla": false,
"bungalowOrVillaException": "",
"connectingUnitAvailable": false,
"connectingUnitAvailableException": "",
"executiveFloor": false,
"executiveFloorException": "",
"maxAdultOccupantsCount": 0,
"maxAdultOccupantsCountException": "",
"maxChildOccupantsCount": 0,
"maxChildOccupantsCountException": "",
"maxOccupantsCount": 0,
"maxOccupantsCountException": "",
"privateHome": false,
"privateHomeException": "",
"suite": false,
"suiteException": "",
"tier": "",
"tierException": "",
"totalLivingAreas": [
"accessibility": [
"adaCompliantUnit": false,
"adaCompliantUnitException": "",
"hearingAccessibleDoorbell": false,
"hearingAccessibleDoorbellException": "",
"hearingAccessibleFireAlarm": false,
"hearingAccessibleFireAlarmException": "",
"hearingAccessibleUnit": false,
"hearingAccessibleUnitException": "",
"mobilityAccessibleBathtub": false,
"mobilityAccessibleBathtubException": "",
"mobilityAccessibleShower": false,
"mobilityAccessibleShowerException": "",
"mobilityAccessibleToilet": false,
"mobilityAccessibleToiletException": "",
"mobilityAccessibleUnit": false,
"mobilityAccessibleUnitException": ""
],
"eating": [
"coffeeMaker": false,
"coffeeMakerException": "",
"cookware": false,
"cookwareException": "",
"dishwasher": false,
"dishwasherException": "",
"indoorGrill": false,
"indoorGrillException": "",
"kettle": false,
"kettleException": "",
"kitchenAvailable": false,
"kitchenAvailableException": "",
"microwave": false,
"microwaveException": "",
"minibar": false,
"minibarException": "",
"outdoorGrill": false,
"outdoorGrillException": "",
"oven": false,
"ovenException": "",
"refrigerator": false,
"refrigeratorException": "",
"sink": false,
"sinkException": "",
"snackbar": false,
"snackbarException": "",
"stove": false,
"stoveException": "",
"teaStation": false,
"teaStationException": "",
"toaster": false,
"toasterException": ""
],
"features": [
"airConditioning": false,
"airConditioningException": "",
"bathtub": false,
"bathtubException": "",
"bidet": false,
"bidetException": "",
"dryer": false,
"dryerException": "",
"electronicRoomKey": false,
"electronicRoomKeyException": "",
"fireplace": false,
"fireplaceException": "",
"hairdryer": false,
"hairdryerException": "",
"heating": false,
"heatingException": "",
"inunitSafe": false,
"inunitSafeException": "",
"inunitWifiAvailable": false,
"inunitWifiAvailableException": "",
"ironingEquipment": false,
"ironingEquipmentException": "",
"payPerViewMovies": false,
"payPerViewMoviesException": "",
"privateBathroom": false,
"privateBathroomException": "",
"shower": false,
"showerException": "",
"toilet": false,
"toiletException": "",
"tv": false,
"tvCasting": false,
"tvCastingException": "",
"tvException": "",
"tvStreaming": false,
"tvStreamingException": "",
"universalPowerAdapters": false,
"universalPowerAdaptersException": "",
"washer": false,
"washerException": ""
],
"layout": [
"balcony": false,
"balconyException": "",
"livingAreaSqMeters": "",
"livingAreaSqMetersException": "",
"loft": false,
"loftException": "",
"nonSmoking": false,
"nonSmokingException": "",
"patio": false,
"patioException": "",
"stairs": false,
"stairsException": ""
],
"sleeping": [
"bedsCount": 0,
"bedsCountException": "",
"bunkBedsCount": 0,
"bunkBedsCountException": "",
"cribsCount": 0,
"cribsCountException": "",
"doubleBedsCount": 0,
"doubleBedsCountException": "",
"featherPillows": false,
"featherPillowsException": "",
"hypoallergenicBedding": false,
"hypoallergenicBeddingException": "",
"kingBedsCount": 0,
"kingBedsCountException": "",
"memoryFoamPillows": false,
"memoryFoamPillowsException": "",
"otherBedsCount": 0,
"otherBedsCountException": "",
"queenBedsCount": 0,
"queenBedsCountException": "",
"rollAwayBedsCount": 0,
"rollAwayBedsCountException": "",
"singleOrTwinBedsCount": 0,
"singleOrTwinBedsCountException": "",
"sofaBedsCount": 0,
"sofaBedsCountException": "",
"syntheticPillows": false,
"syntheticPillowsException": ""
]
],
"views": [
"beachView": false,
"beachViewException": "",
"cityView": false,
"cityViewException": "",
"gardenView": false,
"gardenViewException": "",
"lakeView": false,
"lakeViewException": "",
"landmarkView": false,
"landmarkViewException": "",
"oceanView": false,
"oceanViewException": "",
"poolView": false,
"poolViewException": "",
"valleyView": false,
"valleyViewException": ""
]
],
"business": [
"businessCenter": false,
"businessCenterException": "",
"meetingRooms": false,
"meetingRoomsCount": 0,
"meetingRoomsCountException": "",
"meetingRoomsException": ""
],
"commonLivingArea": [],
"connectivity": [
"freeWifi": false,
"freeWifiException": "",
"publicAreaWifiAvailable": false,
"publicAreaWifiAvailableException": "",
"publicInternetTerminal": false,
"publicInternetTerminalException": "",
"wifiAvailable": false,
"wifiAvailableException": ""
],
"families": [
"babysitting": false,
"babysittingException": "",
"kidsActivities": false,
"kidsActivitiesException": "",
"kidsClub": false,
"kidsClubException": "",
"kidsFriendly": false,
"kidsFriendlyException": ""
],
"foodAndDrink": [
"bar": false,
"barException": "",
"breakfastAvailable": false,
"breakfastAvailableException": "",
"breakfastBuffet": false,
"breakfastBuffetException": "",
"buffet": false,
"buffetException": "",
"dinnerBuffet": false,
"dinnerBuffetException": "",
"freeBreakfast": false,
"freeBreakfastException": "",
"restaurant": false,
"restaurantException": "",
"restaurantsCount": 0,
"restaurantsCountException": "",
"roomService": false,
"roomServiceException": "",
"tableService": false,
"tableServiceException": "",
"twentyFourHourRoomService": false,
"twentyFourHourRoomServiceException": "",
"vendingMachine": false,
"vendingMachineException": ""
],
"guestUnits": [
[
"codes": [],
"features": [],
"label": ""
]
],
"healthAndSafety": [
"enhancedCleaning": [
"commercialGradeDisinfectantCleaning": false,
"commercialGradeDisinfectantCleaningException": "",
"commonAreasEnhancedCleaning": false,
"commonAreasEnhancedCleaningException": "",
"employeesTrainedCleaningProcedures": false,
"employeesTrainedCleaningProceduresException": "",
"employeesTrainedThoroughHandWashing": false,
"employeesTrainedThoroughHandWashingException": "",
"employeesWearProtectiveEquipment": false,
"employeesWearProtectiveEquipmentException": "",
"guestRoomsEnhancedCleaning": false,
"guestRoomsEnhancedCleaningException": ""
],
"increasedFoodSafety": [
"diningAreasAdditionalSanitation": false,
"diningAreasAdditionalSanitationException": "",
"disposableFlatware": false,
"disposableFlatwareException": "",
"foodPreparationAndServingAdditionalSafety": false,
"foodPreparationAndServingAdditionalSafetyException": "",
"individualPackagedMeals": false,
"individualPackagedMealsException": "",
"singleUseFoodMenus": false,
"singleUseFoodMenusException": ""
],
"minimizedContact": [
"contactlessCheckinCheckout": false,
"contactlessCheckinCheckoutException": "",
"digitalGuestRoomKeys": false,
"digitalGuestRoomKeysException": "",
"housekeepingScheduledRequestOnly": false,
"housekeepingScheduledRequestOnlyException": "",
"noHighTouchItemsCommonAreas": false,
"noHighTouchItemsCommonAreasException": "",
"noHighTouchItemsGuestRooms": false,
"noHighTouchItemsGuestRoomsException": "",
"plasticKeycardsDisinfected": false,
"plasticKeycardsDisinfectedException": "",
"roomBookingsBuffer": false,
"roomBookingsBufferException": ""
],
"personalProtection": [
"commonAreasOfferSanitizingItems": false,
"commonAreasOfferSanitizingItemsException": "",
"faceMaskRequired": false,
"faceMaskRequiredException": "",
"guestRoomHygieneKitsAvailable": false,
"guestRoomHygieneKitsAvailableException": "",
"protectiveEquipmentAvailable": false,
"protectiveEquipmentAvailableException": ""
],
"physicalDistancing": [
"commonAreasPhysicalDistancingArranged": false,
"commonAreasPhysicalDistancingArrangedException": "",
"physicalDistancingRequired": false,
"physicalDistancingRequiredException": "",
"safetyDividers": false,
"safetyDividersException": "",
"sharedAreasLimitedOccupancy": false,
"sharedAreasLimitedOccupancyException": "",
"wellnessAreasHavePrivateSpaces": false,
"wellnessAreasHavePrivateSpacesException": ""
]
],
"housekeeping": [
"dailyHousekeeping": false,
"dailyHousekeepingException": "",
"housekeepingAvailable": false,
"housekeepingAvailableException": "",
"turndownService": false,
"turndownServiceException": ""
],
"metadata": ["updateTime": ""],
"name": "",
"parking": [
"electricCarChargingStations": false,
"electricCarChargingStationsException": "",
"freeParking": false,
"freeParkingException": "",
"freeSelfParking": false,
"freeSelfParkingException": "",
"freeValetParking": false,
"freeValetParkingException": "",
"parkingAvailable": false,
"parkingAvailableException": "",
"selfParkingAvailable": false,
"selfParkingAvailableException": "",
"valetParkingAvailable": false,
"valetParkingAvailableException": ""
],
"pets": [
"catsAllowed": false,
"catsAllowedException": "",
"dogsAllowed": false,
"dogsAllowedException": "",
"petsAllowed": false,
"petsAllowedException": "",
"petsAllowedFree": false,
"petsAllowedFreeException": ""
],
"policies": [
"allInclusiveAvailable": false,
"allInclusiveAvailableException": "",
"allInclusiveOnly": false,
"allInclusiveOnlyException": "",
"checkinTime": [
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0
],
"checkinTimeException": "",
"checkoutTime": [],
"checkoutTimeException": "",
"kidsStayFree": false,
"kidsStayFreeException": "",
"maxChildAge": 0,
"maxChildAgeException": "",
"maxKidsStayFreeCount": 0,
"maxKidsStayFreeCountException": "",
"paymentOptions": [
"cash": false,
"cashException": "",
"cheque": false,
"chequeException": "",
"creditCard": false,
"creditCardException": "",
"debitCard": false,
"debitCardException": "",
"mobileNfc": false,
"mobileNfcException": ""
],
"smokeFreeProperty": false,
"smokeFreePropertyException": ""
],
"pools": [
"adultPool": false,
"adultPoolException": "",
"hotTub": false,
"hotTubException": "",
"indoorPool": false,
"indoorPoolException": "",
"indoorPoolsCount": 0,
"indoorPoolsCountException": "",
"lazyRiver": false,
"lazyRiverException": "",
"lifeguard": false,
"lifeguardException": "",
"outdoorPool": false,
"outdoorPoolException": "",
"outdoorPoolsCount": 0,
"outdoorPoolsCountException": "",
"pool": false,
"poolException": "",
"poolsCount": 0,
"poolsCountException": "",
"wadingPool": false,
"wadingPoolException": "",
"waterPark": false,
"waterParkException": "",
"waterslide": false,
"waterslideException": "",
"wavePool": false,
"wavePoolException": ""
],
"property": [
"builtYear": 0,
"builtYearException": "",
"floorsCount": 0,
"floorsCountException": "",
"lastRenovatedYear": 0,
"lastRenovatedYearException": "",
"roomsCount": 0,
"roomsCountException": ""
],
"services": [
"baggageStorage": false,
"baggageStorageException": "",
"concierge": false,
"conciergeException": "",
"convenienceStore": false,
"convenienceStoreException": "",
"currencyExchange": false,
"currencyExchangeException": "",
"elevator": false,
"elevatorException": "",
"frontDesk": false,
"frontDeskException": "",
"fullServiceLaundry": false,
"fullServiceLaundryException": "",
"giftShop": false,
"giftShopException": "",
"languagesSpoken": [
[
"languageCode": "",
"spoken": false,
"spokenException": ""
]
],
"selfServiceLaundry": false,
"selfServiceLaundryException": "",
"socialHour": false,
"socialHourException": "",
"twentyFourHourFrontDesk": false,
"twentyFourHourFrontDeskException": "",
"wakeUpCalls": false,
"wakeUpCallsException": ""
],
"someUnits": [],
"sustainability": [
"energyEfficiency": [
"carbonFreeEnergySources": false,
"carbonFreeEnergySourcesException": "",
"energyConservationProgram": false,
"energyConservationProgramException": "",
"energyEfficientHeatingAndCoolingSystems": false,
"energyEfficientHeatingAndCoolingSystemsException": "",
"energyEfficientLighting": false,
"energyEfficientLightingException": "",
"energySavingThermostats": false,
"energySavingThermostatsException": "",
"greenBuildingDesign": false,
"greenBuildingDesignException": "",
"independentOrganizationAuditsEnergyUse": false,
"independentOrganizationAuditsEnergyUseException": ""
],
"sustainabilityCertifications": [
"breeamCertification": "",
"breeamCertificationException": "",
"ecoCertifications": [
[
"awarded": false,
"awardedException": "",
"ecoCertificate": ""
]
],
"leedCertification": "",
"leedCertificationException": ""
],
"sustainableSourcing": [
"ecoFriendlyToiletries": false,
"ecoFriendlyToiletriesException": "",
"locallySourcedFoodAndBeverages": false,
"locallySourcedFoodAndBeveragesException": "",
"organicCageFreeEggs": false,
"organicCageFreeEggsException": "",
"organicFoodAndBeverages": false,
"organicFoodAndBeveragesException": "",
"responsiblePurchasingPolicy": false,
"responsiblePurchasingPolicyException": "",
"responsiblySourcesSeafood": false,
"responsiblySourcesSeafoodException": "",
"veganMeals": false,
"veganMealsException": "",
"vegetarianMeals": false,
"vegetarianMealsException": ""
],
"wasteReduction": [
"compostableFoodContainersAndCutlery": false,
"compostableFoodContainersAndCutleryException": "",
"compostsExcessFood": false,
"compostsExcessFoodException": "",
"donatesExcessFood": false,
"donatesExcessFoodException": "",
"foodWasteReductionProgram": false,
"foodWasteReductionProgramException": "",
"noSingleUsePlasticStraws": false,
"noSingleUsePlasticStrawsException": "",
"noSingleUsePlasticWaterBottles": false,
"noSingleUsePlasticWaterBottlesException": "",
"noStyrofoamFoodContainers": false,
"noStyrofoamFoodContainersException": "",
"recyclingProgram": false,
"recyclingProgramException": "",
"refillableToiletryContainers": false,
"refillableToiletryContainersException": "",
"safelyDisposesBatteries": false,
"safelyDisposesBatteriesException": "",
"safelyDisposesElectronics": false,
"safelyDisposesElectronicsException": "",
"safelyDisposesLightbulbs": false,
"safelyDisposesLightbulbsException": "",
"safelyHandlesHazardousSubstances": false,
"safelyHandlesHazardousSubstancesException": "",
"soapDonationProgram": false,
"soapDonationProgramException": "",
"toiletryDonationProgram": false,
"toiletryDonationProgramException": "",
"waterBottleFillingStations": false,
"waterBottleFillingStationsException": ""
],
"waterConservation": [
"independentOrganizationAuditsWaterUse": false,
"independentOrganizationAuditsWaterUseException": "",
"linenReuseProgram": false,
"linenReuseProgramException": "",
"towelReuseProgram": false,
"towelReuseProgramException": "",
"waterSavingShowers": false,
"waterSavingShowersException": "",
"waterSavingSinks": false,
"waterSavingSinksException": "",
"waterSavingToilets": false,
"waterSavingToiletsException": ""
]
],
"transportation": [
"airportShuttle": false,
"airportShuttleException": "",
"carRentalOnProperty": false,
"carRentalOnPropertyException": "",
"freeAirportShuttle": false,
"freeAirportShuttleException": "",
"freePrivateCarService": false,
"freePrivateCarServiceException": "",
"localShuttle": false,
"localShuttleException": "",
"privateCarService": false,
"privateCarServiceException": "",
"transfer": false,
"transferException": ""
],
"wellness": [
"doctorOnCall": false,
"doctorOnCallException": "",
"ellipticalMachine": false,
"ellipticalMachineException": "",
"fitnessCenter": false,
"fitnessCenterException": "",
"freeFitnessCenter": false,
"freeFitnessCenterException": "",
"freeWeights": false,
"freeWeightsException": "",
"massage": false,
"massageException": "",
"salon": false,
"salonException": "",
"sauna": false,
"saunaException": "",
"spa": false,
"spaException": "",
"treadmill": false,
"treadmillException": "",
"weightMachine": false,
"weightMachineException": ""
]
] as [String : Any]
let postData = JSONSerialization.data(withJSONObject: parameters, options: [])
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/v1/:name")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "PATCH"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()