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

GetBookingCart.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lang

string

Required

currency

string

Default value is ISK

wp

string

Default value is GG

version

The requested API version

string

Required

Default value is 1.0

Body Parameters

None.

Response Information

Resource Description

ValueTupleOfBookingCartDtoAndInt32
NameDescriptionTypeAdditional information
Item1

BookingCartDto

None.

Item2

integer

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'Adventures.WidgetAPI.Core.Models.Widget.WidgetPriceByItem'. Path 'Item1.tourBookingCart.activityBookings[0].ratePrices.pricePerCategoryUnit[0].prices'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'Adventures.WidgetAPI.Core.Models.Widget.WidgetPriceByItem'. Path 'Item1.tourBookingCart.activityBookings[0].ratePrices.pricePerCategoryUnit[0].prices'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'Adventures.WidgetAPI.Core.Models.Widget.WidgetPriceByItem' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'Adventures.WidgetAPI.Core.Models.Widget.WidgetPriceByItem' contains cycles and cannot be serialized if reference tracking is disabled.