GET api/excursions/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

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
}

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}

application/xml, text/xml

Sample:
<ExcursionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Mobile.Dto.Excursions">
  <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>