POST api/Search/SearchByDeeplink

Request Information

URI Parameters

None.

Body Parameters

FPDeeplinkSearchRQ
NameDescriptionTypeAdditional information
DeeplinkRequestDetails

DeeplinkSearchRQ

None.

SoapAuthentication

SoapAuthentication

None.

Request Formats

application/json, text/json

Sample:
{
  "DeeplinkRequestDetails": {
    "Wuid": "sample string 1",
    "CntKey": "sample string 2",
    "ContractId": 3,
    "SearchResponseVersion": 0
  },
  "SoapAuthentication": {
    "UserName": "sample string 1",
    "Password": "sample string 2"
  }
}

text/html

Sample:
{"DeeplinkRequestDetails":{"Wuid":"sample string 1","CntKey":"sample string 2","ContractId":3,"SearchResponseVersion":0},"SoapAuthentication":{"UserName":"sample string 1","Password":"sample string 2"}}

application/xml, text/xml

Sample:
<FPDeeplinkSearchRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FPWebBox.BusinessObjects">
  <DeeplinkRequestDetails>
    <CntKey>sample string 2</CntKey>
    <ContractId>3</ContractId>
    <SearchResponseVersion>NONE</SearchResponseVersion>
    <Wuid>sample string 1</Wuid>
  </DeeplinkRequestDetails>
  <SoapAuthentication>
    <Password>sample string 2</Password>
    <UserName>sample string 1</UserName>
  </SoapAuthentication>
</FPDeeplinkSearchRQ>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DeeplinkSearchRS
NameDescriptionTypeAdditional information
ResponseXML

string

None.

SearchDetails

DeepLinkFlightSearchRequest

None.

DoNewSearch

boolean

None.

ErrorCode

string

None.

ErrorAtNode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseXML": "sample string 1",
  "SearchDetails": {
    "Adults": 64,
    "Child": 64,
    "Seniors": 64,
    "InfantInLap": 64,
    "InfantOnSeat": 64,
    "Youths": 64,
    "SearchAlternateDates": true,
    "TypeOfTrip": 0,
    "ClassOfService": 0,
    "SegmentDetails": [
      {
        "Origin": "sample string 1",
        "Destination": "sample string 2",
        "DepartureDate": "2018-05-24T21:16:00.3065156-04:00",
        "DepartureTime": "sample string 4",
        "SearchWithTimePreference": true
      },
      {
        "Origin": "sample string 1",
        "Destination": "sample string 2",
        "DepartureDate": "2018-05-24T21:16:00.3065156-04:00",
        "DepartureTime": "sample string 4",
        "SearchWithTimePreference": true
      }
    ]
  },
  "DoNewSearch": true,
  "ErrorCode": "sample string 3",
  "ErrorAtNode": "sample string 4"
}

text/html

Sample:
{"ResponseXML":"sample string 1","SearchDetails":{"Adults":64,"Child":64,"Seniors":64,"InfantInLap":64,"InfantOnSeat":64,"Youths":64,"SearchAlternateDates":true,"TypeOfTrip":0,"ClassOfService":0,"SegmentDetails":[{"Origin":"sample string 1","Destination":"sample string 2","DepartureDate":"2018-05-24T21:16:00.3065156-04:00","DepartureTime":"sample string 4","SearchWithTimePreference":true},{"Origin":"sample string 1","Destination":"sample string 2","DepartureDate":"2018-05-24T21:16:00.3065156-04:00","DepartureTime":"sample string 4","SearchWithTimePreference":true}]},"DoNewSearch":true,"ErrorCode":"sample string 3","ErrorAtNode":"sample string 4"}

application/xml, text/xml

Sample:
<DeeplinkSearchRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FPWebBox.BusinessObjects">
  <DoNewSearch>true</DoNewSearch>
  <ErrorAtNode>sample string 4</ErrorAtNode>
  <ErrorCode>sample string 3</ErrorCode>
  <ResponseXML>sample string 1</ResponseXML>
  <SearchDetails>
    <Adults>64</Adults>
    <Child>64</Child>
    <ClassOfService>ALL</ClassOfService>
    <InfantInLap>64</InfantInLap>
    <InfantOnSeat>64</InfantOnSeat>
    <SearchAlternateDates>true</SearchAlternateDates>
    <SegmentDetails>
      <FlightSegmentDetails>
        <DepartureDate>2018-05-24T21:16:00.3065156-04:00</DepartureDate>
        <DepartureTime>sample string 4</DepartureTime>
        <Destination>sample string 2</Destination>
        <Origin>sample string 1</Origin>
        <SearchWithTimePreference>true</SearchWithTimePreference>
      </FlightSegmentDetails>
      <FlightSegmentDetails>
        <DepartureDate>2018-05-24T21:16:00.3065156-04:00</DepartureDate>
        <DepartureTime>sample string 4</DepartureTime>
        <Destination>sample string 2</Destination>
        <Origin>sample string 1</Origin>
        <SearchWithTimePreference>true</SearchWithTimePreference>
      </FlightSegmentDetails>
    </SegmentDetails>
    <Seniors>64</Seniors>
    <TypeOfTrip>ONEWAYTRIP</TypeOfTrip>
    <Youths>64</Youths>
  </SearchDetails>
</DeeplinkSearchRS>