Restaurant

List accessible restaurants

get
/api/ConsumerApi/v1/Microsites

Gets the microsite names of the restaurants that you have access to, and that have microsites on the resdiary.com booking portal.

Authorizations
HTTPRequired

Bearer token using a JWT

Query parameters
api-versionstringOptional
Responses
chevron-right
200

OK

string[]Optional
get
/api/ConsumerApi/v1/Microsites
200

OK

List accessible restaurants

get
/api/ConsumerApi/v1/Restaurants

Gets the microsite names of the restaurants that you have access to.

Authorizations
HTTPRequired

Bearer token using a JWT

Query parameters
api-versionstringOptional
Responses
chevron-right
200

OK

string[]Optional
get
/api/ConsumerApi/v1/Restaurants
200

OK

Dictionary of existing microsites

get
/api/Microsite/Exist/{micrositeNames}

Takes a list of microsites and returns a dictionary with if they exist or not

Authorizations
HTTPRequired

Bearer token using a JWT

Path parameters
micrositeNamesstringRequired

Comma separated string of microsite names

Query parameters
api-versionstringOptional
Responses
chevron-right
200

OK

Other propertiesbooleanOptional
get
/api/Microsite/Exist/{micrositeNames}
200

OK

Get a restaurant's expert ranking

get
/api/ConsumerApi/v1/Restaurant/{micrositeName}/Ranking

Gets the expert ranking for this restaurant

Authorizations
HTTPRequired

Bearer token using a JWT

Path parameters
micrositeNamestringRequired

The microsite name.

Query parameters
api-versionstringOptional
Responses
chevron-right
200

OK

integer · int32Optional
get
/api/ConsumerApi/v1/Restaurant/{micrositeName}/Ranking
200

OK

Get when restaurant is closed

get
/api/ConsumerApi/v1/Restaurant/{micrositeName}/ClosedDates

Retrieves the days of the week and date periods during which the restaurant is closed for online bookings

Authorizations
HTTPRequired

Bearer token using a JWT

Path parameters
micrositeNamestringRequired

The microsite name.

Query parameters
api-versionstringOptional
Responses
chevron-right
200

OK

Information regarding the days of the week and any periods in which the restaurant is closed for online bookings

get
/api/ConsumerApi/v1/Restaurant/{micrositeName}/ClosedDates
200

OK

List booking reasons

get
/api/ConsumerApi/v1/Restaurant/{micrositeName}/BookingReasons

Gets the booking reasons that can be associated with bookings for a specified restaurant.

Authorizations
HTTPRequired

Bearer token using a JWT

Path parameters
micrositeNamestringRequired

The restaurant's microsite name.

Query parameters
api-versionstringOptional
Responses
chevron-right
200

OK

Contains the information about a booking reason.

Idinteger · int32Optional

The internal ResDiary Id for the booking reason.

NamestringOptional

The name of the booking reason.

get
/api/ConsumerApi/v1/Restaurant/{micrositeName}/BookingReasons
200

OK

Get the tracking details for a restaurant

get
/api/ConsumerApi/v1/Restaurant/{micrositeName}/WidgetTracking

Gets the widget tracking details for a specified restaurant.

Authorizations
HTTPRequired

Bearer token using a JWT

Path parameters
micrositeNamestringRequired

The restaurant's microsite name.

Query parameters
api-versionstringOptional
Responses
chevron-right
200

OK

Represents widget tracking information.

GoogleAnalyticsIdstringOptional

The Google Universal Analytics ID.

GoogleTagManagerIdstringOptional

The Google Tag Manager Container ID.

GoogleAnalytics4IdstringOptional

The Google Analytics 4 ID.

GoogleAdWordsIdstringOptional

The Google AdWords Id.

GoogleAdWordsLabelstringOptional

The Google Adwords Label.

FacebookPixelIdstringOptional

The Facebook Pixel ID.

TwitterAdIdstringOptional

The Twitter Ad ID.

get
/api/ConsumerApi/v1/Restaurant/{micrositeName}/WidgetTracking
200

OK

Get menu URL

get
/api/ConsumerApi/v1/Restaurant/{micrositeName}/Menu/{menuName}

Gets the storage url of a specified menu.

Authorizations
HTTPRequired

Bearer token using a JWT

Path parameters
micrositeNamestringRequired

The microsite name.

menuNamestringRequired

The menu url name.

Query parameters
api-versionstringOptional
Responses
chevron-right
200

OK

stringOptional
get
/api/ConsumerApi/v1/Restaurant/{micrositeName}/Menu/{menuName}
200

OK

Get a restaurant

get
/api/ConsumerApi/v1/Restaurant/{micrositeName}

Gets information about the restaurant with the specified microsite name.

Authorizations
HTTPRequired

Bearer token using a JWT

Path parameters
micrositeNamestringRequired

The microsite name.

Query parameters
culturestringOptional

The culture name, when specified the API will return translated values for the specified culture where translated versions are available.

api-versionstringOptional
Responses
chevron-right
200

OK

A restaurant that customers can book into.

NamestringOptional

The name of the restaurant.

EmailAddressstringOptional

The contact email address of the restaurant.

ReservationPhoneNumberstringOptional

The reservation phone number.

WebsitestringOptional

The restaurant website.

MaxCoversinteger · int32Optional

The maximum number of covers that can be in a booking for the restaurant.

ShortDescriptionstringOptional

A short description of the restaurant.

DescriptionstringOptional

The full description of the restaurant.

NewsRssFeedstringOptional

The RSS feed to get news about the restaurant.

NewsBlogstringOptional

The URL of the restaurant's blog.

TripAdvisorKeystringOptional
OpeningInformationstringOptional

Information about when the restaurant is open.

BookingFormUrlstringOptional

The URL to the booking form.

AlternativeBookingFormUrlstringOptional
LogoUrlstringOptional

The restaurant's logo URL.

PoweredByUrlstringOptional

The "Powered by ResDiary" URL.

SiteUrlstringOptional
PageUrlstringOptional
AccessedNamestringOptional

The microsite name of the restaurant.

CurrentSortOrderstring · enumOptional

The order the reviews are sorted in.

Possible values:
CurrentPageinteger · int32Optional

The page of reviews being returned.

UsesStandardBookingWidgetbooleanOptional

true if the restaurant uses the standard ResDiary booking widget, false if they use a custom widget.

CuisineTypesinteger · int32[]Optional

An array of the cuisine type Ids available at the restaurant.

PortalMetaDescriptionstringOptional

The meta description tag to display on the portal for the restaurant.

PricePointinteger · int32Optional

The restaurant's price point if set.

CurrencySymbolstringOptional

The currency symbol used by the restaurant.

CurrencyCodestringOptional

The currency code used by the restaurant.

CountryCodestringOptional

The telephone country code used by the restaurant.

AllowFunctionEnquiriesbooleanOptional

Whether the restaurant allows function enquiries.

AcceptBookingsDaysInAdvanceinteger · int32Optional

The number of days in advance that the restaurant accepts bookings.

AcceptFunctionEnquiriesDaysInAdvanceinteger · int32Optional

The number of days in advance that the restaurant accepts function enquiries.

AcceptStandbyFunctionEnquiriesbooleanOptional

Whether the restaurant allows standby function enquiries.

IsBookingEditAndCancelEnabledbooleanOptional

Whether the restaurant allows bookings to be edited and cancelled by diners

RestaurantGroupNamestringOptional

The name of the group this restaurant belongs to

IsGroupRestaurantbooleanOptional

Whether this restaurant is part of a group of more than 1 restaurant

SellsVouchersbooleanOptional

True if this restaurant sells vouchers, false otherwise

VouchersUrlstringOptional

The url to the vouchers widget for this restaurant

DressCodesstring[]Optional

A list of the dress codes for this restaurant.

AllowMultipleOrderingbooleanOptional

Whether this restaurant allows multiple rounds of ordering for pay at table

LargeMainRestaurantImagestringOptional

The url link to the 1920 x 1080 size main restaurant image

MainRestaurantImagestringOptional

The url link to the 1440 x 810 size main restaurant image

SmallMainRestaurantImagestringOptional

The url link to the 768 x 432 size main restaurant image

TinyMainRestaurantImagestringOptional

The url link to the 375 x 210 size main restaurant image

IsPointsParticipatingbooleanOptional

True if this restaurant partakes in the Loyalty Program

FacebookPixelIdstringOptional

The facebook pixel id associated to this restaurant.

TermsAndConditionsstringOptional

The Restaurants Widget Terms and Conditions (formatted in a HTML String).

HideRestaurantOnPortalbooleanOptional

Whether the restaurant should be hidden on the Portal or not.

get
/api/ConsumerApi/v1/Restaurant/{micrositeName}
200

OK

Find restaurants by name

get
/api/ConsumerApi/v1/Restaurant/SearchName

Searches for restaurants whose name contains the specified text.

Authorizations
HTTPRequired

Bearer token using a JWT

Query parameters
searchTextstringRequired

The text to search for.

api-versionstringOptional
Responses
chevron-right
200

OK

Contains the search result.

NamestringOptional

The restaurant name.

MicrositeNamestringOptional

The microsite name.

get
/api/ConsumerApi/v1/Restaurant/SearchName
200

OK

Verify a restaurant has a microsite

get
/api/ConsumerApi/v1/Restaurant/{micrositeName}/HasMicrositeSummary

Gets whether the specified restaurant has a fully populated microsite summary.

Authorizations
HTTPRequired

Bearer token using a JWT

Path parameters
micrositeNamestringRequired

The restaurant's microsite name.

Query parameters
api-versionstringOptional
Responses
chevron-right
200

OK

ResultbooleanOptional
get
/api/ConsumerApi/v1/Restaurant/{micrositeName}/HasMicrositeSummary
200

OK

Get event enquiry setup information

get
/api/ConsumerApi/v1/Restaurant/{micrositeName}/EventsSetup

Gets the setup of a restaurant for event enquiries

Authorizations
HTTPRequired

Bearer token using a JWT

Path parameters
micrositeNamestringRequired

The microsite name.

Query parameters
datestring · date-timeRequired

The date we are requesting the setup for

api-versionstringOptional
Responses
chevron-right
200

OK

Contains information about the setup of a restaurant for event enquiries.

RestaurantIdinteger · int32Optional

The restaurant's Id.

NamestringOptional

The name of the restaurant.

MaxEventsPartySizeinteger · int32Optional

The maximum party size (covers) for an event enquiry.

MinEventsPartySizeinteger · int32Optional

The minimum party size (covers) for an event enquiry.

TermsAndConditionsstringOptional

The terms and conditions for making bookings (formatted in a HTML String).

CountryCodestringOptional

Gets or sets countryCode for phone numbers

Iso2CountryCodestringOptional

The ISO 2 letter code for the restaurant's country. Note that this can currently be null because a restaurant can technically set their country to one that doesn't exist.

RestaurantGroupNamestringOptional

The Restaurant Group Name

IsGroupRestaurantbooleanOptional

Whether the restaurant is part of a group of more than one restaurant

IsIndividualVenueMarketingEnabledbooleanOptional

Whether provider marketing is enabled

IsGroupMarketingEnabledbooleanOptional

Whether group marketing is enabled

GroupMarketingDisplayNamestringOptional

The name the provider has chosen to display to their group marketing prefernces

BelowMinPartySizeCustomMessagestringOptional

The custom message the restaurant wants to display when a customer is trying to book an event below the minimum limit.

AboveMaxPartySizeCustomMessagestringOptional

The custom message the restaurant wants to display when a customer is trying to book an event above the maximum limit.

RestaurantCurrentDateTimestring · date-timeOptional

The current date and time of the restaurant.

PrivacyPolicystringOptional

The privacy policy for the restaurant.

HasAreasEnabledForEventsbooleanOptional

Whether the restaurant has any area that is enabled for event enquiries on the requested date.

AcceptFunctionEnquiriesDaysInAdvanceinteger · int32Optional

Allow Online Event Enquiries X Days In Advance.

get
/api/ConsumerApi/v1/Restaurant/{micrositeName}/EventsSetup
200

OK

Get a widget theme's styles

get
/api/ConsumerApi/v1/Restaurant/{micrositeName}/WidgetThemeStyles/{themeId}

Gets colours and other visual style elements for the widget

Authorizations
HTTPRequired

Bearer token using a JWT

Path parameters
micrositeNamestringRequired
themeIdinteger · int32Required
Query parameters
api-versionstringOptional
Responses
chevron-right
200

OK

Dto used for passing visual styles to the widget

ThemeIdinteger · int32Optional

Theme Id

OverallResDiaryLogointeger · int32Optional

ResDiary logo

OverallGeneralBackgroundColourstringOptional

Overall section. General background colour

OverallGeneralTextColourstringOptional

Overall section. General text colour

OverallGeneralTableReturnNoticeColourstringOptional

Overall section. General border colour

OverallGeneralBorderRadiusinteger · int32Optional

Overall section. General border radius

OverallGeneralFontstringOptional

Overall section. General font

OverallBookButtonColourstringOptional

Overall section. Book button colour

OverallBookButtonFontColourstringOptional

Overall section. Book button font colour

OverallMessageTextColourstringOptional

Overall section. Message text colour

OverallMessageBackgroundColourstringOptional

Overall section. Message background colour

BookingSummaryBackgroundColourstringOptional

Booking section. Summary background colour

BookingSummaryTextColourstringOptional

Booking section. Summary text colour

BookingSummaryBorderRadiusinteger · int32Optional

Booking section. Summary border radius

CalendarBackgroundColourstringOptional

Calendar section. Background colour

CalendarBorderColourstringOptional

Calendar section. Border colour

CalendarMonthDayTextColourstringOptional

Calendar section. Month day text colour

CalendarBorderRadiusinteger · int32Optional

Calendar section. Border radius

CalendarDayTextColourstringOptional

Calendar section. Day text colour

CalendarDayBackgroundColourstringOptional

Calendar section. Day background colour

CalendarDayBorderRadiusinteger · int32Optional

Calendar section. Day border colour

CalendarSelectedTextColourstringOptional

Calendar section. Selected text colour

CalendarSelectedBackgroundColourstringOptional

Calendar section. Selected background colour

PromoBoxBorderColourstringOptional

Promotion section. Border colour

PromoBoxBorderRadiusinteger · int32Optional

Promotion section. Border radius

PromoOptionBackgroundColourstringOptional

Promotion section. Option background colour

PromoOptionTextColourstringOptional

Promotion section. Option text colour

PromoOptionHoverBackgroundColourstringOptional

Promotion section. Option hover background colour

PromoOptionHoverTextColourstringOptional

Promotion section. Option hover text colour

PromoSelectedBackgroundColourstringOptional

Promotion section. Selected background colour

PromoSelectedTextColourstringOptional

Promotion section. Selected text colour

DropdownGeneralBackgroundColourstringOptional

Dropdown section. General background colour

DropdownGeneralTextColourstringOptional

Dropdown section. General text colour

DropdownGeneralValidationErrorColourstringOptional

Dropdown section. General validation error colour

DropdownGeneralPlaceholderColourstringOptional

Dropdown section. General placeholder colour

DropdownBorderColourstringOptional

Dropdown section. General border colour

DropdownBorderFocusColourstringOptional

Dropdown section. Border focus colour

DropdownBorderRadiusinteger · int32Optional

Dropdown section. Border radius

DropdownSelectedBackgroundColourstringOptional

Dropdown section. Selected background colour

DropdownSelectedTextColourstringOptional

Dropdown section.Selected text colour

CustomLogoUrlstringOptional

Custom logo url

get
/api/ConsumerApi/v1/Restaurant/{micrositeName}/WidgetThemeStyles/{themeId}
200

OK

Find restaurants by name

get
/api/ConsumerApi/v1/Restaurant/SearchNameAndAddress

Searches for restaurants whose name contains the specified text.

Authorizations
HTTPRequired

Bearer token using a JWT

Query parameters
searchTextstringRequired

The text to search for.

api-versionstringOptional
Responses
chevron-right
200

OK

Contains the search result.

NamestringOptional

The restaurant name.

MicrositeNamestringOptional

The microsite name.

AddressstringOptional

The restaurant address.

Latitudenumber · doubleOptional

The restaurant's Latitude.

Longitudenumber · doubleOptional

The restaurant's Longitude.

get
/api/ConsumerApi/v1/Restaurant/SearchNameAndAddress
200

OK

Get a widget theme's settings

get
/api/ConsumerApi/v1/Restaurant/{micrositeName}/WidgetThemeSettings/{themeId}

Gets behavioural settings for the widget

Authorizations
HTTPRequired

Bearer token using a JWT

Path parameters
micrositeNamestringRequired
themeIdinteger · int32Required
Query parameters
api-versionstringOptional
Responses
chevron-right
200

OK

Dto used for passing behavioural settings to the widget

MiniActionstringOptional

Stores behaviour of book button on mini widget

MiniActionDatastringOptional

Stores data for the behaviour of the book button on the mini widget

CssUrlstringOptional

Gets the URL to the custom CSS for the theme.

ShowDateOfBirthbooleanOptional

Whether or not to display the date of birth field.

ShowDateOfBirthYearbooleanOptional

Whether or not to display the date of birth year field.

DateOfBirthRequiredbooleanOptional

Whether or not the date of birth is required.

DateOfBirthDescriptionstringOptional

A description displayed below the date of birth field.

IsChildrenCoversShownbooleanOptional

Whether or not to show a seperate covers drop down for the number of children covers.

IsInfantsCoversShownbooleanOptional

Whether or not to show a seperate covers drop down for the number of infants covers.

CustomSuccessPageUrlstringOptional

An optional url for a custom success page to replace the default one.

FixedPromotionIdinteger · int32Optional

An optional id specifying a fixed promotion for the widget to use

ShowCustomerTitlebooleanOptional

Whether or not to show the customer title field

DivideTimeSlotsByServicebooleanOptional

Whether ot not to divide the time slots by service

ShowSmsMarketingOptionbooleanOptional

Whether or not to ask for permission to send marketing material via sms

ShowOptinCheckboxesbooleanOptional

Whether or not to show opt-in checkboxes

ShowPostcodeFieldbooleanOptional

Whether or not to show the postcode field

PostcodeRequiredbooleanOptional

Whether or not a postcode is required to make a booking

AllowAreaChoicebooleanOptional

Whether or not the diner can choose an area for their booking

IncludeAnyAreabooleanOptional

Whether or not the list of areas should include an 'Any Area' option

ChannelCodestringOptional

The channel code that the widget theme uses

ShowTelephoneNumberFieldbooleanOptional

Whether to show the telephone number field.

ShowMobileNumberFieldbooleanOptional

Whether to show the mobile number field.

ShowCompanyFieldbooleanOptional

Whether to show the company field.

ShowMembershipIdFieldbooleanOptional

Whether to show the membership number field.

MembershipIdTitlestringOptional

Membership ID field placeholder value

IsMembershipIdRequiredbooleanOptional

Whether Membership ID is required

ShowRoomNumberFieldbooleanOptional

Whether to show the room number field.

SkipPromotionsScreenbooleanOptional

Whether or not to the promotions screen should be skipped

DropdownGeneralTextColourstringOptional

The dropdown text colour. This has to be passed so it can set on the stripe elements via javascript

DropdownGeneralValidationErrorColourstringOptional

The dropdown invalid text colour. This has to be passed so it can set on the stripe elements via javascript

DropdownGeneralPlaceholderColourstringOptional

The dropdown placeholder text colour. This has to be passed so it can set on the stripe elements via javascript

IsGroupWidgetbooleanOptional

Whether or not this theme is for a group widget.

IsCrossSellWidgetbooleanOptional

Whether or not this theme is for a cross sell widget.

IsEventEnquiriesFeatureEnabledbooleanOptional

Indicates if the restaurant where the theme was created has the event enquiry feature enabled.

WidgetBookingTypestring · enumOptional

Indicates which the type of the widget theme

Possible values:
MarketingLevelstring · enumOptional

Indicates the marketing level. E.g VenueAndGroup, VenueOnly, GroupOnly

Possible values:
ContactDetailsTitlestringOptional

Text Title used for the contact details view

ThemeIdinteger · int32Optional

Optional Theme Id

WidgetTakeawaySettingstring · enumOptional

How the widget should behave with takeaway and reservation bookings

Possible values:
ShowHouseholdsFieldbooleanOptional

Whether or not to show the Households field

ShowRestaurantAddressbooleanOptional

Whether or not to show the restaurant address

ShowGroupingByCitybooleanOptional

Whether or not to show the grouping by city option

ShowOrderByClosestbooleanOptional

Whether or not to show the order by closest option

PrecheckVenueEmailOptinbooleanOptional

Whether or not to pre-check the venue email marketing optin checkbox

ShowCommentsFieldbooleanOptional

Whether to show the comments field.

get
/api/ConsumerApi/v1/Restaurant/{micrositeName}/WidgetThemeSettings/{themeId}
200

OK

Get a restaurant's summary

get
/api/ConsumerApi/v1/Restaurant/{micrositeName}/Summary

Gets a short summary of the restaurant's details.

Authorizations
HTTPRequired

Bearer token using a JWT

Path parameters
micrositeNamestringRequired

The microsite name.

Query parameters
numberOfReviewsinteger · int32Required

The number of reviews to include.

api-versionstringOptional
Responses
chevron-right
200

OK

NamestringOptional
AccessedNamestringOptional
FullAddressstringOptional
LogoUrlstringOptional
NumberOfReviewsinteger · int32Optional
AverageReviewScorenumber · doubleOptional
Distancenumber · doubleOptional
IncludesAvailabilitySearchResultsbooleanOptional
ExpertRankinginteger · int32Optional
IsFavouritebooleanOptional
CuisineTypesinteger · int32[]Optional
TownstringOptional
PricePointinteger · int32Optional
Longitudenumber · doubleOptional
Latitudenumber · doubleOptional
IsPointsParticipatingbooleanOptional
get
/api/ConsumerApi/v1/Restaurant/{micrositeName}/Summary
200

OK

Get booking setup information

get
/api/ConsumerApi/v1/Restaurant/{micrositeName}/Setup

Must be used for all online booking processes as it supplies key details about the restaurant setup that must be used to populate the UI of the online booking process for it to work properly. Must have values: MinOnlinePartySize, MaxOnlinePartySize, AcceptBookingsDaysInAdvance. NOTE: Restaurants can set their 'AcceptBookingsDaysInAdvance' setting to 'zero' which equates to infinity. This is returned via the API as a 'null' value which means that the diner has no limit on how far in advance they can book. Should have values: TermsAndConditions, PrivacyPolicy. Any restaurants processing payments must display Terms and Conditions however it is up to the integration partner as to whether they want to host their copy or take it dynamically from ResDiary. NOTE: Marketing Opt Ins are discussed in the Introduction section.

Authorizations
HTTPRequired

Bearer token using a JWT

Path parameters
micrositeNamestringRequired

The microsite name.

Query parameters
datestring · date-timeRequired

The date we are requesting the setup for

channelCodestringRequired

The channel code.

api-versionstringOptional
Responses
chevron-right
200

OK

Contains the basic settings for a restaurant.

RestaurantIdinteger · int32Optional

The restaurant's Id.

NamestringOptional

The name of the restaurant.

MaxOnlinePartySizeinteger · int32Optional

The maximum party size (covers) for an online booking.

MinOnlinePartySizeinteger · int32Optional

The minimum party size (covers) for an online booking.

OnlinePartySizeDefaultinteger · int32Optional

The default party size (covers) for an online booking.

IsMembershipIdEnabledbooleanOptional

true if the restaurant supports membership Ids, false otherwise.

IsMembershipIdRequiredbooleanOptional

true if the restaurant requires membership Ids when making bookings, false otherwise.

MembershipIdTitlestringOptional

The name of the membership Id field.

NoAvailabilityTextstringOptional

The text to display if the restaurant has no availability.

DisplayPhoneNumberWhenNoAvailabilitybooleanOptional

true if the restaurant's phone number should be displayed when there is no availability.

ReservationPhoneNumberstringOptional

The phone number to call to make bookings.

CurrencySymbolstringOptional

The currency symbol for the restaurant.

CurrencyCodestringOptional

The currency code for the restaurant.

TimeZoneNamestringOptional

The name of the time zone the restaurant is in.

CultureNamestringOptional

The name of the culture the restaurant uses.

TermsAndConditionsstringOptional

The terms and conditions for making bookings (formatted in a HTML String).

PrivacyPolicystringOptional

The privacy policy for the restaurant (formatted in a HTML String).

AcceptBookingsDaysInAdvanceinteger · int32Optional

The number of days in advance that the restaurant accepts bookings.

OnlineBookingCutOffstring · enumOptional

The type of Cut-off to be applied to bookings

Possible values:
MinTimeBeforeOnlineCutOffinteger · int32Optional

The number of minutes before Service or Visit that the cut-off is applied. 0 means no cut-off applies

MaximumFunctionPartySizeinteger · int32Optional

The maximum party size (covers) for a function.

AcceptFunctionEnquiriesDaysInAdvanceinteger · int32Optional

The number of days in advance that the restaurant accepts function enquiries.

AcceptStandbyFunctionEnquiriesbooleanOptional

Whether the restaurant allows standby function enquiries.

AcceptStandbyBookingsbooleanOptional

Whether the restaurant allows customers to add themselves to the standby list.

CountryCodestringOptional

Gets or sets countryCode for phone numbers

Iso2CountryCodestringOptional

The ISO 2 letter code for the restaurant's country. Note that this can currently be null because a restaurant can technically set their country to one that doesn't exist.

RestaurantGroupNamestringOptional

The Restaurant Group Name

RestaurantRemoteGroupIdstringOptional

The Restaurant Remote Group Id

IsGroupRestaurantbooleanOptional

Whether the restaurant is part of a group of more than one restaurant

IsIndividualVenueMarketingEnabledbooleanOptional

Whether provider marketing is enabled

IsGroupMarketingEnabledbooleanOptional

Whether group marketing is enabled

GroupMarketingDisplayNamestringOptional

The name the provider has chosen to display to their group marketing prefernces

IsTakeawayEnabledbooleanOptional

Whether the restuarant has any active takeaway promotions

IsPointsParticipatingbooleanOptional

True if this restaurant partakes in the Loyalty Program

get
/api/ConsumerApi/v1/Restaurant/{micrositeName}/Setup
200

OK

List customer reviews

get
/api/ConsumerApi/v1/Restaurant/{micrositeName}/Reviews

Gets the reviews for the restaurant.

Authorizations
HTTPRequired

Bearer token using a JWT

Path parameters
micrositeNamestringRequired

The microsite name of the restaurant.

Query parameters
sortBystring · enumRequired

The order to sort the reviews in.

Possible values:
pageinteger · int32Optional

The page number.

pageSizeinteger · int32Optional

The number of reviews per page.

api-versionstringOptional
Responses
chevron-right
200

OK

TotalRowsinteger · int32Optional
PageNumberinteger · int32Optional
TotalPagesinteger · int32Optional
PreviousUrlstringOptional
NextUrlstringOptional
get
/api/ConsumerApi/v1/Restaurant/{micrositeName}/Reviews
200

OK

List cancellation reasons

get
/api/ConsumerApi/v1/Restaurant/{micrositeName}/CancellationReasons

Gets cancellation reasons for this restaurant

Authorizations
HTTPRequired

Bearer token using a JWT

Path parameters
micrositeNamestringRequired

The microsite name.

Query parameters
onlyEnabledReasonsbooleanOptional

Optionally indicates whether to only get enabled cancellation reasons.

api-versionstringOptional
Responses
chevron-right
200

OK

Cancellation Reason

Idinteger · int32Optional

The Id of the reason.

DescriptionstringOptional

The description of the reason.

DoesBlockbooleanOptional

Does this reason cause the customer to be blocked?

Priorityinteger · int32Optional

The priority that this reason should be displayed in, where a lower number means a higher priority.

IsNoShowbooleanOptional

Is the booking being cancelled because the customer didn't turn up?

DisplayOnlinebooleanOptional

Indicates if the reason is visible to the ONLINE channels regardless of the type of booking

ApplyToStandardBookingsbooleanOptional

Indicates if the reason is visible when cancelling standard bookings

ApplyToFunctionBookingsbooleanOptional

Indicates if the reason is visible when cancelling function bookings

ApplyToW8ListBookingsbooleanOptional

Indicates if the reason is visible when cancelling w8list bookings

get
/api/ConsumerApi/v1/Restaurant/{micrositeName}/CancellationReasons
200

OK

Find restaurants by location with availability

get
/api/ConsumerApi/v1/Restaurant/SearchAvailabilityByDistance

Searches for restaurants near the specified location with availability in the supplied availability window and orders them based on their distance from the location.

Authorizations
HTTPRequired

Bearer token using a JWT

Query parameters
latnumber · doubleRequired

The latitude (required).

lonnumber · doubleRequired

The longitude (required).

visitDatestring · date-timeRequired

The visit date required (required).

visitTimestringRequired

The visit time required (required).

coversinteger · int32Required

The number of covers required (required).

pageinteger · int32Required

The page number (required).

pageSizeinteger · int32Required

The number of items per page (required).

visitTimeWindowinteger · int32Optional

The number of minutes either side of the visit time to look for availability.

radiusnumber · doubleOptional

The search radius in metres.

portalAccountIdinteger · int32Optional

The id of the user searching if authenticated

api-versionstringOptional
Responses
chevron-right
200

OK

TotalRowsinteger · int32Optional
PageNumberinteger · int32Optional
TotalPagesinteger · int32Optional
PreviousUrlstringOptional
NextUrlstringOptional
get
/api/ConsumerApi/v1/Restaurant/SearchAvailabilityByDistance
200

OK

Find microsites

get
/api/ConsumerApi/v1/MicrositeSummaryDetails

Gets microsite summary objects based on the parameters given.

Authorizations
HTTPRequired

Bearer token using a JWT

Query parameters
startDatestring · date-timeRequired

The start date

endDatestring · date-timeRequired

The end date.

channelCodesstring[]Required

The channel codes

micrositeNamesstring[]Required

The list of microsite names requiring microsite summaries

numberOfReviewsinteger · int32Required

The number of reviews required for each provider

api-versionstringOptional
Responses
chevron-right
200

OK

Contains the Microsite Summary Details.

NamestringOptional

The name of the restaurant.

AccessedNamestringOptional

The microsite name of the restaurant.

FullAddressstringOptional

The address of the restaurant.

Latitudenumber · doubleOptional

The restaurant's latitude co-ordinate

Longitudenumber · doubleOptional

The restaurant's longitude co-ordinate

PricePointinteger · int32Optional

The restaurant's price point if set.

LogoUrlstringOptional

The logo Url.

NumberOfReviewsinteger · int32Optional

The number of reviews.

AverageReviewScorenumber · doubleOptional

The average review score.

AvailablePromotionsinteger · int32[]Optional

The available promotions

get
/api/ConsumerApi/v1/MicrositeSummaryDetails
200

OK

Find restaurants with availability by name

get
/api/ConsumerApi/v1/Restaurant/SearchAvailabilityByName

Searches for restaurants matching a collection of names

Authorizations
HTTPRequired

Bearer token using a JWT

Query parameters
namesstringRequired

A collection of restaurant names to match (required).

visitDatestring · date-timeRequired

The visit date required (required).

visitTimestringRequired

The visit time required (required).

coversinteger · int32Required

The number of covers required (required).

pageinteger · int32Optional

The page number.

pageSizeinteger · int32Optional

The number of items per page.

visitTimeWindowinteger · int32Optional

the number of minutes before and after the visit time to search

includeAllPagesbooleanOptional

Indicates whether all the pages up to {page} should be returned, or just that page.

promotionTypesCodesstringOptional

An optional list of promotion types to filter the availability by.

mustIncludeAllPromotionTypesbooleanOptional

Indicates if all promotion types passed in must be included in the time slot's promotion in order to be considered as valid availability. Requires at least one promotion type to be passed in to be used.

cuisineTypesstringOptional

An optional list of cuisine types to filter the restaurants by.

api-versionstringOptional
Responses
chevron-right
200

OK

TotalRowsinteger · int32Optional
PageNumberinteger · int32Optional
TotalPagesinteger · int32Optional
PreviousUrlstringOptional
NextUrlstringOptional
get
/api/ConsumerApi/v1/Restaurant/SearchAvailabilityByName
200

OK

Find restaurants by availability

get
/api/ConsumerApi/v1/Restaurant/SearchAvailability

Searches for restaurants near the specified location and orders them based on their availability.

Authorizations
HTTPRequired

Bearer token using a JWT

Query parameters
latnumber · doubleRequired

The latitude (required).

lonnumber · doubleRequired

The longitude (required).

visitDatestring · date-timeRequired

The visit date required (required).

visitTimestringRequired

The visit time required (required).

coversinteger · int32Required

The number of covers required (required).

radiusnumber · doubleOptional

The search radius in metres.

pageinteger · int32Optional

The page number.

pageSizeinteger · int32Optional

The number of items per page.

visitTimeWindowinteger · int32Optional
includeAllPagesbooleanOptional

Indicates whether all the pages up to {page} should be returned, or just that page.

portalAccountIdinteger · int32Optional

The id of the user searching if authenticated

promotionTypesCodesstringOptional

An optional list of promotion types to filter the availability by.

mustIncludeAllPromotionTypesbooleanOptional

Indicates if all promotion types passed in must be included in the time slot's promotion in order to be considered as valid availability. Requires at least one promotion type to be passed in to be used.

cuisineTypesstringOptional

An optional list of cuisine types to filter the restaurants by.

selectedSortOrderinteger · int32Optional

The preferred sort order, ie, availability, price or review rating.

api-versionstringOptional
Responses
chevron-right
200

OK

TotalRowsinteger · int32Optional
PageNumberinteger · int32Optional
TotalPagesinteger · int32Optional
PreviousUrlstringOptional
NextUrlstringOptional
get
/api/ConsumerApi/v1/Restaurant/SearchAvailability
200

OK

get
/api/ConsumerApi/v1/Restaurant/Search

Searches for restaurants near the specified location.

Authorizations
HTTPRequired

Bearer token using a JWT

Query parameters
latnumber · doubleRequired

The latitude (required).

lonnumber · doubleRequired

The longitude (required).

sortOrderstring · enumRequired

The order to return the results (required).

Possible values:
visitDatestring · date-timeOptional
visitTimestringOptional
coversinteger · int32Optional
radiusnumber · doubleOptional

The search radius in metres.

pageinteger · int32Optional

The page number.

pageSizeinteger · int32Optional

The number of items per page.

visitTimeWindowinteger · int32Optional
includeAllPagesbooleanOptional

Indicates whether all the pages up to {page} should be returned, or just that page.

prioritiseBookablebooleanOptional

Whether to prioritise restaurants that are bookable via the API

portalAccountIdinteger · int32Optional

The id of the user searching if authenticated

promotionTypesCodesstringOptional

An optional list of promotion types to filter the availability by.

mustIncludeAllPromotionTypesbooleanOptional

Indicates if all promotion types passed in must be included in the time slot's promotion in order to be considered as valid availability. Requires at least one promotion type to be passed in to be used.

cuisineTypesstringOptional

An optional list of cuisine types to filter the restaurants by.

selectedSortOrderinteger · int32Optional
api-versionstringOptional
Responses
chevron-right
200

OK

TotalRowsinteger · int32Optional
PageNumberinteger · int32Optional
TotalPagesinteger · int32Optional
PreviousUrlstringOptional
NextUrlstringOptional
get
/api/ConsumerApi/v1/Restaurant/Search
200

OK

Dictionary of existing microsites by POST

post
/api/Microsite/Exist

Takes a list of microsites and returns a dictionary with if they exist or not

Authorizations
HTTPRequired

Bearer token using a JWT

Query parameters
api-versionstringOptional
Bodystring[]
string[]Optional
Responses
chevron-right
200

OK

Other propertiesbooleanOptional
post
/api/Microsite/Exist
200

OK

Report a review

post
/api/ConsumerApi/v1/Restaurant/{micrositeName}/Reviews/{reviewId}/Report

Reports an issue with the specified review.

Authorizations
HTTPRequired

Bearer token using a JWT

Path parameters
micrositeNamestringRequired

The microsite name.

reviewIdstring · uuidRequired

The review Id.

Query parameters
flagTypestring · enumRequired

The flag type.

Possible values:
commentstringRequired

The reason the review is being reported.

ipAddressstringRequired

The IP address of the reporter.

api-versionstringOptional
Responses
chevron-right
200

OK

string · enumOptionalPossible values:
post
/api/ConsumerApi/v1/Restaurant/{micrositeName}/Reviews/{reviewId}/Report
200

OK

Last updated

Was this helpful?