Settings

SettingsController.

APIDescription
GET v{version}/settings/AllCacheItems

AllCacheItems.

GET v{version}/settings/AllWebPortals

AllWebPortals.

GET v{version}/settings/AllCachingPolicies

AllCachingPolicies.

GET v{version}/settings/RefreshActivitiesCache?wp={wp}

RefreshActivitiesCache.

GET v{version}/settings/RefreshExtraImagesCache?wp={wp}

RefreshExtraImagesCache.

GET v{version}/settings/RefreshPickupPlacesCache?wp={wp}

RefreshPickupPlacesCache.

GET v{version}/settings/RefreshTranslationsCache?wp={wp}

RefreshTranslationsCache.

GET v{version}/settings/RefreshActivitiesAvailabilityCache?wp={wp}

RefreshActivityAvailabilitiesCache.

POST v{version}/settings/CachingPolicy

CachingPolicy.

Booking

Calls to the various bokun API methods. Uses the Swagger specification. F.x. GET /en/languages GET /en/activity/14560/start/2018-03-23/end/2018-04-28

APIDescription
GET v{version}/{lang}/GetTerms?wp={wp}

No documentation available.

GET v{version}/{lang}/Cancel2PayNowQRCode

No documentation available.

GET v{version}/{lang}/bookingCancellationPolicies

Returns cancellation cart item cancellation policies

GET v{version}/{lang}/bookingCart?currency={currency}&wp={wp}

GetBookingCart.

GET v{version}/{lang}/bookingCart/{paymentLinkGuid}?wp={wp}&currency={currency}

GetBookingCart.

GET v{version}/{lang}/PaypalData?accountType={accountType}&currency={currency}&wp={wp}

Get Paypal data.

GET v{version}/{lang}/preCreate?currency={currency}&wp={wp}&paymentProvider={paymentProvider}

No documentation available.

GET v{version}/{lang}/bookingTotal?currency={currency}&wp={wp}&isBorgunEnabled={isBorgunEnabled}

Final total retrieved on checkout page includes custom extras and promo codes

GET v{version}/{lang}/upgrade?activityId={activityId}&startTimeId={startTimeId}&trackingCode={trackingCode}&currency={currency}&wp={wp}&invsys={invsys}

No documentation available.

POST v{version}/{lang}/bookingRetry

Retries booking

POST v{version}/{lang}/removeAllTours

RemoveAllTours.

POST v{version}/{lang}/errorCheckoutEmail

Retries booking

POST v{version}/{lang}/Confirm2PayNowBooking

No documentation available.

POST v{version}/{lang}/edit?currency={currency}&wp={wp}

BookingEdit.

POST v{version}/{lang}/PaypalSubmit?currency={currency}&wp={wp}

Submit Paypal data.

POST v{version}/{lang}/bookingAnswers?currency={currency}&wp={wp}

Updates booking answers

POST v{version}/{lang}/informAboutPayment?currency={currency}&wp={wp}&test={test}

On PAY button click - log that an action is in motion.

POST v{version}/{lang}/updateAcceptsMarketingCartOption?acceptsMarketing={acceptsMarketing}

No documentation available.

POST v{version}/{lang}/confirmBooking?depositPayment={depositPayment}&currency={currency}&wp={wp}

Confirm booking.

POST v{version}/{lang}/checkoutByCreditCard?paymentProvider={paymentProvider}&currency={currency}&wp={wp}

Checkout. Complete checkout for a reserved booking. Request must include a cookie containing a previously reserved booking. Completes payment authorization for supplied CC.

POST v{version}/{lang}/add-activity?trackingCode={trackingCode}&currency={currency}&wp={wp}&invsys={invsys}

Add item to cart

POST v{version}/{lang}/CheckoutByCreditCardToken?paymentProvider={paymentProvider}&currency={currency}&wp={wp}

Checkout. Complete checkout for a reserved booking. Request must include a cookie containing a previously reserved booking. Completes payment authorization for supplied CC token.

DELETE v{version}/{lang}/abort/{bookingId}?currency={currency}&wp={wp}

Allow booker to abort his reserved booking

DELETE v{version}/{lang}/remove-activity/{activityBookingId}?currency={currency}&wp={wp}

Remove an activity from cart.

Currency

APIDescription
GET v{version}/{lang}/Currencies/getCurrencies

Get Currencies.

GET v{version}/{lang}/Currencies/updateCurrencies?password={password}

No documentation available.

Translations

Retrieves dictionary keys from umbraco project

APIDescription
GET v{version}/Translations?culture={culture}&wp={wp}

Get Translations.

PushNotification

Configure bokun.is to send push notifications to this controller on activity updates and changes.

APIDescription
GET v{version}/push/ProductUpdated?productId={productId}

Receives push notifications if configured in bokun.is. Refreshes all bokun data if called with productId default value.

GET v{version}/push/ProductListUpdated?productId={productId}

No documentation available.

GET v{version}/push/TagStructureUpdated?productId={productId}

No documentation available.

GET v{version}/push/ProductAvailabilityUpdated?productId={productId}

No documentation available.

POST v{version}/push/ProductUpdated?productId={productId}

Receives push notifications if configured in bokun.is. Refreshes all bokun data if called with productId default value.

POST v{version}/push/ProductListUpdated?productId={productId}

No documentation available.

POST v{version}/push/TagStructureUpdated?productId={productId}

No documentation available.

POST v{version}/push/ProductAvailabilityUpdated?productId={productId}

No documentation available.

Activity

Calls to the various bokun API methods. Uses the Swagger specification. F.x. GET /en/languages GET /en/activity/14560/start/2018-03-23/end/2018-04-28

APIDescription
GET v{version}/{lang}/activity/{id}?wp={wp}&invsys={invsys}

GetActivity. Single Activity - Detailed

GET v{version}/{lang}/activity/{id}/pickup-places?currency={currency}&wp={wp}&invsys={invsys}

GetActivityPickupPlaces

GET v{version}/{lang}/activity/{id}/pickupPlaceGroups?currency={currency}&wp={wp}&invsys={invsys}

GetActivityPickups

GET v{version}/{lang}/upcomingavailability/{id}?includeSoldOut={includeSoldOut}&currency={currency}&wp={wp}&count={count}&invsys={invsys}

Upcoming Availabilities.

GET v{version}/{lang}/activity/{id}/start/{startDate}/end/{endDate}?includeSoldOut={includeSoldOut}&currency={currency}&wp={wp}&invsys={invsys}

Search for availabilities for a given activity in the specified date range. GET /en/activity/14561/start/2018-03-23/end/2018-04-28

Adyen

APIDescription
GET v{version}/{lang}/adyen/HandleRedirects?redirectResult={redirectResult}

No documentation available.

POST v{version}/{lang}/adyen/sessions

No documentation available.

POST v{version}/{lang}/adyen/ConfirmBooking

No documentation available.

PaymentSetting

APIDescription
GET v{version}/{lang}/paymentSetting?wp={wp}&currency={currency}&isBorgunEnabled={isBorgunEnabled}

No documentation available.

Borgun3dSecure

APIDescription
GET v{version}/{lang}/borgun3dSecure?paymentProvider={paymentProvider}&token={token}&currency={currency}&wp={wp}&depositPayment={depositPayment}

No documentation available.

POST v{version}/{lang}/borgun3dSecure

No documentation available.

Hotel

APIDescription
GET v{version}/{lang}/Hotel/GetHotelsInfo?passengerCount={passengerCount}&dateFrom={dateFrom}&dateTo={dateTo}&hotelIdList[0]={hotelIdList[0]}&hotelIdList[1]={hotelIdList[1]}&currency={currency}&wp={wp}

Gets hotels info. Shows only hotels with full availability

POST v{version}/{lang}/Hotel/addToCart?currency={currency}&wp={wp}

Adds booking to cart

DELETE v{version}/{lang}/Hotel/removeFromCart?id={id}&currency={currency}&wp={wp}

Adds booking to cart

CartManager

APIDescription
POST v{version}/{lang}/validate-cart

No documentation available.

POST v{version}/{lang}/create-new-cart

No documentation available.

POST v{version}/{lang}/confirm-cart-manager-cart

No documentation available.

POST v{version}/{lang}/create-cart-from-cart-manager/{cartId}

No documentation available.

Stripe

APIDescription
POST v{version}/{lang}/stripe/confirmBooking

Confirms customer booking

POST v{version}/{lang}/stripe?currency={currency}&wp={wp}

No documentation available.

POST v{version}/{lang}/stripe/paymentIntent?currency={currency}&wp={wp}

Creates payment intent for stripe payment

Upsell

APIDescription
POST v{version}/{lang}/Upsell/RefreshUpsellContainers

No documentation available.

POST v{version}/{lang}/Upsell?currency={currency}&wp={wp}

No documentation available.

POST v{version}/{lang}/Upsell/ClearUpsellContainers?password={password}

No documentation available.

PromoCode

Handles communication with planner promo code api and stores result in aspNet session cart

APIDescription
POST v{version}/{lang}/PromoCode/apply?promoCode={promoCode}&currency={currency}&wp={wp}

Applies and confirms a promo code, reserving the promo code stock using hangfire. Updates the custom cart as well