POST SingaporeAir/GetSearchResult

Request Information

URI Parameters

None.

Body Parameters

ArSearchRequest
NameDescriptionTypeAdditional information
BaseURL

string

None.

TerminalId

string

None.

AirlineClass

string

None.

dealcode

string

None.

promocode

string

None.

VoucherCodelist

Collection of cls_tour_code

None.

Source

string

None.

destination

string

None.

SourceTimezone

string

None.

destinationTimezone

string

None.

Depdate

date

None.

Retundate

date

None.

travel_type

character

None.

trip

character

None.

isSpl

boolean

None.

SupplierId

integer

None.

SupplierName

string

None.

SupplierCode

string

None.

Credential

Collection of string

None.

addhour

integer

None.

OfficeId

string

None.

Adult

integer

None.

Child

integer

None.

Infant

integer

None.

AgentId

integer

None.

fareModifiers

FareModifierDetails

None.

airdata

Cls_JsonAirline

None.

agentmarkup

Collection of cls_agent_markup

None.

IsDefaultMainAgent

boolean

None.

FareType

Collection of string

None.

ProductClass

Collection of string

None.

IpAddress

string

None.

BrowserAgent

string

None.

BaggageList

Collection of AirlineBaggage

None.

OnwaySearchWaitTime

string

None.

RoundTripSearchWaitTime

string

None.

WalletPoints

Collection of WalletPoints

None.

Count

integer

None.

GUID

string

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'PortalEntity.Model.Cls_JsonAirline'. Path 'airdata.people'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'PortalEntity.Model.Cls_JsonAirline'. Path 'airdata.people'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'PortalEntity.Model.Cls_JsonAirline' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'PortalEntity.Model.Cls_JsonAirline' contains cycles and cannot be serialized if reference tracking is disabled.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ArSearchRequest'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.