POST AIR/api/app/Air/FareQuote?TraceId={TraceId}&ResultIndex={ResultIndex}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
TraceId | string |
Required |
|
ResultIndex | string |
Required |
Body Parameters
None.
Response Information
Resource Description
FareQuoteVMName | Description | Type | Additional information |
---|---|---|---|
Version | string |
None. |
|
StatusCode | integer |
None. |
|
Content | FareQuoteContent |
None. |
Response Formats
application/json, text/json
Sample:
{ "Version": "sample string 1", "StatusCode": 2, "Content": { "ResponseCode": 1, "Addinfo": { "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 2" }, "IsPriceChanged": true, "ResponseStatus": 2, "Results": { "ResultIndex": "sample string 1", "Source": 2, "IsLcc": true, "IsRefundable": true, "GstAllowed": true, "IsGstMandatory": true, "IsHoldAllowed": true, "AirlineRemark": "sample string 8", "Fare": { "Currency": "sample string 1", "BaseFare": 2.0, "Tax": 3.0, "TaxBreakup": [ { "Key": "sample string 1", "Value": 2.0 }, { "Key": "sample string 1", "Value": 2.0 } ], "YqTax": 4.0, "AdditionalTxnFeeOfrd": 5.0, "AdditionalTxnFeePub": 6.0, "PgCharge": 7.0, "OtherCharges": 8.0, "ChargeBu": [ { "Key": "sample string 1", "Value": 2.0 }, { "Key": "sample string 1", "Value": 2.0 } ], "Discount": 9.0, "PublishedFare": 10.0, "CommissionEarned": 11.0, "PlbEarned": 12.0, "IncentiveEarned": 13.0, "OfferedFare": 14.0, "TdsOnCommission": 15.0, "TdsOnPlb": 16.0, "TdsOnIncentive": 17.0, "ServiceFee": 18.0, "TotalBaggageCharges": 19.0, "TotalMealCharges": 20.0, "TotalSeatCharges": 21.0, "TotalSpecialServiceCharges": 22.0 }, "FareBreakdown": [ { "Currency": "sample string 1", "PassengerType": 2, "PassengerCount": 3, "BaseFare": 4.0, "Tax": 5.0, "YqTax": 6.0, "AdditionalTxnFeeOfrd": 7.0, "AdditionalTxnFeePub": 8.0, "PgCharge": 9.0 }, { "Currency": "sample string 1", "PassengerType": 2, "PassengerCount": 3, "BaseFare": 4.0, "Tax": 5.0, "YqTax": 6.0, "AdditionalTxnFeeOfrd": 7.0, "AdditionalTxnFeePub": 8.0, "PgCharge": 9.0 } ], "Segments": [ [ { "Baggage": "sample string 1", "CabinBaggage": "sample string 2", "TripIndicator": 3, "SegmentIndicator": 4, "Airline": { "AirlineCode": "sample string 1", "AirlineName": "sample string 2", "FlightNumber": "sample string 3", "FareClass": "sample string 4", "OperatingCarrier": "sample string 5" }, "NoOfSeatAvailable": 5, "Origin": { "Airport": { "AirportCode": "sample string 1", "AirportName": "sample string 2", "Terminal": "sample string 3", "CityCode": "sample string 4", "CityName": "sample string 5", "CountryCode": "sample string 6", "CountryName": "sample string 7" }, "DepTime": "2024-12-26T18:32:48.459588+05:30" }, "Destination": { "Airport": { "AirportCode": "sample string 1", "AirportName": "sample string 2", "Terminal": "sample string 3", "CityCode": "sample string 4", "CityName": "sample string 5", "CountryCode": "sample string 6", "CountryName": "sample string 7" }, "ArrTime": "2024-12-26T18:32:48.459588+05:30" }, "Availability": [ { "Class": "sample string 1", "Seats": "sample string 2" }, { "Class": "sample string 1", "Seats": "sample string 2" } ], "Duration": 6, "GroundTime": 7, "Mile": 8, "StopOver": true, "StopPoint": "sample string 10", "StopPointArrivalTime": "2024-12-26T18:32:48.459588+05:30", "StopPointDepartureTime": "2024-12-26T18:32:48.459588+05:30", "Craft": "sample string 11", "Remark": {}, "IsETicketEligible": true, "FlightStatus": "sample string 14", "Status": "sample string 15", "AccumulatedDuration": 1 }, { "Baggage": "sample string 1", "CabinBaggage": "sample string 2", "TripIndicator": 3, "SegmentIndicator": 4, "Airline": { "AirlineCode": "sample string 1", "AirlineName": "sample string 2", "FlightNumber": "sample string 3", "FareClass": "sample string 4", "OperatingCarrier": "sample string 5" }, "NoOfSeatAvailable": 5, "Origin": { "Airport": { "AirportCode": "sample string 1", "AirportName": "sample string 2", "Terminal": "sample string 3", "CityCode": "sample string 4", "CityName": "sample string 5", "CountryCode": "sample string 6", "CountryName": "sample string 7" }, "DepTime": "2024-12-26T18:32:48.459588+05:30" }, "Destination": { "Airport": { "AirportCode": "sample string 1", "AirportName": "sample string 2", "Terminal": "sample string 3", "CityCode": "sample string 4", "CityName": "sample string 5", "CountryCode": "sample string 6", "CountryName": "sample string 7" }, "ArrTime": "2024-12-26T18:32:48.459588+05:30" }, "Availability": [ { "Class": "sample string 1", "Seats": "sample string 2" }, { "Class": "sample string 1", "Seats": "sample string 2" } ], "Duration": 6, "GroundTime": 7, "Mile": 8, "StopOver": true, "StopPoint": "sample string 10", "StopPointArrivalTime": "2024-12-26T18:32:48.459588+05:30", "StopPointDepartureTime": "2024-12-26T18:32:48.459588+05:30", "Craft": "sample string 11", "Remark": {}, "IsETicketEligible": true, "FlightStatus": "sample string 14", "Status": "sample string 15", "AccumulatedDuration": 1 } ], [ { "Baggage": "sample string 1", "CabinBaggage": "sample string 2", "TripIndicator": 3, "SegmentIndicator": 4, "Airline": { "AirlineCode": "sample string 1", "AirlineName": "sample string 2", "FlightNumber": "sample string 3", "FareClass": "sample string 4", "OperatingCarrier": "sample string 5" }, "NoOfSeatAvailable": 5, "Origin": { "Airport": { "AirportCode": "sample string 1", "AirportName": "sample string 2", "Terminal": "sample string 3", "CityCode": "sample string 4", "CityName": "sample string 5", "CountryCode": "sample string 6", "CountryName": "sample string 7" }, "DepTime": "2024-12-26T18:32:48.459588+05:30" }, "Destination": { "Airport": { "AirportCode": "sample string 1", "AirportName": "sample string 2", "Terminal": "sample string 3", "CityCode": "sample string 4", "CityName": "sample string 5", "CountryCode": "sample string 6", "CountryName": "sample string 7" }, "ArrTime": "2024-12-26T18:32:48.459588+05:30" }, "Availability": [ { "Class": "sample string 1", "Seats": "sample string 2" }, { "Class": "sample string 1", "Seats": "sample string 2" } ], "Duration": 6, "GroundTime": 7, "Mile": 8, "StopOver": true, "StopPoint": "sample string 10", "StopPointArrivalTime": "2024-12-26T18:32:48.459588+05:30", "StopPointDepartureTime": "2024-12-26T18:32:48.459588+05:30", "Craft": "sample string 11", "Remark": {}, "IsETicketEligible": true, "FlightStatus": "sample string 14", "Status": "sample string 15", "AccumulatedDuration": 1 }, { "Baggage": "sample string 1", "CabinBaggage": "sample string 2", "TripIndicator": 3, "SegmentIndicator": 4, "Airline": { "AirlineCode": "sample string 1", "AirlineName": "sample string 2", "FlightNumber": "sample string 3", "FareClass": "sample string 4", "OperatingCarrier": "sample string 5" }, "NoOfSeatAvailable": 5, "Origin": { "Airport": { "AirportCode": "sample string 1", "AirportName": "sample string 2", "Terminal": "sample string 3", "CityCode": "sample string 4", "CityName": "sample string 5", "CountryCode": "sample string 6", "CountryName": "sample string 7" }, "DepTime": "2024-12-26T18:32:48.459588+05:30" }, "Destination": { "Airport": { "AirportCode": "sample string 1", "AirportName": "sample string 2", "Terminal": "sample string 3", "CityCode": "sample string 4", "CityName": "sample string 5", "CountryCode": "sample string 6", "CountryName": "sample string 7" }, "ArrTime": "2024-12-26T18:32:48.459588+05:30" }, "Availability": [ { "Class": "sample string 1", "Seats": "sample string 2" }, { "Class": "sample string 1", "Seats": "sample string 2" } ], "Duration": 6, "GroundTime": 7, "Mile": 8, "StopOver": true, "StopPoint": "sample string 10", "StopPointArrivalTime": "2024-12-26T18:32:48.459588+05:30", "StopPointDepartureTime": "2024-12-26T18:32:48.459588+05:30", "Craft": "sample string 11", "Remark": {}, "IsETicketEligible": true, "FlightStatus": "sample string 14", "Status": "sample string 15", "AccumulatedDuration": 1 } ] ], "LastTicketDate": {}, "TicketAdvisory": {}, "FareRules": [ { "Origin": "sample string 1", "Destination": "sample string 2", "Airline": "sample string 3", "FareBasisCode": "sample string 4", "FareRuleDetail": "sample string 5", "FareRestriction": "sample string 6" }, { "Origin": "sample string 1", "Destination": "sample string 2", "Airline": "sample string 3", "FareBasisCode": "sample string 4", "FareRuleDetail": "sample string 5", "FareRestriction": "sample string 6" } ], "AirlineCode": "sample string 11", "ValidatingAirline": "sample string 12" }, "TraceId": "sample string 3" } } }
application/xml, text/xml
Sample:
<FareQuoteVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WhiteLabelApp.Models"> <Content> <Addinfo> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 2</ErrorMessage> </Error> <IsPriceChanged>true</IsPriceChanged> <ResponseStatus>2</ResponseStatus> <Results> <AirlineCode>sample string 11</AirlineCode> <AirlineRemark>sample string 8</AirlineRemark> <Fare> <AdditionalTxnFeeOfrd>5</AdditionalTxnFeeOfrd> <AdditionalTxnFeePub>6</AdditionalTxnFeePub> <BaseFare>2</BaseFare> <ChargeBu> <ChargeBu> <Key>sample string 1</Key> <Value>2</Value> </ChargeBu> <ChargeBu> <Key>sample string 1</Key> <Value>2</Value> </ChargeBu> </ChargeBu> <CommissionEarned>11</CommissionEarned> <Currency>sample string 1</Currency> <Discount>9</Discount> <IncentiveEarned>13</IncentiveEarned> <OfferedFare>14</OfferedFare> <OtherCharges>8</OtherCharges> <PgCharge>7</PgCharge> <PlbEarned>12</PlbEarned> <PublishedFare>10</PublishedFare> <ServiceFee>18</ServiceFee> <Tax>3</Tax> <TaxBreakup> <ChargeBu> <Key>sample string 1</Key> <Value>2</Value> </ChargeBu> <ChargeBu> <Key>sample string 1</Key> <Value>2</Value> </ChargeBu> </TaxBreakup> <TdsOnCommission>15</TdsOnCommission> <TdsOnIncentive>17</TdsOnIncentive> <TdsOnPlb>16</TdsOnPlb> <TotalBaggageCharges>19</TotalBaggageCharges> <TotalMealCharges>20</TotalMealCharges> <TotalSeatCharges>21</TotalSeatCharges> <TotalSpecialServiceCharges>22</TotalSpecialServiceCharges> <YqTax>4</YqTax> </Fare> <FareBreakdown> <FareBreakdown> <AdditionalTxnFeeOfrd>7</AdditionalTxnFeeOfrd> <AdditionalTxnFeePub>8</AdditionalTxnFeePub> <BaseFare>4</BaseFare> <Currency>sample string 1</Currency> <PassengerCount>3</PassengerCount> <PassengerType>2</PassengerType> <PgCharge>9</PgCharge> <Tax>5</Tax> <YqTax>6</YqTax> </FareBreakdown> <FareBreakdown> <AdditionalTxnFeeOfrd>7</AdditionalTxnFeeOfrd> <AdditionalTxnFeePub>8</AdditionalTxnFeePub> <BaseFare>4</BaseFare> <Currency>sample string 1</Currency> <PassengerCount>3</PassengerCount> <PassengerType>2</PassengerType> <PgCharge>9</PgCharge> <Tax>5</Tax> <YqTax>6</YqTax> </FareBreakdown> </FareBreakdown> <FareRules> <FareRule> <Airline>sample string 3</Airline> <Destination>sample string 2</Destination> <FareBasisCode>sample string 4</FareBasisCode> <FareRestriction>sample string 6</FareRestriction> <FareRuleDetail>sample string 5</FareRuleDetail> <Origin>sample string 1</Origin> </FareRule> <FareRule> <Airline>sample string 3</Airline> <Destination>sample string 2</Destination> <FareBasisCode>sample string 4</FareBasisCode> <FareRestriction>sample string 6</FareRestriction> <FareRuleDetail>sample string 5</FareRuleDetail> <Origin>sample string 1</Origin> </FareRule> </FareRules> <GstAllowed>true</GstAllowed> <IsGstMandatory>true</IsGstMandatory> <IsHoldAllowed>true</IsHoldAllowed> <IsLcc>true</IsLcc> <IsRefundable>true</IsRefundable> <LastTicketDate /> <ResultIndex>sample string 1</ResultIndex> <Segments> <ArrayOfSegment> <Segment> <AccumulatedDuration>1</AccumulatedDuration> <Airline> <AirlineCode>sample string 1</AirlineCode> <AirlineName>sample string 2</AirlineName> <FareClass>sample string 4</FareClass> <FlightNumber>sample string 3</FlightNumber> <OperatingCarrier>sample string 5</OperatingCarrier> </Airline> <Availability> <Availability> <Class>sample string 1</Class> <Seats>sample string 2</Seats> </Availability> <Availability> <Class>sample string 1</Class> <Seats>sample string 2</Seats> </Availability> </Availability> <Baggage>sample string 1</Baggage> <CabinBaggage>sample string 2</CabinBaggage> <Craft>sample string 11</Craft> <Destination> <Airport> <AirportCode>sample string 1</AirportCode> <AirportName>sample string 2</AirportName> <CityCode>sample string 4</CityCode> <CityName>sample string 5</CityName> <CountryCode>sample string 6</CountryCode> <CountryName>sample string 7</CountryName> <Terminal>sample string 3</Terminal> </Airport> <ArrTime>2024-12-26T18:32:48.459588+05:30</ArrTime> </Destination> <Duration>6</Duration> <FlightStatus>sample string 14</FlightStatus> <GroundTime>7</GroundTime> <IsETicketEligible>true</IsETicketEligible> <Mile>8</Mile> <NoOfSeatAvailable>5</NoOfSeatAvailable> <Origin> <Airport> <AirportCode>sample string 1</AirportCode> <AirportName>sample string 2</AirportName> <CityCode>sample string 4</CityCode> <CityName>sample string 5</CityName> <CountryCode>sample string 6</CountryCode> <CountryName>sample string 7</CountryName> <Terminal>sample string 3</Terminal> </Airport> <DepTime>2024-12-26T18:32:48.459588+05:30</DepTime> </Origin> <Remark /> <SegmentIndicator>4</SegmentIndicator> <Status>sample string 15</Status> <StopOver>true</StopOver> <StopPoint>sample string 10</StopPoint> <StopPointArrivalTime>2024-12-26T18:32:48.459588+05:30</StopPointArrivalTime> <StopPointDepartureTime>2024-12-26T18:32:48.459588+05:30</StopPointDepartureTime> <TripIndicator>3</TripIndicator> </Segment> <Segment> <AccumulatedDuration>1</AccumulatedDuration> <Airline> <AirlineCode>sample string 1</AirlineCode> <AirlineName>sample string 2</AirlineName> <FareClass>sample string 4</FareClass> <FlightNumber>sample string 3</FlightNumber> <OperatingCarrier>sample string 5</OperatingCarrier> </Airline> <Availability> <Availability> <Class>sample string 1</Class> <Seats>sample string 2</Seats> </Availability> <Availability> <Class>sample string 1</Class> <Seats>sample string 2</Seats> </Availability> </Availability> <Baggage>sample string 1</Baggage> <CabinBaggage>sample string 2</CabinBaggage> <Craft>sample string 11</Craft> <Destination> <Airport> <AirportCode>sample string 1</AirportCode> <AirportName>sample string 2</AirportName> <CityCode>sample string 4</CityCode> <CityName>sample string 5</CityName> <CountryCode>sample string 6</CountryCode> <CountryName>sample string 7</CountryName> <Terminal>sample string 3</Terminal> </Airport> <ArrTime>2024-12-26T18:32:48.459588+05:30</ArrTime> </Destination> <Duration>6</Duration> <FlightStatus>sample string 14</FlightStatus> <GroundTime>7</GroundTime> <IsETicketEligible>true</IsETicketEligible> <Mile>8</Mile> <NoOfSeatAvailable>5</NoOfSeatAvailable> <Origin> <Airport> <AirportCode>sample string 1</AirportCode> <AirportName>sample string 2</AirportName> <CityCode>sample string 4</CityCode> <CityName>sample string 5</CityName> <CountryCode>sample string 6</CountryCode> <CountryName>sample string 7</CountryName> <Terminal>sample string 3</Terminal> </Airport> <DepTime>2024-12-26T18:32:48.459588+05:30</DepTime> </Origin> <Remark /> <SegmentIndicator>4</SegmentIndicator> <Status>sample string 15</Status> <StopOver>true</StopOver> <StopPoint>sample string 10</StopPoint> <StopPointArrivalTime>2024-12-26T18:32:48.459588+05:30</StopPointArrivalTime> <StopPointDepartureTime>2024-12-26T18:32:48.459588+05:30</StopPointDepartureTime> <TripIndicator>3</TripIndicator> </Segment> </ArrayOfSegment> <ArrayOfSegment> <Segment> <AccumulatedDuration>1</AccumulatedDuration> <Airline> <AirlineCode>sample string 1</AirlineCode> <AirlineName>sample string 2</AirlineName> <FareClass>sample string 4</FareClass> <FlightNumber>sample string 3</FlightNumber> <OperatingCarrier>sample string 5</OperatingCarrier> </Airline> <Availability> <Availability> <Class>sample string 1</Class> <Seats>sample string 2</Seats> </Availability> <Availability> <Class>sample string 1</Class> <Seats>sample string 2</Seats> </Availability> </Availability> <Baggage>sample string 1</Baggage> <CabinBaggage>sample string 2</CabinBaggage> <Craft>sample string 11</Craft> <Destination> <Airport> <AirportCode>sample string 1</AirportCode> <AirportName>sample string 2</AirportName> <CityCode>sample string 4</CityCode> <CityName>sample string 5</CityName> <CountryCode>sample string 6</CountryCode> <CountryName>sample string 7</CountryName> <Terminal>sample string 3</Terminal> </Airport> <ArrTime>2024-12-26T18:32:48.459588+05:30</ArrTime> </Destination> <Duration>6</Duration> <FlightStatus>sample string 14</FlightStatus> <GroundTime>7</GroundTime> <IsETicketEligible>true</IsETicketEligible> <Mile>8</Mile> <NoOfSeatAvailable>5</NoOfSeatAvailable> <Origin> <Airport> <AirportCode>sample string 1</AirportCode> <AirportName>sample string 2</AirportName> <CityCode>sample string 4</CityCode> <CityName>sample string 5</CityName> <CountryCode>sample string 6</CountryCode> <CountryName>sample string 7</CountryName> <Terminal>sample string 3</Terminal> </Airport> <DepTime>2024-12-26T18:32:48.459588+05:30</DepTime> </Origin> <Remark /> <SegmentIndicator>4</SegmentIndicator> <Status>sample string 15</Status> <StopOver>true</StopOver> <StopPoint>sample string 10</StopPoint> <StopPointArrivalTime>2024-12-26T18:32:48.459588+05:30</StopPointArrivalTime> <StopPointDepartureTime>2024-12-26T18:32:48.459588+05:30</StopPointDepartureTime> <TripIndicator>3</TripIndicator> </Segment> <Segment> <AccumulatedDuration>1</AccumulatedDuration> <Airline> <AirlineCode>sample string 1</AirlineCode> <AirlineName>sample string 2</AirlineName> <FareClass>sample string 4</FareClass> <FlightNumber>sample string 3</FlightNumber> <OperatingCarrier>sample string 5</OperatingCarrier> </Airline> <Availability> <Availability> <Class>sample string 1</Class> <Seats>sample string 2</Seats> </Availability> <Availability> <Class>sample string 1</Class> <Seats>sample string 2</Seats> </Availability> </Availability> <Baggage>sample string 1</Baggage> <CabinBaggage>sample string 2</CabinBaggage> <Craft>sample string 11</Craft> <Destination> <Airport> <AirportCode>sample string 1</AirportCode> <AirportName>sample string 2</AirportName> <CityCode>sample string 4</CityCode> <CityName>sample string 5</CityName> <CountryCode>sample string 6</CountryCode> <CountryName>sample string 7</CountryName> <Terminal>sample string 3</Terminal> </Airport> <ArrTime>2024-12-26T18:32:48.459588+05:30</ArrTime> </Destination> <Duration>6</Duration> <FlightStatus>sample string 14</FlightStatus> <GroundTime>7</GroundTime> <IsETicketEligible>true</IsETicketEligible> <Mile>8</Mile> <NoOfSeatAvailable>5</NoOfSeatAvailable> <Origin> <Airport> <AirportCode>sample string 1</AirportCode> <AirportName>sample string 2</AirportName> <CityCode>sample string 4</CityCode> <CityName>sample string 5</CityName> <CountryCode>sample string 6</CountryCode> <CountryName>sample string 7</CountryName> <Terminal>sample string 3</Terminal> </Airport> <DepTime>2024-12-26T18:32:48.459588+05:30</DepTime> </Origin> <Remark /> <SegmentIndicator>4</SegmentIndicator> <Status>sample string 15</Status> <StopOver>true</StopOver> <StopPoint>sample string 10</StopPoint> <StopPointArrivalTime>2024-12-26T18:32:48.459588+05:30</StopPointArrivalTime> <StopPointDepartureTime>2024-12-26T18:32:48.459588+05:30</StopPointDepartureTime> <TripIndicator>3</TripIndicator> </Segment> </ArrayOfSegment> </Segments> <Source>2</Source> <TicketAdvisory /> <ValidatingAirline>sample string 12</ValidatingAirline> </Results> <TraceId>sample string 3</TraceId> </Addinfo> <ResponseCode>1</ResponseCode> </Content> <StatusCode>2</StatusCode> <Version>sample string 1</Version> </FareQuoteVM>