POST api/b2c/excursion/{id}/dates

Gets a list of available dates and capacity.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The excursion id as an integer.

integer

Required

Body Parameters

An instance of the ExcursionAvailableDatesRequestDTO.

Cyberlogic.eTourism.Mappings.Web.Dto.Excursions.ExcursionAvailableDatesRequestDTO
NameDescriptionTypeAdditional information
DateFrom

string

None.

DateTo

string

None.

CustomerId

integer

None.

TariffId

integer

None.

SpokenLanguageId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DateFrom": "sample string 1",
  "DateTo": "sample string 2",
  "CustomerId": 3,
  "TariffId": 4,
  "SpokenLanguageId": 5
}

text/html

Sample:
{"DateFrom":"sample string 1","DateTo":"sample string 2","CustomerId":3,"TariffId":4,"SpokenLanguageId":5}

application/xml, text/xml

Sample:
<ExcursionAvailableDatesRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Web.Dto.Excursions">
  <CustomerId>3</CustomerId>
  <DateFrom>sample string 1</DateFrom>
  <DateTo>sample string 2</DateTo>
  <SpokenLanguageId>5</SpokenLanguageId>
  <TariffId>4</TariffId>
</ExcursionAvailableDatesRequestDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

A an ExcursionAvailabilityViewModel.

Collection of Object

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.