Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- REQUEST -----------------------------------------------------------
- PUT https://threeplusweb-test.lumata.com/core/user/updatemyprofile
- {
- "county": "Dublin",
- "dob": {
- "day": 0,
- "month": 0,
- "year": 0,
- "id": null
- },
- "dobId": null,
- "email": "asd@asd.com",
- "firstName": "asd",
- "gender": "PreferNotToSay",
- "lastName": "asd",
- "msisdn": "0839000120",
- "musicPreferences": null,
- "musicPreferencesId": null,
- "my3GeneralPreferences": [
- {
- "items": [
- {
- "label": "Pop",
- "name": "pop",
- "type": "checkbox",
- "value": false
- },
- {
- "label": "Music Festivals",
- "name": "festivals",
- "type": "checkbox",
- "value": false
- },
- {
- "label": "Dance",
- "name": "dance",
- "type": "checkbox",
- "value": false
- },
- {
- "label": "Hip-Hop",
- "name": "hiphop",
- "type": "checkbox",
- "value": false
- },
- {
- "label": "Country",
- "name": "country",
- "type": "checkbox",
- "value": false
- },
- {
- "label": "Jazz",
- "name": "jazz",
- "type": "checkbox",
- "value": false
- },
- {
- "label": "Folk",
- "name": "folk",
- "type": "checkbox",
- "value": false
- },
- {
- "label": "Rock",
- "name": "rock",
- "type": "checkbox",
- "value": false
- },
- {
- "label": "Classical",
- "name": "classical",
- "type": "checkbox",
- "value": false
- }
- ],
- "preference_name": "Music",
- "preference_state": false
- },
- {
- "items": [
- {
- "label": "Food And Drink",
- "name": "food_drink",
- "type": "checkbox",
- "value": false
- },
- {
- "label": "Shopping",
- "name": "shopping",
- "type": "checkbox",
- "value": false
- },
- {
- "label": "Travel",
- "name": "travel",
- "type": "checkbox",
- "value": false
- },
- {
- "label": "Heath And Beauty",
- "name": "health_beauty",
- "type": "checkbox",
- "value": false
- },
- {
- "label": "Competitions",
- "name": "competitions",
- "type": "checkbox",
- "value": false
- },
- {
- "label": "Cinema",
- "name": "cinema",
- "type": "checkbox",
- "value": false
- }
- ],
- "preference_name": "Offers",
- "preference_state": false
- },
- {
- "items": [
- {
- "label": "Comedy",
- "name": "comedy",
- "type": "checkbox",
- "value": false
- },
- {
- "label": "Cultural Events",
- "name": "cultural_events",
- "type": "checkbox",
- "value": false
- },
- {
- "label": "Esports",
- "name": "esports",
- "type": "checkbox",
- "value": false
- }
- ],
- "preference_name": "Event and Other Sports",
- "preference_state": false
- },
- {
- "items": [],
- "preference_name": "Football",
- "preference_state": false
- }
- ],
- "my3ThreeExtra": [
- {
- "label": "SMS/MMS",
- "name": "sms_mms",
- "type": "checkbox",
- "value": true
- },
- {
- "label": "Email",
- "name": "email",
- "type": "checkbox",
- "value": false
- },
- {
- "label": "Direct Mail(Post)",
- "name": "direct_mail",
- "type": "checkbox",
- "value": false
- },
- {
- "label": "Location Based Messages",
- "name": "location",
- "type": "checkbox",
- "value": false
- },
- {
- "label": "Bespoke Messages",
- "name": "bespoke",
- "type": "checkbox",
- "value": false
- }
- ],
- "my3ThreePlus": [
- {
- "label": "SMS/MMS",
- "name": "sms_mms",
- "type": "checkbox",
- "value": false
- },
- {
- "label": "Email",
- "name": "email",
- "type": "checkbox",
- "value": false
- }
- ],
- "password": null,
- "preferences": null,
- "preferencesId": null,
- "refId": null,
- "registered": null,
- "token": null,
- "uid": "FFFFFF",
- "id": null,
- "threeextra": null
- }
- RESPONSE -----------------------------------------------------------
- {"status":"200"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement