Advertisement
Guest User

Untitled

a guest
Jul 31st, 2015
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. getBookingData (travellerinfo)
  2.  
  3. {
  4.   "traveller": {
  5.     "phones": {
  6.       "office": "(123) 124-1241"
  7.     },
  8.     "id": "55a694660aae201ada000005",
  9.     "type": "Lead",
  10.     "email_address": "kyle.bar@s-trip.com",
  11.     "gender": "male",
  12.     "first_name": "123",
  13.     "last_name": "123",
  14.     "date_of_birth": "1983/01/02"
  15.   },
  16.   "parentguardian": {
  17.     "phones": {}
  18.   },
  19.   "emergencycontact": {
  20.     "phones": {
  21.       "office": "(112) 314-1231"
  22.     },
  23.     "relationship": "Brother",
  24.     "first_name": "123",
  25.     "last_name": "123",
  26.     "email_address": "123@123.com"
  27.   },
  28.   "passport": {
  29.     "has_passport": "0"
  30.   },
  31.   "medical": {
  32.     "medical_condition": "0"
  33.   }
  34. }
  35.  
  36. getBookingData (rooming)
  37.  
  38. {
  39.   "room_type": "econo-suite",
  40.   "occupancy": "2",
  41.   "roommates": [
  42.     {
  43.       "first_name": "234",
  44.       "last_name": "234",
  45.       "email_address": "123@123.com"
  46.     }
  47.   ],
  48.   "know_roommates": true
  49. }
  50.  
  51. getBookingData (insurance)
  52.  
  53. {
  54.   "insurance": "ea14a5fc-c2e7-ff0d-1595-532229dc0ce1",
  55.   "additional_coverage": true,
  56.   "additional_coverage_companyname": "11",
  57.   "additional_coverage_policynumber": "22",
  58.   "additional_coverage_phonenumber": "33"
  59. }
  60.  
  61. getBookingData (payment)
  62.  
  63. {
  64.   "payment_plan": "deposit",
  65.   "payment_method_type": "interac",
  66.   "terms_and_conditions": true
  67. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement