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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

The requested API version

string

Required

Default value is 1.0

lang

string

None.

Body Parameters

CreateCartRequest
NameDescriptionTypeAdditional information
Currency

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Currency": "sample string 1"
}

application/xml, text/xml

Sample:
<CreateCartRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Adventures.WidgetAPI.Core.Models.CartDto">
  <Currency>sample string 1</Currency>
</CreateCartRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CreateCartResponse
NameDescriptionTypeAdditional information
Timeout

date

None.

BookingId

integer

None.

CartManagerId

integer

None.

BookingNumber

string

None.

SessionId

string

None.

TradeNo

string

None.

lang

string

None.

Response Formats

application/json, text/json

Sample:

Sample not available.