POST api/OnSaleThemed/Choices
Returns the list of valid choices for making subsequent calls, such as valid themes, valid deal types, valid sorts, etc.
Request Information
URI Parameters
None.
Body Parameters
OnSaleThemedValidChoicesRequest contains list of vendors.
OnSaleThemedValidChoicesRequestName | Description | Type | Additional information |
---|---|---|---|
Vendors |
List of the 3 character code Vendor codes to get OnSale data. |
Collection of string |
Required |
Request Formats
application/json, text/json
Sample:
{ "Vendors": [ "sample string 1", "sample string 2" ] }
text/xml
Sample:
<OnSaleThemedValidChoicesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Trisept.UI.WebApi.VAXAgentApi.Models"> <Vendors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Vendors> </OnSaleThemedValidChoicesRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OnSaleThemedValidChoicesResponse
OnSaleThemedValidChoicesResponseName | Description | Type | Additional information |
---|---|---|---|
ValidHotelRatings | Collection of OnSaleChoice |
None. |
|
ValidSortTypes | Collection of OnSaleChoice |
None. |
|
ValidThemes | Collection of OnSaleChoice |
None. |
|
Currency | string |
None. |
|
ValidDealTypes | Collection of OnSaleChoice |
None. |
|
Vendors | Collection of string |
None. |
|
ValidDates | Collection of MaxDealTravelDate |
None. |
|
ValidTripAdvisorRatings | Collection of OnSaleChoice |
None. |
|
Timing | Timings |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
text/xml
Sample:
Sample not available.