GET api/b2c/excursion/ticket

Returns a Ticket by UniqueIdentifier (Series, Number and SupplierId)

Request Information

URI Parameters

None.

Body Parameters

Cyberlogic.eTourism.Mappings.Web.Dto.Tickets.TicketByUniqueIdentifierRequestDTO
NameDescriptionTypeAdditional information
Series

string

None.

Number

string

None.

SupplierId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Series": "sample string 1",
  "Number": "sample string 2",
  "SupplierId": 3
}

text/html

Sample:
{"Series":"sample string 1","Number":"sample string 2","SupplierId":3}

application/xml, text/xml

Sample:
<TicketByUniqueIdentifierRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Web.Dto.Tickets">
  <Number>sample string 2</Number>
  <Series>sample string 1</Series>
  <SupplierId>3</SupplierId>
</TicketByUniqueIdentifierRequestDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

A ticketViewModels.

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"
}

text/html

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

application/xml, text/xml

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