Advertisement
Guest User

Airline API Output

a guest
Apr 21st, 2014
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.38 KB | None | 0 0
  1. {
  2. "SearchResult": {
  3. "IsDomestic": true,
  4. "Status": {
  5. "StatusCode": "02",
  6. "Description": "Successfull",
  7. "Category": "SR"
  8. },
  9. "RoundTrip": false,
  10. "Result": {
  11. "WSResult": [
  12. {
  13. "TripIndicator": 1,
  14. "Fare": {
  15. "BaseFare": "600",
  16. "Tax": "3459.03",
  17. "ServiceTax": "0",
  18. "AdditionalTxnFee": "0",
  19. "AgentCommission": "20.00",
  20. "TdsOnCommission": "4.00",
  21. "IncentiveEarned": "0.00",
  22. "TdsOnIncentive": "0.00",
  23. "PLBEarned": "5.80",
  24. "TdsOnPLB": "1.16",
  25. "PublishedPrice": "4113.03",
  26. "AirTransFee": "0",
  27. "Currency": "INR",
  28. "Discount": "0",
  29. "ChargeBU": {
  30. "ChargeBreakUp": [
  31. {
  32. "PriceId": 0,
  33. "ChargeType": "TboMarkup",
  34. "Amount": "4"
  35. },
  36. {
  37. "PriceId": 0,
  38. "ChargeType": "OtherCharges",
  39. "Amount": "50.00"
  40. }
  41. ]
  42. },
  43. "OtherCharges": "54.00",
  44. "FuelSurcharge": "2950",
  45. "TransactionFee": "355",
  46. "ReverseHandlingCharge": "0",
  47. "OfferedFare": "4087.23",
  48. "AgentServiceCharge": "0",
  49. "AgentConvienceCharges": "0"
  50. },
  51. "FareBreakdown": {
  52. "WSPTCFare": {
  53. "PassengerType": "Adult",
  54. "PassengerCount": 1,
  55. "BaseFare": "600",
  56. "Tax": "3459.03",
  57. "AirlineTransFee": "0",
  58. "AdditionalTxnFee": "0",
  59. "FuelSurcharge": "2950",
  60. "AgentServiceCharge": "0",
  61. "AgentConvienceCharges": "0"
  62. }
  63. },
  64. "Origin": "MAA",
  65. "Destination": "BOM",
  66. "Segment": {
  67. "WSSegment": {
  68. "SegmentIndicator": 1,
  69. "Airline": {
  70. "AirlineCode": "IX",
  71. "AirlineName": "Air India Express"
  72. },
  73. "FlightNumber": "662",
  74. "FareClass": "V",
  75. "Origin": {
  76. "AirportCode": "MAA",
  77. "AirportName": "Chennai",
  78. "CityCode": "MAA",
  79. "CityName": "Chennai",
  80. "CountryCode": "IN",
  81. "CountryName": "India"
  82. },
  83. "Destination": {
  84. "AirportCode": "BOM",
  85. "AirportName": "Mumbai",
  86. "CityCode": "BOM",
  87. "CityName": "Mumbai",
  88. "CountryCode": "IN",
  89. "CountryName": "India"
  90. },
  91. "DepTIme": "2014-05-20T02:00:00",
  92. "ArrTime": "2014-05-20T04:00:00",
  93. "ETicketEligible": true,
  94. "Duration": "02:00",
  95. "Stop": 0,
  96. "Craft": "738",
  97. "Status": "Confirmed"
  98. }
  99. },
  100. "ObDuration": "02:00",
  101. "Source": "AirIndiaExpress",
  102. "FareRule": {
  103. "WSFareRule": {
  104. "Origin": "MAA",
  105. "Destination": "BOM",
  106. "Airline": "IX",
  107. "FareBasisCode": "V",
  108. "DepartureDate": "2014-05-20T02:00:00",
  109. "ReturnDate": "2014-05-20T04:00:00",
  110. "Source": "AirIndiaExpress"
  111. }
  112. },
  113. "IsLcc": true,
  114. "IbSegCount": 0,
  115. "ObSegCount": 1,
  116. "PromotionalPlanType": "Normal",
  117. "NonRefundable": false,
  118. "SegmentKey": "1414002001400400IX662"
  119. },
  120. {
  121. "TripIndicator": 1,
  122. "Fare": {
  123. "BaseFare": "2050",
  124. "Tax": "2272",
  125. "ServiceTax": "0",
  126. "AdditionalTxnFee": "0",
  127. "AgentCommission": "30.75",
  128. "TdsOnCommission": "6.15",
  129. "IncentiveEarned": "0.00",
  130. "TdsOnIncentive": "0.00",
  131. "PLBEarned": "30.29",
  132. "TdsOnPLB": "6.06",
  133. "PublishedPrice": "4330.00",
  134. "AirTransFee": "0",
  135. "Currency": "INR",
  136. "Discount": "0",
  137. "ChargeBU": {
  138. "ChargeBreakUp": [
  139. {
  140. "PriceId": 0,
  141. "ChargeType": "TboMarkup",
  142. "Amount": "8"
  143. },
  144. {
  145. "PriceId": 0,
  146. "ChargeType": "OtherCharges",
  147. "Amount": "0.00"
  148. }
  149. ]
  150. },
  151. "OtherCharges": "8.00",
  152. "FuelSurcharge": "1750",
  153. "TransactionFee": "0",
  154. "ReverseHandlingCharge": "0",
  155. "OfferedFare": "4268.96",
  156. "AgentServiceCharge": "0",
  157. "AgentConvienceCharges": "0"
  158. },
  159. "FareBreakdown": {
  160. "WSPTCFare": {
  161. "PassengerType": "Adult",
  162. "PassengerCount": 1,
  163. "BaseFare": "2050",
  164. "Tax": "2272",
  165. "AirlineTransFee": "0",
  166. "AdditionalTxnFee": "0",
  167. "FuelSurcharge": "1750",
  168. "AgentServiceCharge": "0",
  169. "AgentConvienceCharges": "0"
  170. }
  171. },
  172. "Origin": "MAA",
  173. "Destination": "BOM",
  174. "Segment": {
  175. "WSSegment": {
  176. "SegmentIndicator": 1,
  177. "Airline": {
  178. "AirlineCode": "SG",
  179. "AirlineName": "SpiceJet"
  180. },
  181. "FlightNumber": "296",
  182. "FareClass": "H",
  183. "Origin": {
  184. "AirportCode": "MAA",
  185. "AirportName": "Chennai",
  186. "Terminal": "",
  187. "CityCode": "MAA",
  188. "CityName": "Chennai",
  189. "CountryCode": "IN",
  190. "CountryName": "India"
  191. },
  192. "Destination": {
  193. "AirportCode": "BOM",
  194. "AirportName": "Mumbai",
  195. "Terminal": "",
  196. "CityCode": "BOM",
  197. "CityName": "Mumbai",
  198. "CountryCode": "IN",
  199. "CountryName": "India"
  200. },
  201. "DepTIme": "2014-05-20T20:10:00",
  202. "ArrTime": "2014-05-20T21:55:00",
  203. "ETicketEligible": true,
  204. "Duration": "01:45",
  205. "Stop": 0,
  206. "Craft": "737",
  207. "Status": "Confirmed"
  208. }
  209. },
  210. "ObDuration": "01:45",
  211. "Source": "SpiceJet",
  212. "FareRule": {
  213. "WSFareRule": {
  214. "Origin": "MAA",
  215. "Destination": "BOM",
  216. "Airline": "SG",
  217. "FareBasisCode": "H",
  218. "DepartureDate": "2014-05-20T20:10:00",
  219. "ReturnDate": "2014-05-20T21:55:00",
  220. "Source": "SpiceJet"
  221. }
  222. },
  223. "IsLcc": true,
  224. "IbSegCount": 0,
  225. "ObSegCount": 1,
  226. "PromotionalPlanType": "Normal",
  227. "NonRefundable": false,
  228. "SegmentKey": "314020101402155SG296"
  229. }
  230. ]
  231. },
  232. "SessionId": "314d94b5-f25c-46a9-8cf7-d4c532d8d036",
  233. "ErrorMsg": "",
  234. "CityInfo": {
  235. "ArrayOfCityAirport": [
  236. {
  237.  
  238. },
  239. {
  240.  
  241. }
  242. ]
  243. }
  244. }
  245. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement