POST AIR/api/app/Air/Book
Request Information
URI Parameters
None.
Body Parameters
FlightDetailsVM| Name | Description | Type | Additional information |
|---|---|---|---|
| isDomastic | boolean |
Required |
|
| TraceId | string |
Required |
|
| JourneyType | integer |
None. |
|
| ResultIndex | string |
Required |
|
| InBoundResultIndexForSpacailReturn | string |
None. |
|
| isForOnward | boolean |
None. |
|
| lstPax | Collection of PassengerNonLcc |
Required |
Request Formats
application/json, text/json
Sample:
{
"isDomastic": true,
"TraceId": "sample string 2",
"JourneyType": 3,
"ResultIndex": "sample string 4",
"InBoundResultIndexForSpacailReturn": "sample string 5",
"isForOnward": true,
"lstPax": [
{
"PaxId": 1,
"Title": "sample string 1",
"FirstName": "sample string 2",
"LastName": "sample string 3",
"PaxType": "sample string 4",
"DateOfBirth": "sample string 5",
"Gender": 1,
"PassportNo": "sample string 6",
"PassportExpiry": "sample string 7",
"AddressLine1": "sample string 8",
"AddressLine2": "sample string 9",
"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
},
"City": "sample string 10",
"CountryCode": "sample string 11",
"CountryName": "sample string 12",
"Nationality": "sample string 13",
"ContactNo": "sample string 14",
"Email": "sample string 15",
"IsLeadPax": true,
"FfAirlineCode": {},
"FfNumber": "sample string 18",
"GSTCompanyAddress": "sample string 19",
"GSTCompanyContactNumber": "sample string 20",
"GSTCompanyName": "sample string 21",
"GSTNumber": "sample string 22",
"GSTCompanyEmail": "sample string 23",
"Baggage": [
{
"AirlineCode": "sample string 1",
"FlightNumber": "sample string 2",
"WayType": 3,
"Code": "sample string 4",
"Description": 5,
"Weight": 1,
"Currency": "sample string 6",
"Price": 7.0,
"Origin": "sample string 8",
"Destination": "sample string 9",
"AirlineDescription": "sample string 10",
"Quantity": 1
},
{
"AirlineCode": "sample string 1",
"FlightNumber": "sample string 2",
"WayType": 3,
"Code": "sample string 4",
"Description": 5,
"Weight": 1,
"Currency": "sample string 6",
"Price": 7.0,
"Origin": "sample string 8",
"Destination": "sample string 9",
"AirlineDescription": "sample string 10",
"Quantity": 1
}
],
"Meal": {
"Code": "sample string 1",
"Description": "sample string 2"
},
"Seat": {
"Code": "sample string 1",
"Description": "sample string 2"
},
"Ticket": {
"TicketId": 1,
"TicketNumber": "sample string 2",
"IssueDate": "2025-12-14T04:24:12.9387044+05:30",
"ValidatingAirline": "sample string 4",
"Remarks": "sample string 5",
"ServiceFeeDisplayType": "sample string 6",
"Status": "sample string 7",
"ConjunctionNumber": "sample string 8",
"TicketType": "sample string 9"
}
},
{
"PaxId": 1,
"Title": "sample string 1",
"FirstName": "sample string 2",
"LastName": "sample string 3",
"PaxType": "sample string 4",
"DateOfBirth": "sample string 5",
"Gender": 1,
"PassportNo": "sample string 6",
"PassportExpiry": "sample string 7",
"AddressLine1": "sample string 8",
"AddressLine2": "sample string 9",
"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
},
"City": "sample string 10",
"CountryCode": "sample string 11",
"CountryName": "sample string 12",
"Nationality": "sample string 13",
"ContactNo": "sample string 14",
"Email": "sample string 15",
"IsLeadPax": true,
"FfAirlineCode": {},
"FfNumber": "sample string 18",
"GSTCompanyAddress": "sample string 19",
"GSTCompanyContactNumber": "sample string 20",
"GSTCompanyName": "sample string 21",
"GSTNumber": "sample string 22",
"GSTCompanyEmail": "sample string 23",
"Baggage": [
{
"AirlineCode": "sample string 1",
"FlightNumber": "sample string 2",
"WayType": 3,
"Code": "sample string 4",
"Description": 5,
"Weight": 1,
"Currency": "sample string 6",
"Price": 7.0,
"Origin": "sample string 8",
"Destination": "sample string 9",
"AirlineDescription": "sample string 10",
"Quantity": 1
},
{
"AirlineCode": "sample string 1",
"FlightNumber": "sample string 2",
"WayType": 3,
"Code": "sample string 4",
"Description": 5,
"Weight": 1,
"Currency": "sample string 6",
"Price": 7.0,
"Origin": "sample string 8",
"Destination": "sample string 9",
"AirlineDescription": "sample string 10",
"Quantity": 1
}
],
"Meal": {
"Code": "sample string 1",
"Description": "sample string 2"
},
"Seat": {
"Code": "sample string 1",
"Description": "sample string 2"
},
"Ticket": {
"TicketId": 1,
"TicketNumber": "sample string 2",
"IssueDate": "2025-12-14T04:24:12.9387044+05:30",
"ValidatingAirline": "sample string 4",
"Remarks": "sample string 5",
"ServiceFeeDisplayType": "sample string 6",
"Status": "sample string 7",
"ConjunctionNumber": "sample string 8",
"TicketType": "sample string 9"
}
}
]
}
application/xml, text/xml
Sample:
<FlightDetailsVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WhiteLabelApp.Models">
<InBoundResultIndexForSpacailReturn>sample string 5</InBoundResultIndexForSpacailReturn>
<JourneyType>3</JourneyType>
<ResultIndex>sample string 4</ResultIndex>
<TraceId>sample string 2</TraceId>
<isDomastic>true</isDomastic>
<isForOnward>true</isForOnward>
<lstPax>
<PassengerNonLcc>
<AddressLine1>sample string 8</AddressLine1>
<AddressLine2>sample string 9</AddressLine2>
<Baggage>
<BaggageSSRLcc>
<AirlineCode>sample string 1</AirlineCode>
<AirlineDescription>sample string 10</AirlineDescription>
<Code>sample string 4</Code>
<Currency>sample string 6</Currency>
<Description>5</Description>
<Destination>sample string 9</Destination>
<FlightNumber>sample string 2</FlightNumber>
<Origin>sample string 8</Origin>
<Price>7</Price>
<Quantity>1</Quantity>
<WayType>3</WayType>
<Weight>1</Weight>
</BaggageSSRLcc>
<BaggageSSRLcc>
<AirlineCode>sample string 1</AirlineCode>
<AirlineDescription>sample string 10</AirlineDescription>
<Code>sample string 4</Code>
<Currency>sample string 6</Currency>
<Description>5</Description>
<Destination>sample string 9</Destination>
<FlightNumber>sample string 2</FlightNumber>
<Origin>sample string 8</Origin>
<Price>7</Price>
<Quantity>1</Quantity>
<WayType>3</WayType>
<Weight>1</Weight>
</BaggageSSRLcc>
</Baggage>
<City>sample string 10</City>
<ContactNo>sample string 14</ContactNo>
<CountryCode>sample string 11</CountryCode>
<CountryName>sample string 12</CountryName>
<DateOfBirth>sample string 5</DateOfBirth>
<Email>sample string 15</Email>
<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>
<FfAirlineCode />
<FfNumber>sample string 18</FfNumber>
<FirstName>sample string 2</FirstName>
<GSTCompanyAddress>sample string 19</GSTCompanyAddress>
<GSTCompanyContactNumber>sample string 20</GSTCompanyContactNumber>
<GSTCompanyEmail>sample string 23</GSTCompanyEmail>
<GSTCompanyName>sample string 21</GSTCompanyName>
<GSTNumber>sample string 22</GSTNumber>
<Gender>Male</Gender>
<IsLeadPax>true</IsLeadPax>
<LastName>sample string 3</LastName>
<Meal>
<Code>sample string 1</Code>
<Description>sample string 2</Description>
</Meal>
<Nationality>sample string 13</Nationality>
<PassportExpiry>sample string 7</PassportExpiry>
<PassportNo>sample string 6</PassportNo>
<PaxId>1</PaxId>
<PaxType>sample string 4</PaxType>
<Seat>
<Code>sample string 1</Code>
<Description>sample string 2</Description>
</Seat>
<Ticket>
<ConjunctionNumber>sample string 8</ConjunctionNumber>
<IssueDate>2025-12-14T04:24:12.9387044+05:30</IssueDate>
<Remarks>sample string 5</Remarks>
<ServiceFeeDisplayType>sample string 6</ServiceFeeDisplayType>
<Status>sample string 7</Status>
<TicketId>1</TicketId>
<TicketNumber>sample string 2</TicketNumber>
<TicketType>sample string 9</TicketType>
<ValidatingAirline>sample string 4</ValidatingAirline>
</Ticket>
<Title>sample string 1</Title>
</PassengerNonLcc>
<PassengerNonLcc>
<AddressLine1>sample string 8</AddressLine1>
<AddressLine2>sample string 9</AddressLine2>
<Baggage>
<BaggageSSRLcc>
<AirlineCode>sample string 1</AirlineCode>
<AirlineDescription>sample string 10</AirlineDescription>
<Code>sample string 4</Code>
<Currency>sample string 6</Currency>
<Description>5</Description>
<Destination>sample string 9</Destination>
<FlightNumber>sample string 2</FlightNumber>
<Origin>sample string 8</Origin>
<Price>7</Price>
<Quantity>1</Quantity>
<WayType>3</WayType>
<Weight>1</Weight>
</BaggageSSRLcc>
<BaggageSSRLcc>
<AirlineCode>sample string 1</AirlineCode>
<AirlineDescription>sample string 10</AirlineDescription>
<Code>sample string 4</Code>
<Currency>sample string 6</Currency>
<Description>5</Description>
<Destination>sample string 9</Destination>
<FlightNumber>sample string 2</FlightNumber>
<Origin>sample string 8</Origin>
<Price>7</Price>
<Quantity>1</Quantity>
<WayType>3</WayType>
<Weight>1</Weight>
</BaggageSSRLcc>
</Baggage>
<City>sample string 10</City>
<ContactNo>sample string 14</ContactNo>
<CountryCode>sample string 11</CountryCode>
<CountryName>sample string 12</CountryName>
<DateOfBirth>sample string 5</DateOfBirth>
<Email>sample string 15</Email>
<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>
<FfAirlineCode />
<FfNumber>sample string 18</FfNumber>
<FirstName>sample string 2</FirstName>
<GSTCompanyAddress>sample string 19</GSTCompanyAddress>
<GSTCompanyContactNumber>sample string 20</GSTCompanyContactNumber>
<GSTCompanyEmail>sample string 23</GSTCompanyEmail>
<GSTCompanyName>sample string 21</GSTCompanyName>
<GSTNumber>sample string 22</GSTNumber>
<Gender>Male</Gender>
<IsLeadPax>true</IsLeadPax>
<LastName>sample string 3</LastName>
<Meal>
<Code>sample string 1</Code>
<Description>sample string 2</Description>
</Meal>
<Nationality>sample string 13</Nationality>
<PassportExpiry>sample string 7</PassportExpiry>
<PassportNo>sample string 6</PassportNo>
<PaxId>1</PaxId>
<PaxType>sample string 4</PaxType>
<Seat>
<Code>sample string 1</Code>
<Description>sample string 2</Description>
</Seat>
<Ticket>
<ConjunctionNumber>sample string 8</ConjunctionNumber>
<IssueDate>2025-12-14T04:24:12.9387044+05:30</IssueDate>
<Remarks>sample string 5</Remarks>
<ServiceFeeDisplayType>sample string 6</ServiceFeeDisplayType>
<Status>sample string 7</Status>
<TicketId>1</TicketId>
<TicketNumber>sample string 2</TicketNumber>
<TicketType>sample string 9</TicketType>
<ValidatingAirline>sample string 4</ValidatingAirline>
</Ticket>
<Title>sample string 1</Title>
</PassengerNonLcc>
</lstPax>
</FlightDetailsVM>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |