POST api/Flightbooking?PublishFee={PublishFee}&NetPayable={NetPayable}
Flight booking pass "Token" in Header
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
PublishFee | string |
Required |
|
NetPayable | string |
Required |
Body Parameters
FlightbookingRequestName | Description | Type | Additional information |
---|---|---|---|
ResultIndex |
ResultIndex |
string |
None. |
Passengers |
Passengers |
Collection of FlightbookPassenger |
None. |
EndUserIp |
EndUserIp |
string |
None. |
TokenId |
TokenId |
string |
None. |
TraceId |
TraceId |
string |
None. |
AgentReferenceNo |
AgentReferenceNo |
Object |
None. |
Request Formats
application/json, text/json
Sample:
{ "ResultIndex": "sample string 1", "Passengers": [ { "Title": "sample string 1", "FirstName": "sample string 2", "LastName": "sample string 3", "PaxType": 4, "DateOfBirth": "2025-04-04T04:33:26.7572494+05:30", "Gender": 6, "PassportNo": "sample string 7", "PassportExpiry": "2025-04-04T04:33:26.7572494+05:30", "AddressLine1": "sample string 9", "AddressLine2": {}, "Fare": { "Currency": "sample string 1", "BaseFare": 2.1, "Tax": 3.1, "YQTax": 4.1, "AdditionalTxnFeePub": 5.1, "AdditionalTxnFeeOfrd": 6.1, "OtherCharges": 7.1, "Discount": 8.1, "PublishedFare": 9.1, "OfferedFare": 10.1, "TdsOnCommission": 11.1, "TdsOnPLB": 12.1, "TdsOnIncentive": 13.1, "ServiceFee": 14.1 }, "City": "sample string 11", "Baggage": {}, "MealDynamic": {}, "SeatDynamic": {}, "CountryCode": "sample string 15", "CountryName": "sample string 16", "Nationality": "sample string 17", "ContactNo": "sample string 18", "Email": "sample string 19", "IsLeadPax": true, "FFAirlineCode": {}, "FFNumber": {}, "GSTCompanyAddress": "sample string 23", "GSTCompanyContactNumber": "sample string 24", "GSTCompanyName": "sample string 25", "GSTNumber": "sample string 26", "GSTCompanyEmail": "sample string 27" }, { "Title": "sample string 1", "FirstName": "sample string 2", "LastName": "sample string 3", "PaxType": 4, "DateOfBirth": "2025-04-04T04:33:26.7572494+05:30", "Gender": 6, "PassportNo": "sample string 7", "PassportExpiry": "2025-04-04T04:33:26.7572494+05:30", "AddressLine1": "sample string 9", "AddressLine2": {}, "Fare": { "Currency": "sample string 1", "BaseFare": 2.1, "Tax": 3.1, "YQTax": 4.1, "AdditionalTxnFeePub": 5.1, "AdditionalTxnFeeOfrd": 6.1, "OtherCharges": 7.1, "Discount": 8.1, "PublishedFare": 9.1, "OfferedFare": 10.1, "TdsOnCommission": 11.1, "TdsOnPLB": 12.1, "TdsOnIncentive": 13.1, "ServiceFee": 14.1 }, "City": "sample string 11", "Baggage": {}, "MealDynamic": {}, "SeatDynamic": {}, "CountryCode": "sample string 15", "CountryName": "sample string 16", "Nationality": "sample string 17", "ContactNo": "sample string 18", "Email": "sample string 19", "IsLeadPax": true, "FFAirlineCode": {}, "FFNumber": {}, "GSTCompanyAddress": "sample string 23", "GSTCompanyContactNumber": "sample string 24", "GSTCompanyName": "sample string 25", "GSTNumber": "sample string 26", "GSTCompanyEmail": "sample string 27" } ], "EndUserIp": "sample string 2", "TokenId": "sample string 3", "TraceId": "sample string 4", "AgentReferenceNo": {} }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponceMasterName | Description | Type | Additional information |
---|---|---|---|
Error |
Error in True and false |
string |
None. |
Message |
Responace Error Message |
string |
None. |
Data |
Responce Data in object or List |
Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Error": "sample string 1", "Message": "sample string 2", "Data": {} }