thom_

Untitled

Aug 24th, 2015
82
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //http://travel.app/train/add?dept=GMR&arr=BD&deptDate=2015-08-27&retDate=&adult=1&child=&infant=&train_id=3&subclass=P&conSalutation=Mr&conFirstName=maryah&conLastName=kereh&conEmailAddress=email@gmail.com&conPhone=0857288323&nameAdult1=Yeni&IdCardAdult1=0548755855&noHpAdult1=085729309494&salutationAdult1=Mr&birthDateAdult1=1989-05-28
  2.  
  3. {
  4. "diagnostic":{
  5. "status":200,
  6. "elapsetime":"0.8833",
  7. "memoryusage":"5.69MB",
  8. "unix_timestamp":1440473219,
  9. "confirm":"success",
  10. "lang":"id",
  11. "currency":"IDR"
  12. },
  13. "output_type":"json",
  14. "login_status":"false",
  15. "token":"66cc1a76d09e952d77dd49e04a38c6eee3edf45f"
  16. }
  17.  
  18.  
  19. //http://travel.app/train/order?token=66cc1a76d09e952d77dd49e04a38c6eee3edf45f
  20.  
  21. {
  22. "diagnostic":{
  23. "status":200,
  24. "elapsetime":"0.1503",
  25. "memoryusage":"5.86MB",
  26. "unix_timestamp":1440473368,
  27. "confirm":"success",
  28. "lang":"id",
  29. "currency":"IDR"
  30. },
  31. "output_type":"json",
  32. "myorder":{
  33. "order_id":"22340807",
  34. "data":[
  35. {
  36. "expire":65,
  37. "order_detail_id":"12637035",
  38. "order_expire_datetime":"2015-08-25 11:11:59",
  39. "order_type":"train",
  40. "order_detail_status":"active",
  41. "detail":{
  42. "arrival_datetime":"2015-08-28 05:57:00",
  43. "departure_datetime":"2015-08-27 23:58:00",
  44. "count_adult":"1",
  45. "count_child":"0",
  46. "count_infant":"0",
  47. "book_code":"GMRBD1440473219",
  48. "train_subclass":"P",
  49. "tiket_seating":"K3AC-2-1-A",
  50. "num_code":"9992833283701",
  51. "train_from":"GMR",
  52. "train_to":"BD",
  53. "train_no":"3",
  54. "train_name":"POLAR EKSPRESS",
  55. "discount_price":"7500.00",
  56. "subclass_type":"umum",
  57. "class_name":"ekonomi",
  58. "passengers":{
  59. "adult":[
  60. {
  61. "traveller_id":"3192555",
  62. "order_detail_id":"12637035",
  63. "profile_id":"5085285",
  64. "type":"adult",
  65. "gender":"M",
  66. "full_name":"Yeni",
  67. "salutation":"Mr",
  68. "birthdate":"0000-00-00",
  69. "phone":"+6285729309494",
  70. "id_card":"0548755855",
  71. "last_update":"2015-08-25 10:18:57"
  72. }
  73. ]
  74. },
  75. "train_from_station":"gambir",
  76. "train_to_station":"bandung",
  77. "price":"142500.00",
  78. "departure_datetime_full":"Kamis, 27 Agustus 2015",
  79. "departure_datetime_full_without_day":"27 Agustus 2015",
  80. "departure_datetime_mini":"27 Agu 2015",
  81. "departure_datetime_short":"25-08-2015",
  82. "arrival_datetime_full":"Jumat, 28 Agustus 2015",
  83. "arrival_datetime_full_without_day":"28 Agustus 2015",
  84. "arrival_datetime_mini":"28 Agu 2015",
  85. "arrival_datetime_short":"25-08-2015"
  86. },
  87. "order_photo":"https://api-sandbox.tiket.com/images/icon_kai.jpg",
  88. "tax_and_charge":"13866.00",
  89. "subtotal_and_charge":"156366.00",
  90. "delete_uri":"https://api-sandbox.tiket.com/order/delete_order?order_detail_id=12637035",
  91. "business_id":"80572"
  92. }
  93. ],
  94. "total":156366,
  95. "total_tax":13866,
  96. "total_without_tax":142500,
  97. "count_installment":0,
  98. "promo":[
  99.  
  100. ],
  101. "discount":"Dapatkan potongan hingga IDR 6.366,00 saat anda checkout . Tidak berlaku untuk Kartu Kredit.",
  102. "discount_amount":"6366.00"
  103. },
  104. "checkout":"https://api-sandbox.tiket.com/order/checkout/22340807/IDR",
  105. "login_status":"false",
  106. "token":"66cc1a76d09e952d77dd49e04a38c6eee3edf45f"
  107. }
RAW Paste Data