POST api/b2c/excursions/featured

Gets a list of featured excursions.

Request Information

URI Parameters

None.

Body Parameters

An instance of the ExcursionSearchRequestDTO.

Cyberlogic.eTourism.Mappings.Web.Dto.Excursions.ExcursionFeaturedRequestDTO
NameDescriptionTypeAdditional information
CustomerId

integer

None.

TariffId

integer

None.

DescriptionLanguageId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "TariffId": 2,
  "DescriptionLanguageId": 3
}

text/html

Sample:
{"CustomerId":1,"TariffId":2,"DescriptionLanguageId":3}

application/xml, text/xml

Sample:
<ExcursionFeaturedRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Web.Dto.Excursions">
  <CustomerId>1</CustomerId>
  <DescriptionLanguageId>3</DescriptionLanguageId>
  <TariffId>2</TariffId>
</ExcursionFeaturedRequestDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

A list of ExcursionFeaturedViewModel objects.

Collection of Cyberlogic.eTourism.Domain.ViewModels.Excursions.ExcursionFeaturedViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Duration

string

None.

MainDescription

string

None.

PhotoUrl

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "Duration": "sample string 3",
    "MainDescription": "sample string 4",
    "PhotoUrl": "sample string 5"
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "Duration": "sample string 3",
    "MainDescription": "sample string 4",
    "PhotoUrl": "sample string 5"
  }
]

text/html

Sample:
[{"Id":1,"Name":"sample string 2","Duration":"sample string 3","MainDescription":"sample string 4","PhotoUrl":"sample string 5"},{"Id":1,"Name":"sample string 2","Duration":"sample string 3","MainDescription":"sample string 4","PhotoUrl":"sample string 5"}]

application/xml, text/xml

Sample:
<ArrayOfExcursionFeaturedViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Excursions">
  <ExcursionFeaturedViewModel>
    <Duration>sample string 3</Duration>
    <Id>1</Id>
    <MainDescription>sample string 4</MainDescription>
    <Name>sample string 2</Name>
    <PhotoUrl>sample string 5</PhotoUrl>
  </ExcursionFeaturedViewModel>
  <ExcursionFeaturedViewModel>
    <Duration>sample string 3</Duration>
    <Id>1</Id>
    <MainDescription>sample string 4</MainDescription>
    <Name>sample string 2</Name>
    <PhotoUrl>sample string 5</PhotoUrl>
  </ExcursionFeaturedViewModel>
</ArrayOfExcursionFeaturedViewModel>