Advertisement
Guest User

Untitled

a guest
Dec 13th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.32 KB | None | 0 0
  1. {
  2. "Document": {
  3. "Name": "BA"
  4. },
  5. "Warnings": {
  6. "Warning": [
  7. {
  8. "value": "Error occured while retrieving Amadeus Mini Rules Response",
  9. "ShortText": "Invalid or missing fare data",
  10. "Code": "78"
  11. }
  12. ]
  13. },
  14. "Response": {
  15. "Passengers": {
  16. "Passenger": [
  17. {
  18. "ObjectKey": "T2",
  19. "PTC": {
  20. "value": "ADT"
  21. },
  22. "Name": {
  23. "Surname": {
  24. "value": "TEFOGO"
  25. },
  26. "Given": [
  27. {
  28. "value": "SAMUEL"
  29. }
  30. ],
  31. "Title": "MR"
  32. }
  33. }
  34. ]
  35. },
  36. "Order": [
  37. {
  38. "OrderItems": {
  39. "OrderItem": [
  40. {
  41. "OrderItemID": {
  42. "value": "TYWVCP-T2-FS3",
  43. "Owner": "BA"
  44. },
  45. "FlightItem": {
  46. "Price": {
  47. "BaseAmount": {
  48. "value": 0
  49. }
  50. },
  51. "OriginDestination": [
  52. {
  53. "Flight": [
  54. {
  55. "SegmentKey": "FS3",
  56. "Departure": {
  57. "AirportCode": {
  58. "value": "LCY"
  59. },
  60. "Date": "2020-01-10T00:00:00.000",
  61. "Time": "20:30",
  62. "AirportName": "City Airport (London) Airport"
  63. },
  64. "Arrival": {
  65. "AirportCode": {
  66. "value": "MAN"
  67. },
  68. "Date": "2020-01-10T00:00:00.000",
  69. "Time": "21:30",
  70. "AirportName": "Manchester Airport",
  71. "Terminal": {
  72. "Name": "3"
  73. }
  74. },
  75. "MarketingCarrier": {
  76. "AirlineID": {
  77. "value": "BA"
  78. },
  79. "Name": "British Airways",
  80. "FlightNumber": {
  81. "value": "7310"
  82. }
  83. },
  84. "OperatingCarrier": {
  85. "AirlineID": {
  86. "value": "CJ"
  87. },
  88. "Name": "BA CityFlyer"
  89. },
  90. "Equipment": {
  91. "Name": "Embraer E190SR",
  92. "AircraftCode": {
  93. "value": "E90"
  94. }
  95. },
  96. "ClassOfService": {
  97. "Code": {
  98. "value": "O"
  99. },
  100. "MarketingName": {
  101. "value": "Economy"
  102. }
  103. },
  104. "Details": {
  105. "FlightSegmentType": {
  106. "Code": "GK"
  107. },
  108. "FlightDuration": {
  109. "Value": "PT1H"
  110. },
  111. "Stops": {
  112. "StopQuantity": 0
  113. }
  114. }
  115. }
  116. ]
  117. }
  118. ]
  119. },
  120. "Disclosures": {
  121. "Description": [
  122. {
  123. "Text": {
  124. "value": "Svc001"
  125. },
  126. "Link": "ServiceID"
  127. }
  128. ]
  129. }
  130. }
  131. ]
  132. },
  133. "OrderID": {
  134. "value": "TYWVCP",
  135. "Owner": "BA"
  136. },
  137. "BookingReferences": {
  138. "BookingReference": [
  139. {
  140. "ID": "3LJFLD"
  141. },
  142. {
  143. "ID": "TYWVCP",
  144. "OtherID": {
  145. "value": "orderId"
  146. }
  147. }
  148. ]
  149. },
  150. "TotalOrderPrice": {
  151. "SimpleCurrencyPrice": {
  152. "value": 0
  153. }
  154. },
  155. "Status": {
  156. "StatusCode": {
  157. "Code": "X"
  158. }
  159. }
  160. }
  161. ],
  162. "DataLists": {
  163. "AnonymousTravelerList": {
  164. "AnonymousTraveler": [
  165. {
  166. "PTC": {
  167. "value": "ADT"
  168. }
  169. }
  170. ]
  171. },
  172. "FareList": {
  173. "FareGroup": [
  174. {
  175. "Fare": {
  176. "FareDetail": {
  177. "FareComponent": [
  178. {
  179. "PriceBreakdown": {
  180. "Price": {
  181. "BaseAmount": {
  182. "value": 0
  183. }
  184. }
  185. }
  186. }
  187. ]
  188. }
  189. },
  190. "refs": [
  191. "T2"
  192. ]
  193. }
  194. ]
  195. },
  196. "FlightSegmentList": {
  197. "FlightSegment": [
  198. {
  199. "Departure": {
  200. "AirportCode": {
  201. "value": "LCY"
  202. },
  203. "Date": "2020-01-10T00:00:00.000",
  204. "Time": "20:30"
  205. },
  206. "Arrival": {
  207. "AirportCode": {
  208. "value": "MAN"
  209. },
  210. "Date": "2020-01-10T00:00:00.000",
  211. "Time": "21:30",
  212. "Terminal": {
  213. "Name": "3"
  214. }
  215. },
  216. "MarketingCarrier": {
  217. "AirlineID": {
  218. "value": "BA"
  219. },
  220. "Name": "British Airways",
  221. "FlightNumber": {
  222. "value": "7310"
  223. }
  224. },
  225. "Equipment": {
  226. "AircraftCode": {
  227. "value": "E90"
  228. }
  229. },
  230. "FlightDetail": {
  231. "FlightDuration": {
  232. "Value": "PT1H"
  233. },
  234. "Stops": {
  235. "StopQuantity": 0
  236. }
  237. }
  238. }
  239. ]
  240. },
  241. "OriginDestinationList": {
  242. "OriginDestination": [
  243. {
  244. "OriginDestinationKey": "OD1",
  245. "DepartureCode": {
  246. "value": "LCY"
  247. },
  248. "ArrivalCode": {
  249. "value": "MAN"
  250. }
  251. }
  252. ]
  253. },
  254. "ServiceList": {
  255. "Service": [
  256. {
  257. "ObjectKey": "Svc001",
  258. "Associations": [
  259. {
  260. "Traveler": {
  261. "TravelerReferences": [
  262. "T2"
  263. ]
  264. },
  265. "Flight": {
  266. "originDestinationReferencesOrSegmentReferences": [
  267. "FS3"
  268. ]
  269. }
  270. }
  271. ]
  272. }
  273. ]
  274. }
  275. },
  276. "Metadata": {}
  277. }
  278. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement