Advertisement
killuaz93

Flight Order API Response RAW

Jul 20th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 7.14 KB | None | 0 0
  1. {
  2.   "diagnostic": {
  3.     "status": 200,
  4.     "elapsetime": "0.3144",
  5.     "memoryusage": "28.22MB",
  6.     "unix_timestamp": 1532062624,
  7.     "confirm": "success",
  8.     "lang": "id",
  9.     "currency": "IDR"
  10.   },
  11.   "output_type": "json",
  12.   "myorder": {
  13.     "order_id": "40989727",
  14.     "data": [
  15.       {
  16.         "expire": 4151,
  17.         "uri": "citilink",
  18.         "order_detail_id": "61014148",
  19.         "order_expire_datetime": "2018-07-23 09:08:43",
  20.         "order_type": "flight",
  21.         "customer_price": "8259338.00",
  22.         "order_name": "CGK (Jakarta - Cengkareng) - DPS (Bali - Denpasar) - Round Trip",
  23.         "order_name_detail": "Citilink (QG-682 - Depart) ~ Citilink (QG-683 - Return)",
  24.         "order_detail_status": "active",
  25.         "detail": {
  26.           "order_detail_id": "61014148",
  27.           "airlines_name": "Citilink",
  28.           "flight_number": "QG-682~QG-683",
  29.           "trip": "roundtrip",
  30.           "price_adult": "2843408.00",
  31.           "price_child": "2281638.00",
  32.           "price_infant": "290885.00",
  33.           "flight_date": "10 Agu 2018",
  34.           "departure_time": "07:35",
  35.           "arrival_time": "10:25",
  36.           "baggage_fee": "0",
  37.           "departure_airport_name": "Soekarno Hatta",
  38.           "departure_city_name": "Jakarta",
  39.           "arrival_airport_name": "Ngurah Rai",
  40.           "arrival_city_name": "Denpasar",
  41.           "passengers": {
  42.             "adult": [
  43.               {
  44.                 "order_passenger_id": "26939136",
  45.                 "order_detail_id": "61014148",
  46.                 "type": "adult",
  47.                 "first_name": "Krisno",
  48.                 "last_name": "Sotanto",
  49.                 "title": "Mr",
  50.                 "id_number": "",
  51.                 "birth_date": null,
  52.                 "adult_index": null,
  53.                 "passport_no": null,
  54.                 "passport_expiry": null,
  55.                 "passport_issuing_country": null,
  56.                 "passport_nationality": null,
  57.                 "check_in_baggage": "20 Kg",
  58.                 "check_in_baggage_return": "20 Kg",
  59.                 "check_in_baggage_size": "20",
  60.                 "check_in_baggage_size_return": "20",
  61.                 "passport_issued_date": null,
  62.                 "birth_country": null,
  63.                 "ticket_number": null,
  64.                 "check_in_baggage_unit": "Kg"
  65.               },
  66.               {
  67.                 "order_passenger_id": "26939137",
  68.                 "order_detail_id": "61014148",
  69.                 "type": "adult",
  70.                 "first_name": "Filbert",
  71.                 "last_name": "Limena",
  72.                 "title": "Mr",
  73.                 "id_number": "",
  74.                 "birth_date": null,
  75.                 "adult_index": null,
  76.                 "passport_no": null,
  77.                 "passport_expiry": null,
  78.                 "passport_issuing_country": null,
  79.                 "passport_nationality": null,
  80.                 "check_in_baggage": "20 Kg",
  81.                 "check_in_baggage_return": "20 Kg",
  82.                 "check_in_baggage_size": "20",
  83.                 "check_in_baggage_size_return": "20",
  84.                 "passport_issued_date": null,
  85.                 "birth_country": null,
  86.                 "ticket_number": null,
  87.                 "check_in_baggage_unit": "Kg"
  88.               }
  89.             ],
  90.             "child": [
  91.               {
  92.                 "order_passenger_id": "26939138",
  93.                 "order_detail_id": "61014148",
  94.                 "type": "child",
  95.                 "first_name": "Boby",
  96.                 "last_name": "Hartanto",
  97.                 "title": "Mstr",
  98.                 "id_number": "",
  99.                 "birth_date": "2008-01-01",
  100.                 "adult_index": null,
  101.                 "passport_no": null,
  102.                 "passport_expiry": null,
  103.                 "passport_issuing_country": null,
  104.                 "passport_nationality": null,
  105.                 "check_in_baggage": "20 Kg",
  106.                 "check_in_baggage_return": "20 Kg",
  107.                 "check_in_baggage_size": "20",
  108.                 "check_in_baggage_size_return": "20",
  109.                 "passport_issued_date": null,
  110.                 "birth_country": null,
  111.                 "ticket_number": null,
  112.                 "check_in_baggage_unit": "Kg"
  113.               }
  114.             ],
  115.             "infant": [
  116.               {
  117.                 "order_passenger_id": "26939139",
  118.                 "order_detail_id": "61014148",
  119.                 "type": "infant",
  120.                 "first_name": "Faridh",
  121.                 "last_name": "Maulana",
  122.                 "title": "Mstr",
  123.                 "id_number": "",
  124.                 "birth_date": "2018-01-01",
  125.                 "adult_index": "1",
  126.                 "passport_no": null,
  127.                 "passport_expiry": null,
  128.                 "passport_issuing_country": null,
  129.                 "passport_nationality": null,
  130.                 "check_in_baggage": null,
  131.                 "check_in_baggage_return": null,
  132.                 "check_in_baggage_size": null,
  133.                 "check_in_baggage_size_return": null,
  134.                 "passport_issued_date": null,
  135.                 "birth_country": null,
  136.                 "ticket_number": null
  137.               }
  138.             ]
  139.           },
  140.           "real_flight_date": "2018-08-10",
  141.           "price": 8259338,
  142.           "breakdown_price": [
  143.             {
  144.               "category": "price adult",
  145.               "type": "none",
  146.               "value": 2843408,
  147.               "currency": "IDR",
  148.               "text": "Harga Dewasa"
  149.             },
  150.             {
  151.               "category": "price child",
  152.               "type": "none",
  153.               "value": 2281638,
  154.               "currency": "IDR",
  155.               "text": "Harga Anak"
  156.             },
  157.             {
  158.               "category": "price infant",
  159.               "type": "none",
  160.               "value": 290885,
  161.               "currency": "IDR",
  162.               "text": "Harga Bayi"
  163.             },
  164.             {
  165.               "category": "total base price",
  166.               "type": "price",
  167.               "value": 8259339,
  168.               "currency": "IDR",
  169.               "text": "Harga Total"
  170.             },
  171.             {
  172.               "category": "baggage fee",
  173.               "type": "add",
  174.               "value": "0",
  175.               "currency": "IDR",
  176.               "text": "Biaya Bagasi"
  177.             }
  178.           ],
  179.           "departure_city": "CGK",
  180.           "arrival_city": "DPS",
  181.           "class": "E"
  182.         },
  183.         "order_photo": "https://api-sandbox.tiket.com/images/icon_citilink.jpg",
  184.         "order_icon": "h3b",
  185.         "tax_and_charge": "0.00",
  186.         "subtotal_and_charge": "8259338.00",
  187.         "delete_uri": "https://api-sandbox.tiket.com/order/delete_order?order_detail_id=61014148&order_id=40989727&order_hash=711ca2f108922331ccbb046126d89fa0ebb6c9c5",
  188.         "business_id": "20865"
  189.       }
  190.     ],
  191.     "total": 8259338,
  192.     "total_tax": 0,
  193.     "total_without_tax": 8259338,
  194.     "count_installment": 0,
  195.     "promo": [],
  196.     "discount": 0,
  197.     "discount_amount": 0
  198.   },
  199.   "checkout": "https://api-sandbox.tiket.com/order/checkout/40989727/IDR",
  200.   "login_status": "false",
  201.   "token": "711ca2f108922331ccbb046126d89fa0ebb6c9c5"
  202. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement