POST api/v2/availableExcursions

Request Information

URI Parameters

None.

Body Parameters

Cyberlogic.eTourism.Domain.Models.Excursions.Dto.ExcursionRequestObjectDTO
NameDescriptionTypeAdditional information
TariffId

integer

None.

PickupPointId

integer

None.

CustomerId

integer

None.

DateFrom

string

None.

DateTo

string

None.

LanguageId

integer

None.

SellerId

integer

None.

Request Formats

application/json, text/json

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

text/html

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

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Cyberlogic.eTourism.Mappings.Mobile.Dto.Excursions.ExcursionDTO
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

TicketSupplierId

integer

None.

ImageUrl

string

None.

SetManualPrice

boolean

None.

Availability

Collection of Cyberlogic.eTourism.Mappings.Mobile.Dto.Excursions.AvailabilityDTO

None.

PickupTime

string

None.

HasTickets

boolean

None.

OrganizedByOurOffice

boolean

None.

ExcursionStationId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "TicketSupplierId": 3,
    "ImageUrl": "sample string 4",
    "SetManualPrice": true,
    "Availability": [
      {
        "Date": "sample string 1",
        "Available": true,
        "PriceAdults": 3.0,
        "PriceChildren": 4.0,
        "HasPrice": true,
        "CurrencyCode": "sample string 6"
      },
      {
        "Date": "sample string 1",
        "Available": true,
        "PriceAdults": 3.0,
        "PriceChildren": 4.0,
        "HasPrice": true,
        "CurrencyCode": "sample string 6"
      }
    ],
    "PickupTime": "sample string 6",
    "HasTickets": true,
    "OrganizedByOurOffice": true,
    "ExcursionStationId": 9
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "TicketSupplierId": 3,
    "ImageUrl": "sample string 4",
    "SetManualPrice": true,
    "Availability": [
      {
        "Date": "sample string 1",
        "Available": true,
        "PriceAdults": 3.0,
        "PriceChildren": 4.0,
        "HasPrice": true,
        "CurrencyCode": "sample string 6"
      },
      {
        "Date": "sample string 1",
        "Available": true,
        "PriceAdults": 3.0,
        "PriceChildren": 4.0,
        "HasPrice": true,
        "CurrencyCode": "sample string 6"
      }
    ],
    "PickupTime": "sample string 6",
    "HasTickets": true,
    "OrganizedByOurOffice": true,
    "ExcursionStationId": 9
  }
]

text/html

Sample:
[{"Id":1,"Name":"sample string 2","TicketSupplierId":3,"ImageUrl":"sample string 4","SetManualPrice":true,"Availability":[{"Date":"sample string 1","Available":true,"PriceAdults":3.0,"PriceChildren":4.0,"HasPrice":true,"CurrencyCode":"sample string 6"},{"Date":"sample string 1","Available":true,"PriceAdults":3.0,"PriceChildren":4.0,"HasPrice":true,"CurrencyCode":"sample string 6"}],"PickupTime":"sample string 6","HasTickets":true,"OrganizedByOurOffice":true,"ExcursionStationId":9},{"Id":1,"Name":"sample string 2","TicketSupplierId":3,"ImageUrl":"sample string 4","SetManualPrice":true,"Availability":[{"Date":"sample string 1","Available":true,"PriceAdults":3.0,"PriceChildren":4.0,"HasPrice":true,"CurrencyCode":"sample string 6"},{"Date":"sample string 1","Available":true,"PriceAdults":3.0,"PriceChildren":4.0,"HasPrice":true,"CurrencyCode":"sample string 6"}],"PickupTime":"sample string 6","HasTickets":true,"OrganizedByOurOffice":true,"ExcursionStationId":9}]

application/xml, text/xml

Sample:
<ArrayOfExcursionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Mobile.Dto.Excursions">
  <ExcursionDTO>
    <Availability>
      <AvailabilityDTO>
        <Available>true</Available>
        <CurrencyCode>sample string 6</CurrencyCode>
        <Date>sample string 1</Date>
        <HasPrice>true</HasPrice>
        <PriceAdults>3</PriceAdults>
        <PriceChildren>4</PriceChildren>
      </AvailabilityDTO>
      <AvailabilityDTO>
        <Available>true</Available>
        <CurrencyCode>sample string 6</CurrencyCode>
        <Date>sample string 1</Date>
        <HasPrice>true</HasPrice>
        <PriceAdults>3</PriceAdults>
        <PriceChildren>4</PriceChildren>
      </AvailabilityDTO>
    </Availability>
    <ExcursionStationId>9</ExcursionStationId>
    <HasTickets>true</HasTickets>
    <Id>1</Id>
    <ImageUrl>sample string 4</ImageUrl>
    <Name>sample string 2</Name>
    <OrganizedByOurOffice>true</OrganizedByOurOffice>
    <PickupTime>sample string 6</PickupTime>
    <SetManualPrice>true</SetManualPrice>
    <TicketSupplierId>3</TicketSupplierId>
  </ExcursionDTO>
  <ExcursionDTO>
    <Availability>
      <AvailabilityDTO>
        <Available>true</Available>
        <CurrencyCode>sample string 6</CurrencyCode>
        <Date>sample string 1</Date>
        <HasPrice>true</HasPrice>
        <PriceAdults>3</PriceAdults>
        <PriceChildren>4</PriceChildren>
      </AvailabilityDTO>
      <AvailabilityDTO>
        <Available>true</Available>
        <CurrencyCode>sample string 6</CurrencyCode>
        <Date>sample string 1</Date>
        <HasPrice>true</HasPrice>
        <PriceAdults>3</PriceAdults>
        <PriceChildren>4</PriceChildren>
      </AvailabilityDTO>
    </Availability>
    <ExcursionStationId>9</ExcursionStationId>
    <HasTickets>true</HasTickets>
    <Id>1</Id>
    <ImageUrl>sample string 4</ImageUrl>
    <Name>sample string 2</Name>
    <OrganizedByOurOffice>true</OrganizedByOurOffice>
    <PickupTime>sample string 6</PickupTime>
    <SetManualPrice>true</SetManualPrice>
    <TicketSupplierId>3</TicketSupplierId>
  </ExcursionDTO>
</ArrayOfExcursionDTO>