POST api/b2c/excursion/datesPerLanguage

Gets a list of available dates and capacity per language.

Request Information

URI Parameters

None.

Body Parameters

An instance of the ExcursionAvailableDatesPerLanguageRequestDTO.

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

string

None.

DateTo

string

None.

CustomerId

integer

None.

TariffId

integer

None.

ExcursionId

integer

None.

SellerId

integer

None.

CouponCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DateFrom": "sample string 1",
  "DateTo": "sample string 2",
  "CustomerId": 3,
  "TariffId": 4,
  "ExcursionId": 5,
  "SellerId": 6,
  "CouponCode": "sample string 7"
}

text/html

Sample:
{"DateFrom":"sample string 1","DateTo":"sample string 2","CustomerId":3,"TariffId":4,"ExcursionId":5,"SellerId":6,"CouponCode":"sample string 7"}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

A an ExcursionAvailabilityPerLanguageViewModel.

Cyberlogic.eTourism.Domain.ViewModels.Excursions.ExcursionAvailabilityPerLanguageViewModel
NameDescriptionTypeAdditional information
Language

Cyberlogic.eTourism.Domain.ViewModels.Shared.LanguageViewModel

None.

Availability

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Language": {
    "Id": 1,
    "Name": "sample string 2",
    "InternetCode": "sample string 3"
  },
  "Availability": null
}

text/html

Sample:
{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Availability":null}

application/xml, text/xml

Sample:
<ExcursionAvailabilityPerLanguageViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Excursions">
  <Availability i:nil="true" />
  <Language xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:InternetCode>sample string 3</d2p1:InternetCode>
    <d2p1:Name>sample string 2</d2p1:Name>
  </Language>
</ExcursionAvailabilityPerLanguageViewModel>