GET api/b2c/excursion/tickets/available

Returns a list of tickets available to the seller

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

A list of TicketViewModels.

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

integer

None.

Series

string

None.

Number

string

None.

SupplierId

integer

None.

PrintType

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Series": "sample string 2",
    "Number": "sample string 3",
    "SupplierId": 4,
    "PrintType": "sample string 5"
  },
  {
    "Id": 1,
    "Series": "sample string 2",
    "Number": "sample string 3",
    "SupplierId": 4,
    "PrintType": "sample string 5"
  }
]

text/html

Sample:
[{"Id":1,"Series":"sample string 2","Number":"sample string 3","SupplierId":4,"PrintType":"sample string 5"},{"Id":1,"Series":"sample string 2","Number":"sample string 3","SupplierId":4,"PrintType":"sample string 5"}]

application/xml, text/xml

Sample:
<ArrayOfTicketViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Excursions">
  <TicketViewModel>
    <Id>1</Id>
    <Number>sample string 3</Number>
    <PrintType>sample string 5</PrintType>
    <Series>sample string 2</Series>
    <SupplierId>4</SupplierId>
  </TicketViewModel>
  <TicketViewModel>
    <Id>1</Id>
    <Number>sample string 3</Number>
    <PrintType>sample string 5</PrintType>
    <Series>sample string 2</Series>
    <SupplierId>4</SupplierId>
  </TicketViewModel>
</ArrayOfTicketViewModel>