Advertisement
Guest User

Untitled

a guest
Apr 21st, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 4.59 KB | None | 0 0
  1. REQUEST -----------------------------------------------------------
  2.  
  3. PUT https://threeplusweb-test.lumata.com/core/user/updatemyprofile
  4.  
  5. {
  6.   "county": "Dublin",
  7.   "dob": {
  8.     "day": 0,
  9.     "month": 0,
  10.     "year": 0,
  11.     "id": null
  12.   },
  13.   "dobId": null,
  14.   "email": "asd@asd.com",
  15.   "firstName": "asd",
  16.   "gender": "PreferNotToSay",
  17.   "lastName": "asd",
  18.   "msisdn": "0839000120",
  19.   "musicPreferences": null,
  20.   "musicPreferencesId": null,
  21.   "my3GeneralPreferences": [
  22.     {
  23.       "items": [
  24.         {
  25.           "label": "Pop",
  26.           "name": "pop",
  27.           "type": "checkbox",
  28.           "value": false
  29.         },
  30.         {
  31.           "label": "Music Festivals",
  32.           "name": "festivals",
  33.           "type": "checkbox",
  34.           "value": false
  35.         },
  36.         {
  37.           "label": "Dance",
  38.           "name": "dance",
  39.           "type": "checkbox",
  40.           "value": false
  41.         },
  42.         {
  43.           "label": "Hip-Hop",
  44.           "name": "hiphop",
  45.           "type": "checkbox",
  46.           "value": false
  47.         },
  48.         {
  49.           "label": "Country",
  50.           "name": "country",
  51.           "type": "checkbox",
  52.           "value": false
  53.         },
  54.         {
  55.           "label": "Jazz",
  56.           "name": "jazz",
  57.           "type": "checkbox",
  58.           "value": false
  59.         },
  60.         {
  61.           "label": "Folk",
  62.           "name": "folk",
  63.           "type": "checkbox",
  64.           "value": false
  65.         },
  66.         {
  67.           "label": "Rock",
  68.           "name": "rock",
  69.           "type": "checkbox",
  70.           "value": false
  71.         },
  72.         {
  73.           "label": "Classical",
  74.           "name": "classical",
  75.           "type": "checkbox",
  76.           "value": false
  77.         }
  78.       ],
  79.       "preference_name": "Music",
  80.       "preference_state": false
  81.     },
  82.     {
  83.       "items": [
  84.         {
  85.           "label": "Food And Drink",
  86.           "name": "food_drink",
  87.           "type": "checkbox",
  88.           "value": false
  89.         },
  90.         {
  91.           "label": "Shopping",
  92.           "name": "shopping",
  93.           "type": "checkbox",
  94.           "value": false
  95.         },
  96.         {
  97.           "label": "Travel",
  98.           "name": "travel",
  99.           "type": "checkbox",
  100.           "value": false
  101.         },
  102.         {
  103.           "label": "Heath And Beauty",
  104.           "name": "health_beauty",
  105.           "type": "checkbox",
  106.           "value": false
  107.         },
  108.         {
  109.           "label": "Competitions",
  110.           "name": "competitions",
  111.           "type": "checkbox",
  112.           "value": false
  113.         },
  114.         {
  115.           "label": "Cinema",
  116.           "name": "cinema",
  117.           "type": "checkbox",
  118.           "value": false
  119.         }
  120.       ],
  121.       "preference_name": "Offers",
  122.       "preference_state": false
  123.     },
  124.     {
  125.       "items": [
  126.         {
  127.           "label": "Comedy",
  128.           "name": "comedy",
  129.           "type": "checkbox",
  130.           "value": false
  131.         },
  132.         {
  133.           "label": "Cultural Events",
  134.           "name": "cultural_events",
  135.           "type": "checkbox",
  136.           "value": false
  137.         },
  138.         {
  139.           "label": "Esports",
  140.           "name": "esports",
  141.           "type": "checkbox",
  142.           "value": false
  143.         }
  144.       ],
  145.       "preference_name": "Event and Other Sports",
  146.       "preference_state": false
  147.     },
  148.     {
  149.       "items": [],
  150.       "preference_name": "Football",
  151.       "preference_state": false
  152.     }
  153.   ],
  154.   "my3ThreeExtra": [
  155.     {
  156.       "label": "SMS/MMS",
  157.       "name": "sms_mms",
  158.       "type": "checkbox",
  159.       "value": true
  160.     },
  161.     {
  162.       "label": "Email",
  163.       "name": "email",
  164.       "type": "checkbox",
  165.       "value": false
  166.     },
  167.     {
  168.       "label": "Direct Mail(Post)",
  169.       "name": "direct_mail",
  170.       "type": "checkbox",
  171.       "value": false
  172.     },
  173.     {
  174.       "label": "Location Based Messages",
  175.       "name": "location",
  176.       "type": "checkbox",
  177.       "value": false
  178.     },
  179.     {
  180.       "label": "Bespoke Messages",
  181.       "name": "bespoke",
  182.       "type": "checkbox",
  183.       "value": false
  184.     }
  185.   ],
  186.   "my3ThreePlus": [
  187.     {
  188.       "label": "SMS/MMS",
  189.       "name": "sms_mms",
  190.       "type": "checkbox",
  191.       "value": false
  192.     },
  193.     {
  194.       "label": "Email",
  195.       "name": "email",
  196.       "type": "checkbox",
  197.       "value": false
  198.     }
  199.   ],
  200.   "password": null,
  201.   "preferences": null,
  202.   "preferencesId": null,
  203.   "refId": null,
  204.   "registered": null,
  205.   "token": null,
  206.   "uid": "FFFFFF",
  207.   "id": null,
  208.   "threeextra": null
  209. }
  210.  
  211.  
  212. RESPONSE -----------------------------------------------------------
  213.  
  214. {"status":"200"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement