Advertisement
Vincent_Courtin

OJ SECURITY authentification return

Jul 29th, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.41 KB | None | 0 0
  1. {
  2.   "id": "2362ec66120082bdd64f7d679eeed15e84ec251a",
  3.   "username": "newemail@openjet.com",
  4.   "roles": [
  5.     "ROLE_AGENCY"
  6.   ],
  7.   "secretKey": "516d48a36b2d5def741d10cf0307ff90fcb0e6da49e79c7da6135a265b5d3948b362a33dcd80bd5283e4e911e8ea2605207bd29144e3b715ead9509b9d8846bc",
  8.   "phone": "0123456789",
  9.   "billingAddress": null,
  10.   "pricingRequest": [],
  11.   "userType": "agency",
  12.   "travelers": [
  13.     {
  14.       "id": "93a5fa2be337a92739e1e263ce601d5ca441707e",
  15.       "firstname": "MODIFIEDTRAVELLER",
  16.       "lastname": "LAMBDA",
  17.       "gender": 0,
  18.       "phone": "1234567890",
  19.       "email": "traveller.lambda@openjet.com",
  20.       "nationality": "Française",
  21.       "weight": "70.00",
  22.       "metric": 0,
  23.       "passport_num": "1234567890",
  24.       "expiration_date": {
  25.         "date": "2023-08-05 00:00:00",
  26.         "timezone_type": 3,
  27.         "timezone": "Europe/Paris"
  28.       },
  29.       "birth_date": {
  30.         "date": "1926-07-07 00:00:00",
  31.         "timezone_type": 3,
  32.         "timezone": "Europe/Paris"
  33.       },
  34.       "userId": "2362ec66120082bdd64f7d679eeed15e84ec251a"
  35.     },
  36.     {
  37.       "id": "f411b99581c058249f90c03e298128715dd78a26",
  38.       "firstname": "Lambda",
  39.       "lastname": "Traveller",
  40.       "gender": 0,
  41.       "phone": "1234567890",
  42.       "email": "traveller.lambda@openjet.com",
  43.       "nationality": "Française",
  44.       "weight": "70.00",
  45.       "metric": 0,
  46.       "passport_num": "1234567890",
  47.       "expiration_date": {
  48.         "date": "2023-08-05 00:00:00",
  49.         "timezone_type": 3,
  50.         "timezone": "Europe/Paris"
  51.       },
  52.       "birth_date": {
  53.         "date": "1926-07-07 00:00:00",
  54.         "timezone_type": 3,
  55.         "timezone": "Europe/Paris"
  56.       },
  57.       "userId": "2362ec66120082bdd64f7d679eeed15e84ec251a"
  58.     }
  59.   ],
  60.   "name": "OpenJet Agency",
  61.   "amadeusKey": "OJAGENCY",
  62.   "bankTransferAvailable": true,
  63.   "intraCommunityVATNumber": "1234567890",
  64.   "siret": "1234567890",
  65.   "status": 2,
  66.   "agents": [
  67.     {
  68.       "agentId": "AGENTOJ",
  69.       "firstname": "AGENT",
  70.       "lastname": "LAMBDA",
  71.       "phone": "0123456789",
  72.       "email": "agentoj@openjet.com",
  73.       "agencyId": "2362ec66120082bdd64f7d679eeed15e84ec251a"
  74.     },
  75.     {
  76.       "agentId": "AGENTOJf",
  77.       "firstname": "AGENT",
  78.       "lastname": "LAMBDA",
  79.       "phone": "0123456789",
  80.       "email": "agentoj@openjet.com",
  81.       "agencyId": "2362ec66120082bdd64f7d679eeed15e84ec251a"
  82.     }
  83.   ]
  84. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement