POST v1/Flight/CalendarFare

Request Information

URI Parameters

None.

Body Parameters

BrandedFareRequest
NameDescriptionTypeAdditional information
TripType

TripType

None.

ListOfDepartureArrivaldetails

Collection of DepartureArrival

None.

AdultCount

integer

None.

ChildCount

integer

None.

FlightCount

integer

None.

InfantCount

integer

None.

MaxConnection

string

None.

ExcludeAirLineCode

Collection of IncluseAirLine

None.

IncludeAirLineCode

Collection of IncluseAirLine

None.

IncludeFullyRefundableFare

boolean

None.

CabinPrefrence

CabinPref

None.

Vuserid

string

None.

PccCode

string

None.

UserId

integer

None.

AccountID

string

None.

UserName

string

None.

ApplicationDomain

ApplicationDomain

None.

guid

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TripType": 1,
  "ListOfDepartureArrivaldetails": [
    {
      "DepartureAirport": "sample string 1",
      "ArrivalAirport": "sample string 2",
      "DepartureDate": "2025-06-20T17:22:35.3838918+00:00",
      "ReturnDate": "2025-06-20T17:22:35.3838918+00:00",
      "DepartureWindow": "sample string 5",
      "ArrivalWindow": "sample string 6",
      "ViaAirport": {
        "AirportCode": "sample string 1",
        "PreferLevel": 0
      },
      "FlightNumber": "sample string 7",
      "MarketingAirLineCode": "sample string 8",
      "OperatingAirLineCode": "sample string 9"
    },
    {
      "DepartureAirport": "sample string 1",
      "ArrivalAirport": "sample string 2",
      "DepartureDate": "2025-06-20T17:22:35.3838918+00:00",
      "ReturnDate": "2025-06-20T17:22:35.3838918+00:00",
      "DepartureWindow": "sample string 5",
      "ArrivalWindow": "sample string 6",
      "ViaAirport": {
        "AirportCode": "sample string 1",
        "PreferLevel": 0
      },
      "FlightNumber": "sample string 7",
      "MarketingAirLineCode": "sample string 8",
      "OperatingAirLineCode": "sample string 9"
    }
  ],
  "AdultCount": 1,
  "ChildCount": 2,
  "FlightCount": 3,
  "InfantCount": 4,
  "MaxConnection": "sample string 5",
  "ExcludeAirLineCode": [
    {
      "AirLineCode": "sample string 1",
      "PreferLevel": 0
    },
    {
      "AirLineCode": "sample string 1",
      "PreferLevel": 0
    }
  ],
  "IncludeAirLineCode": [
    {
      "AirLineCode": "sample string 1",
      "PreferLevel": 0
    },
    {
      "AirLineCode": "sample string 1",
      "PreferLevel": 0
    }
  ],
  "IncludeFullyRefundableFare": true,
  "CabinPrefrence": {
    "CabinCode": "sample string 1",
    "PreferLevel": 0
  },
  "Vuserid": "sample string 7",
  "PccCode": "sample string 8",
  "UserId": 9,
  "AccountID": "sample string 10",
  "UserName": "sample string 11",
  "ApplicationDomain": 0,
  "guid": "sample string 12"
}

application/xml, text/xml

Sample:
<BrandedFareRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model.Flight">
  <AccountID xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 10</AccountID>
  <ApplicationDomain xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">GTL</ApplicationDomain>
  <PccCode xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 8</PccCode>
  <UserId xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">9</UserId>
  <UserName xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 11</UserName>
  <Vuserid xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 7</Vuserid>
  <guid xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 12</guid>
  <AdultCount>1</AdultCount>
  <CabinPrefrence>
    <CabinCode>sample string 1</CabinCode>
    <PreferLevel>Only</PreferLevel>
  </CabinPrefrence>
  <ChildCount>2</ChildCount>
  <ExcludeAirLineCode>
    <IncluseAirLine>
      <AirLineCode>sample string 1</AirLineCode>
      <PreferLevel>Only</PreferLevel>
    </IncluseAirLine>
    <IncluseAirLine>
      <AirLineCode>sample string 1</AirLineCode>
      <PreferLevel>Only</PreferLevel>
    </IncluseAirLine>
  </ExcludeAirLineCode>
  <FlightCount>3</FlightCount>
  <IncludeAirLineCode>
    <IncluseAirLine>
      <AirLineCode>sample string 1</AirLineCode>
      <PreferLevel>Only</PreferLevel>
    </IncluseAirLine>
    <IncluseAirLine>
      <AirLineCode>sample string 1</AirLineCode>
      <PreferLevel>Only</PreferLevel>
    </IncluseAirLine>
  </IncludeAirLineCode>
  <IncludeFullyRefundableFare>true</IncludeFullyRefundableFare>
  <InfantCount>4</InfantCount>
  <ListOfDepartureArrivaldetails>
    <DepartureArrival>
      <ArrivalAirport>sample string 2</ArrivalAirport>
      <ArrivalWindow>sample string 6</ArrivalWindow>
      <DepartureAirport>sample string 1</DepartureAirport>
      <DepartureDate>2025-06-20T17:22:35.3838918+00:00</DepartureDate>
      <DepartureWindow>sample string 5</DepartureWindow>
      <FlightNumber>sample string 7</FlightNumber>
      <MarketingAirLineCode>sample string 8</MarketingAirLineCode>
      <OperatingAirLineCode>sample string 9</OperatingAirLineCode>
      <ReturnDate>2025-06-20T17:22:35.3838918+00:00</ReturnDate>
      <ViaAirport>
        <AirportCode>sample string 1</AirportCode>
        <PreferLevel>Only</PreferLevel>
      </ViaAirport>
    </DepartureArrival>
    <DepartureArrival>
      <ArrivalAirport>sample string 2</ArrivalAirport>
      <ArrivalWindow>sample string 6</ArrivalWindow>
      <DepartureAirport>sample string 1</DepartureAirport>
      <DepartureDate>2025-06-20T17:22:35.3838918+00:00</DepartureDate>
      <DepartureWindow>sample string 5</DepartureWindow>
      <FlightNumber>sample string 7</FlightNumber>
      <MarketingAirLineCode>sample string 8</MarketingAirLineCode>
      <OperatingAirLineCode>sample string 9</OperatingAirLineCode>
      <ReturnDate>2025-06-20T17:22:35.3838918+00:00</ReturnDate>
      <ViaAirport>
        <AirportCode>sample string 1</AirportCode>
        <PreferLevel>Only</PreferLevel>
      </ViaAirport>
    </DepartureArrival>
  </ListOfDepartureArrivaldetails>
  <MaxConnection>sample string 5</MaxConnection>
  <TripType>ONEWAY</TripType>
</BrandedFareRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />