Advertisement
killuaz93

Flight Order API Response Internasional RAW

Jul 20th, 2018
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 13.82 KB | None | 0 0
  1. {
  2.   "diagnostic": {
  3.     "status": 200,
  4.     "elapsetime": "0.3857",
  5.     "memoryusage": "28.28MB",
  6.     "unix_timestamp": 1532065346,
  7.     "confirm": "success",
  8.     "lang": "id",
  9.     "currency": "IDR"
  10.   },
  11.   "output_type": "json",
  12.   "myorder": {
  13.     "order_id": "40989728",
  14.     "data": [
  15.       {
  16.         "expire": 4151,
  17.         "uri": "singapore-airlines",
  18.         "order_detail_id": "61014150",
  19.         "order_expire_datetime": "2018-07-23 09:54:05",
  20.         "order_type": "flight",
  21.         "customer_price": "22170000.00",
  22.         "order_name": "CGK (Jakarta - Cengkareng) - SIN (Singapore)",
  23.         "order_name_detail": "Singaporeair (SQ-961 - Depart)",
  24.         "order_detail_status": "active",
  25.         "detail": {
  26.           "order_detail_id": "61014150",
  27.           "airlines_name": "Singaporeair",
  28.           "flight_number": "SQ-961",
  29.           "trip": "trip",
  30.           "price_adult": "7770000.00",
  31.           "price_child": "5870000.00",
  32.           "price_infant": "760000.00",
  33.           "flight_date": "20 Jul 2018",
  34.           "departure_time": "17:00",
  35.           "arrival_time": "19:50",
  36.           "baggage_fee": "0",
  37.           "departure_airport_name": "Soekarno Hatta",
  38.           "departure_city_name": "Jakarta",
  39.           "arrival_airport_name": "Changi",
  40.           "arrival_city_name": "Singapore",
  41.           "passengers": {
  42.             "adult": [
  43.               {
  44.                 "order_passenger_id": "26939140",
  45.                 "order_detail_id": "61014150",
  46.                 "type": "adult",
  47.                 "first_name": "Krisno",
  48.                 "last_name": "Sotanto",
  49.                 "title": "Mr",
  50.                 "id_number": "",
  51.                 "birth_date": "1992-01-01",
  52.                 "adult_index": null,
  53.                 "passport_no": "12345678",
  54.                 "passport_expiry": "2020-01-01",
  55.                 "passport_issuing_country": "Indonesia",
  56.                 "passport_nationality": "Indonesia",
  57.                 "check_in_baggage": "35 Kg",
  58.                 "check_in_baggage_return": null,
  59.                 "check_in_baggage_size": "35",
  60.                 "check_in_baggage_size_return": null,
  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": "26939141",
  68.                 "order_detail_id": "61014150",
  69.                 "type": "adult",
  70.                 "first_name": "Filbert",
  71.                 "last_name": "Limena",
  72.                 "title": "Mr",
  73.                 "id_number": "",
  74.                 "birth_date": "1993-01-01",
  75.                 "adult_index": null,
  76.                 "passport_no": "12345677",
  77.                 "passport_expiry": "2020-01-01",
  78.                 "passport_issuing_country": "Indonesia",
  79.                 "passport_nationality": "Indonesia",
  80.                 "check_in_baggage": "35 Kg",
  81.                 "check_in_baggage_return": null,
  82.                 "check_in_baggage_size": "35",
  83.                 "check_in_baggage_size_return": null,
  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": "26939142",
  93.                 "order_detail_id": "61014150",
  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": "12345676",
  102.                 "passport_expiry": "2020-01-01",
  103.                 "passport_issuing_country": "Indonesia",
  104.                 "passport_nationality": "Indonesia",
  105.                 "check_in_baggage": "35 Kg",
  106.                 "check_in_baggage_return": null,
  107.                 "check_in_baggage_size": "35",
  108.                 "check_in_baggage_size_return": null,
  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": "26939143",
  118.                 "order_detail_id": "61014150",
  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": "12345675",
  127.                 "passport_expiry": "2020-01-01",
  128.                 "passport_issuing_country": "Indonesia",
  129.                 "passport_nationality": "Indonesia",
  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-07-20",
  141.           "price": 22170000,
  142.           "breakdown_price": [
  143.             {
  144.               "category": "price adult",
  145.               "type": "none",
  146.               "value": 7770000,
  147.               "currency": "IDR",
  148.               "text": "Harga Dewasa"
  149.             },
  150.             {
  151.               "category": "price child",
  152.               "type": "none",
  153.               "value": 5870000,
  154.               "currency": "IDR",
  155.               "text": "Harga Anak"
  156.             },
  157.             {
  158.               "category": "price infant",
  159.               "type": "none",
  160.               "value": 760000,
  161.               "currency": "IDR",
  162.               "text": "Harga Bayi"
  163.             },
  164.             {
  165.               "category": "total base price",
  166.               "type": "price",
  167.               "value": 22170000,
  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": "SIN",
  181.           "class": "Y"
  182.         },
  183.         "order_photo": "https://api-sandbox.tiket.com/images/icon_singaporeair.jpg",
  184.         "order_icon": "h3b",
  185.         "tax_and_charge": "0.00",
  186.         "subtotal_and_charge": "22170000.00",
  187.         "delete_uri": "https://api-sandbox.tiket.com/order/delete_order?order_detail_id=61014150&order_id=40989728&order_hash=facc143d8092c2a33021c883f9a261651b739eeb",
  188.         "business_id": "22593739"
  189.       },
  190.       {
  191.         "expire": 4151,
  192.         "uri": "singapore-airlines",
  193.         "order_detail_id": "61014151",
  194.         "order_expire_datetime": "2018-07-23 09:54:06",
  195.         "order_type": "flight",
  196.         "customer_price": "19263100.00",
  197.         "order_name": "SIN (Singapore) - CGK (Jakarta - Cengkareng)",
  198.         "order_name_detail": "Singaporeair (SQ-968 - Return)",
  199.         "order_detail_status": "active",
  200.         "detail": {
  201.           "order_detail_id": "61014151",
  202.           "airlines_name": "Singaporeair",
  203.           "flight_number": "SQ-968",
  204.           "trip": "round",
  205.           "price_adult": "6730700.00",
  206.           "price_child": "5177700.00",
  207.           "price_infant": "624000.00",
  208.           "flight_date": "20 Jul 2018",
  209.           "departure_time": "21:55",
  210.           "arrival_time": "22:40",
  211.           "baggage_fee": "0",
  212.           "departure_airport_name": "Changi",
  213.           "departure_city_name": "Singapore",
  214.           "arrival_airport_name": "Soekarno Hatta",
  215.           "arrival_city_name": "Jakarta",
  216.           "passengers": {
  217.             "adult": [
  218.               {
  219.                 "order_passenger_id": "26939144",
  220.                 "order_detail_id": "61014151",
  221.                 "type": "adult",
  222.                 "first_name": "Krisno",
  223.                 "last_name": "Sotanto",
  224.                 "title": "Mr",
  225.                 "id_number": "",
  226.                 "birth_date": "1992-01-01",
  227.                 "adult_index": null,
  228.                 "passport_no": "12345678",
  229.                 "passport_expiry": "2020-01-01",
  230.                 "passport_issuing_country": "Indonesia",
  231.                 "passport_nationality": "Indonesia",
  232.                 "check_in_baggage": "35 Kg",
  233.                 "check_in_baggage_return": null,
  234.                 "check_in_baggage_size": "35",
  235.                 "check_in_baggage_size_return": null,
  236.                 "passport_issued_date": null,
  237.                 "birth_country": null,
  238.                 "ticket_number": null,
  239.                 "check_in_baggage_unit": "kg"
  240.               },
  241.               {
  242.                 "order_passenger_id": "26939145",
  243.                 "order_detail_id": "61014151",
  244.                 "type": "adult",
  245.                 "first_name": "Filbert",
  246.                 "last_name": "Limena",
  247.                 "title": "Mr",
  248.                 "id_number": "",
  249.                 "birth_date": "1993-01-01",
  250.                 "adult_index": null,
  251.                 "passport_no": "12345677",
  252.                 "passport_expiry": "2020-01-01",
  253.                 "passport_issuing_country": "Indonesia",
  254.                 "passport_nationality": "Indonesia",
  255.                 "check_in_baggage": "35 Kg",
  256.                 "check_in_baggage_return": null,
  257.                 "check_in_baggage_size": "35",
  258.                 "check_in_baggage_size_return": null,
  259.                 "passport_issued_date": null,
  260.                 "birth_country": null,
  261.                 "ticket_number": null,
  262.                 "check_in_baggage_unit": "kg"
  263.               }
  264.             ],
  265.             "child": [
  266.               {
  267.                 "order_passenger_id": "26939146",
  268.                 "order_detail_id": "61014151",
  269.                 "type": "child",
  270.                 "first_name": "Boby",
  271.                 "last_name": "Hartanto",
  272.                 "title": "Mstr",
  273.                 "id_number": "",
  274.                 "birth_date": "2008-01-01",
  275.                 "adult_index": null,
  276.                 "passport_no": "12345676",
  277.                 "passport_expiry": "2020-01-01",
  278.                 "passport_issuing_country": "Indonesia",
  279.                 "passport_nationality": "Indonesia",
  280.                 "check_in_baggage": "35 Kg",
  281.                 "check_in_baggage_return": null,
  282.                 "check_in_baggage_size": "35",
  283.                 "check_in_baggage_size_return": null,
  284.                 "passport_issued_date": null,
  285.                 "birth_country": null,
  286.                 "ticket_number": null,
  287.                 "check_in_baggage_unit": "kg"
  288.               }
  289.             ],
  290.             "infant": [
  291.               {
  292.                 "order_passenger_id": "26939147",
  293.                 "order_detail_id": "61014151",
  294.                 "type": "infant",
  295.                 "first_name": "Faridh",
  296.                 "last_name": "Maulana",
  297.                 "title": "Mstr",
  298.                 "id_number": "",
  299.                 "birth_date": "2018-01-01",
  300.                 "adult_index": "1",
  301.                 "passport_no": "12345675",
  302.                 "passport_expiry": "2020-01-01",
  303.                 "passport_issuing_country": "Indonesia",
  304.                 "passport_nationality": "Indonesia",
  305.                 "check_in_baggage": null,
  306.                 "check_in_baggage_return": null,
  307.                 "check_in_baggage_size": null,
  308.                 "check_in_baggage_size_return": null,
  309.                 "passport_issued_date": null,
  310.                 "birth_country": null,
  311.                 "ticket_number": null
  312.               }
  313.             ]
  314.           },
  315.           "real_flight_date": "2018-07-20",
  316.           "price": 19263100,
  317.           "breakdown_price": [
  318.             {
  319.               "category": "price adult",
  320.               "type": "none",
  321.               "value": 6730700,
  322.               "currency": "IDR",
  323.               "text": "Harga Dewasa"
  324.             },
  325.             {
  326.               "category": "price child",
  327.               "type": "none",
  328.               "value": 5177700,
  329.               "currency": "IDR",
  330.               "text": "Harga Anak"
  331.             },
  332.             {
  333.               "category": "price infant",
  334.               "type": "none",
  335.               "value": 624000,
  336.               "currency": "IDR",
  337.               "text": "Harga Bayi"
  338.             },
  339.             {
  340.               "category": "total base price",
  341.               "type": "price",
  342.               "value": 19263100,
  343.               "currency": "IDR",
  344.               "text": "Harga Total"
  345.             },
  346.             {
  347.               "category": "baggage fee",
  348.               "type": "add",
  349.               "value": "0",
  350.               "currency": "IDR",
  351.               "text": "Biaya Bagasi"
  352.             }
  353.           ],
  354.           "departure_city": "SIN",
  355.           "arrival_city": "CGK",
  356.           "class": "Y"
  357.         },
  358.         "order_photo": "https://api-sandbox.tiket.com/images/icon_singaporeair.jpg",
  359.         "order_icon": "h3b",
  360.         "tax_and_charge": "0.00",
  361.         "subtotal_and_charge": "19263100.00",
  362.         "delete_uri": "https://api-sandbox.tiket.com/order/delete_order?order_detail_id=61014151&order_id=40989728&order_hash=facc143d8092c2a33021c883f9a261651b739eeb",
  363.         "business_id": "22593739"
  364.       }
  365.     ],
  366.     "total": 41433100,
  367.     "total_tax": 0,
  368.     "total_without_tax": 41433100,
  369.     "count_installment": 0,
  370.     "promo": [],
  371.     "discount": 0,
  372.     "discount_amount": 0
  373.   },
  374.   "checkout": "https://api-sandbox.tiket.com/order/checkout/40989728/IDR",
  375.   "login_status": "false",
  376.   "token": "facc143d8092c2a33021c883f9a261651b739eeb"
  377. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement