Viewings: get slots
Return information about available slots and qualifying questions.
Request - GET https://api-uat.vtopenview.com/onlineBookingInfo?branchId={branchId}&propertyId={propertyId}&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?branchId={branchId}&propertyId={propertyId}&type={type}
--header "Authorization: Bearer MTQ0NjJkZmQ5OTM2NDE1ghNNBiuyUYUN"
Query Parameters
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,
"UserId": long,
"StartDateTime": "datetime",
"StartDate": "date",
"StartTime": "time",
"EndDateTime": "datetime",
"EndDay": "date",
"EndTime": "time"
}
]
}