Viewings: get slots

Return information about available slots and qualifying questions.

Request - GET https://api-uat.vtopenview.com/onlineBookingInfo?branchguid={branchguid}&propertyguid={propertyguid}&type={type}

DO NOT supply a request body and a request parameter with this method.
You will need to include your access token upon making a request. For more information, see the authentication and authorization page.

Example request with authorization:

curl -- GET Base URI: https://api-uat.vtopenview.com/onlineBookingInfo?branchguid={branchguid}&propertyguid={propertyguid}&type={type}
--header "Authorization: Bearer MTQ0NjJkZmQ5OTM2NDE1ghNNBiuyUYUN"

Query Parameters
branchguid
GUID
The Branch's GUID

propertyguid
GUID
The Property's GUID

type
string
The Booking type ( Here it is Viewing )

Response

If successful, this method returns a response body with the following structure:

Example response:

HTTPS 200 OK
Content-Type: application/json
{
"QualifyingQuestions": [
{
"QuestionId": integer,
"Question": "string",
"Required": boolean,
"Enabled": boolean
}
],
"CalendarEvents": [
{
"CalendarEventId": long,
"StartDate": "date",
"EndDate": "date",
}
]
}