The reservation
The reservation
The id of the reservation in the third-party system, the reservation's SPI Itinerary ID or RCI Reservation ID for instance.
The type of guest (e.g. "owner")
The guest's mailing address
A list of accommodations (must include at least one item)
curl -i -X POST \
https://tbg-api-docs.vacatia.com/_mock/berkley/properties/MT-MLR/reservations \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"sourceId": "string",
"source": "exchange",
"startDate": "2019-08-24",
"endDate": "2019-08-24",
"status": "not_confirmed",
"exchangeName": "rci",
"exchangeGuestType": "resort_home_week_owner",
"requestedAdaUnit": false,
"reservationType": "string",
"reservationSubtype": "string",
"rciMemberId": "string",
"primaryGuest": {
"vacatiaOwnerId": "V-0000-0000",
"firstName": "James",
"lastName": "Kirk",
"emailAddress": "user@example.com",
"mailingAddress": {
"line1": "string",
"line2": "string",
"city": "string",
"state": "string",
"postalCode": "string",
"country": "string"
},
"homePhone": "string",
"mobilePhone": "string"
},
"additionalGuests": [
{
"vacatiaOwnerId": "V-0000-0000",
"firstName": "James",
"lastName": "Kirk",
"emailAddress": "user@example.com",
"mailingAddress": {
"line1": "string",
"line2": "string",
"city": "string",
"state": "string",
"postalCode": "string",
"country": "string"
},
"homePhone": "string",
"mobilePhone": "string"
}
],
"accommodations": [
{
"unitTypeCode": "WEST A",
"numberOfAdults": 1,
"numberOfChildren": 0
}
],
"notes": [
{
"note": "Please note that the example guest is allergic to example peanuts."
}
]
}'{ "data": { "reservationId": "134782164", "primaryGuest": { … } } }
curl -i -X GET \
https://tbg-api-docs.vacatia.com/_mock/berkley/properties/MT-MLR/reservations/0123456789 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "data": { "id": "string", "cloudbedsSource": "string", "sourceId": "string", "startDate": "2019-08-24", "endDate": "2019-08-24", "status": "not_confirmed", "exchangeName": "rci", "exchangeGuestType": "resort_home_week_owner", "requestedAdaUnit": false, "reservationType": "string", "reservationSubtype": "string", "rciMemberId": "string", "primaryGuest": { … }, "additionalGuests": [ … ], "accommodations": [ … ] } }
curl -i -X PATCH \
https://tbg-api-docs.vacatia.com/_mock/berkley/properties/MT-MLR/reservations/0123456789 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"status": "not_confirmed",
"reservationType": "string",
"reservationSubType": "string",
"rciMemberId": "string"
}'{ "data": { "reservationId": "134782164", "primaryGuest": { … } } }