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

Adds booking to cart

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

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

BookingCartDto
NameDescriptionTypeAdditional information
invSys

Inventory system

string

None.

tourBookingCart

Tours booking cart

ActivityCartDto

None.

accomodationBookingCart

Tours booking cart

AccomodationBookingCartModel

None.

depositSettings

Deposit settings

DepositSettingsDto

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 '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 '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 'System.Collections.Generic.List`1[[Adventures.WidgetAPI.Core.Models.Widget.WidgetPriceByItem, Adventures.WidgetAPI.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' 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 'System.Collections.Generic.List`1[[Adventures.WidgetAPI.Core.Models.Widget.WidgetPriceByItem, Adventures.WidgetAPI.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.