Guest User

Untitled

a guest
May 26th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.66 KB | None | 0 0
  1. code::String - Product Code
  2. price::Number - Price in pence
  3. name::String - Name of the product
  4. images::Array[Object] - Product images
  5. 0
  6. src
  7. alt
  8. brand_image::String - Main product image
  9. videos::Object
  10. youtube::String - Video code (ex. trbGz1o4Pvs)
  11. wistia::String - Video code (ex. trbGz1o4Pvs)
  12. discount
  13. amount::Number - The amout of the discout in pence (ex. 520)
  14. original_price::Number - The original price in pence (ex. 5199)
  15. text::String - A text next to discount (ex. "the discount is")
  16. percent:Number - Discount percent (ex. 10)
  17. email_discount::Boolean - ?
  18. similar_products::Array[?] - ?
  19. grouping_name::String - A name to group products by? Can be the same as name (ex. Long Stay T2)
  20. upsell_upgrade::String - A code for the upsell upgrade (ex. MANMF2)
  21. upsell_products:Array[?] - ?
  22. upsell_title::String - A part of the title of the upsell modal (ex. "add Security Fast Track passes")
  23. upsell_text::String - The text describing the upsell
  24. ghost_upsell_products::Array[?] - ?
  25. type::String - The type of product (ex. carpark). Maybe rename it to make it more clear?
  26. gate_price::Number - The price you would pay for the product if you don't prebook and pay on the gate
  27. score
  28. num_reviews::Number - The number of reviews for the product
  29. num_comments::Number - The number of comments for the product
  30. will_book_again_percentage::Number - A number showing the percentage of people likely to book again (ex. 90.0)
  31. score::Number - Score number out of 5 (ex. 4.4)
  32. pull_quote?
  33. comment?
  34. name?
  35. cancellation
  36. payment_surcharge - What is it and where is it used? Answer from Caroline: "There shouldn’t be any surcharges now, since credit card fees were outlawed earlier this year. I think the functionality still exists though in case we want to repurpose it for something else (it’s in CHIPS)"
  37. debit - All are numbers
  38. percent
  39. min
  40. max
  41. calculated
  42. total
  43. credit - All are numbers
  44. percent
  45. min
  46. max
  47. calculated
  48. total
  49. schedule::String - From and until string for the duration product usage (ex. "From Fri 18th May 2018 at 15:00 until Sat 19th May 2018 at 13:00")
  50. location
  51. code::String - Airport code (ex. MAN)
  52. name::String - Name of location (ex. Manchester)
  53. regional_hotel_info::String - Not sure why it's called hotel_info, since it also shows on carparks. An example string is "If you are travelling with Jet2, please check with your flight provider to confirm which terminal you are travelling from.<br />\r\n"
  54. type::String - Location type (ex. carpark) Maybe use Enum?
  55. iata::String - ex. MAN
  56. is_refundable::Boolean
  57. equivalent_flex_products::Array[?] - ?
  58. is_cancellable::Boolean
  59. special_offer::Boolean
  60. on_airport::Boolean - I guess it can be carparking off the airport, for ex. at the hotel or on a third party locaiton
  61. walking_distance_to_airport::Boolean
  62. address::String - ex. "Manchester Airport - Multi Storey T3,\nManchester Airport,\nM90 1QX"
  63. postcode::String
  64. car_parked_for_you::Boolean
  65. introduction::String - An introduction coming from the parking provider (ex. "It's lashing down with rain and blowing a gale - but at least if you park in the multi-storey at terminal 3 you know you won't get wet. You can just park and walk to the terminal. Quick and easy - just as well when you've got a plane to catch.\r\n")
  66. meet_and_greet::Boolean
  67. terminals::Array[Number] - An array of number representig at which terminal the parking is
  68. transfers
  69. price::Number? - It's null in the response, which is a bit strange
  70. travel_time::String - I believe it's in minutes (ex. "5-10")
  71. from::String - Time (ex. "00:00")
  72. to::String - Time (ex. "23:59")
  73. frequency::Number - Probably in minutes (ex. 10)
  74. frequency_note::? - ?
  75. available_24_hours::Boolean
  76. included_in_price::Boolean
  77. text::String - Additional info I guess (ex. included in price)
  78. transfers_summary::String - Text (ex. Getting to the airport couldn't be simpler from your car park - simply catch a transfer bus, which runs every 10 minutes, 24-hours a day, and in 5-10 minutes, you'll be at check-in.)
  79. transfers_tip::String - Text (ex. run every 10 minutes, take 10 minutes and are included in the price)
  80. distance_miles::Number - Distance to what - airport? (ex. 1). Could be renamed
  81. logo::Stirng - URL to image. In this case it's the same as the brand image. Why do we need it?
  82. selling_texts::Array[String] - Array with sentences with sells pitches (ex. "Award-winning security."). Why is it an array? The only way we can present them is with bullet points.
  83. sellpoints - All are strings. Sells pitches no each of the topics. But why do we need both this and selling texts then?
  84. location
  85. terminal
  86. transfers
  87. parking
  88. security
  89. directions::String - HTML text giving directions on how you can reach the target.
  90. info_block::String - More like instructions and additional info once you arrive. Can be renamed?
  91. sales_introduction::? - ?
  92. map_pins
  93. 0
  94. name::String
  95. lat::Number
  96. lon::Number
  97. src::String - A URL pointing to a pin icon
  98. code::String - A code about what? It's the same as code. Why do we need them both
  99. label?
  100. type::String - Type of the pin I guess? ex. "parking" Maybe enum
  101. marker_name::String - what's the difference between marker_name and name? They're the same in the response
  102. id::String - It's the same as code. Why do we need them both?
  103. terminal?
  104. telephone::String
  105. fax::String
  106. features::String - A text showing some kind of features? Why do we need it? (ex. "On Airport")
  107. security_measures::String - Some text showing how amazingly secure the parking is. Why do we need so many of them?
  108. information::String - Additional info
  109. disabled_facilities::String - Text describing if and what disabled facilities the product has
  110. maximum_car_size::String - Text describing car size restrictions
  111. insurance::String - Text stating the insurance conditions
  112. supplier?
  113. holiday_extras_group::Boolean - Maybe shows if this is part of the HX group (whatever that is)?
  114. car_stored_at::String - ex. "secured site"
  115. park_mark::Boolean - ?
  116. recommended::Boolean - Recommended by who? HX?
  117. congestion_charge::Boolean
  118. special_condition?
  119. distance_to_terminals - All are numbers
  120. all
  121. 0
  122. terminal
  123. distance
  124. duration
  125. closest
  126. terminal
  127. distance
  128. duration
  129. unnamed::Boolean - wat?
  130. tags?
  131. cruise_lines?
  132. qr_code::Boolean - qr code for what?
  133. product_terms?
  134. alternative_product_code::Array[String]
  135. arrival_procedures::String - Text explaining details upon arrival
  136. departure_procedures - Text explaining details upon departure
  137. procedures
  138. 0
  139. date::Date
  140. meta::String - ex day_fly
  141. content - Texts that you can already find from some of the properties above.
  142. directions - Same as 'directions' prop
  143. address - Same as 'address' prop
  144. procedures - Same as arrival_procedures or departure_procedures
  145. transfers - Same as 'transfers_summary'
  146. 1 - The same as 0, but just for 'day_return'
  147.  
  148.  
  149.  
  150. ***
  151. *** The properties below seem to be calls to other endpoints
  152. *** Not sure how relative they are to the spike
  153. ***
  154.  
  155. book_at
  156. method
  157. path
  158. params
  159. agent
  160. booking
  161. code
  162. total_price
  163. upgrades []
  164. params
  165. email
  166. payment_card_expiry
  167. payment_card_issue_num
  168. payment_card_number
  169. payment_card_security_code
  170. payment_card_start
  171. title
  172. first_name
  173. last_name
  174. mobile
  175. phone
  176. postcode
  177. out_flight
  178. number_of_passengers
  179. operator_initials
  180. code
  181. price
  182. registration
  183. car_make
  184. car_model
  185. car_colour
  186. return_flight
  187. from
  188. to
  189. location
  190. agent
  191. launch_id
  192. payment
  193. required
  194. options
  195. card_with_security_code
  196. card_holder
  197. number
  198. start
  199. expiry
  200. issue_num
  201. security_code
  202. chips_booking
  203. ref
  204. last_four
  205. expiry
  206. card_token
  207. token
  208. expiry
  209. security_code
  210. card_session
  211. session_id
  212. security_code
  213. meta
  214. card
  215. brands String[]
  216. verification_code
  217. discount_code
  218. launch_id
  219. validation
  220. title
  221. options Enum maybe? Currently it's an array
  222. 0 Mr
  223. 1 Mrs
  224. 2 Ms
  225. 3 Miss
  226. upgrade_at
  227. method
  228. path
  229. params
  230. agent
  231. launch_id
  232. code
  233. price
  234. from
  235. to
  236. location
  237. pay_at
  238. method
  239. path
  240. params
  241. agent
  242. booking
  243. code
  244. total_price
  245. upgrades
  246. params
  247. email
  248. payment_card_expiry
  249. payment_card_issue_num
  250. payment_card_number
  251. payment_card_security_code
  252. payment_card_start
  253. code
  254. price
  255. from
  256. to
  257. location
  258. agent
  259. launch_id
  260. payment
  261. required
  262. options
  263. card_with_security_code
  264. card_holder
  265. number
  266. start
  267. expiry
  268. issue_num
  269. security_code
  270. chips_booking
  271. ref
  272. last_four
  273. expiry
  274. card_token
  275. token
  276. expiry
  277. security_code
  278. card_session
  279. session_id
  280. security_code
  281. meta
  282. card
  283. brands Enum maybe? Currently String[]
  284. 0 visadebit
  285. 1 master
  286. 2 visa
  287. 3 amex
  288. 4 visaelectron
  289. verification_code
  290. discount_code
  291. launch_id
  292. validation
  293.  
  294. flow_at
  295. method
  296. path
  297. params
  298. agent
  299. launch_id
  300. code
  301. price
  302. from
  303. to
  304. location
  305.  
  306. _meta
  307. location
  308. code
  309. name
  310. regional_hotel_info
  311. type
  312. iata
  313. agent
  314. code
  315. name
  316. phone
  317. type
  318. group
  319. brand
  320. is_cashback
  321. is_ppc
  322. pretick_selected_upgrades_for
  323. flight
  324. currency
  325.  
  326. pin_at
  327. method
  328. path
  329. params
  330. agent
  331. product_type
  332. from
  333. to
  334. location
  335. launch_id
Add Comment
Please, Sign In to add comment