Get some details from logged in user
Called after the user is authenticated to get some basic details
GET /global/mysettings
curl \
-X GET https://YOURSITE.infoodle.com/apiv2/global/mysettings \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"page_links": {
"myroster": {
"label": "My Roster",
"url": "https://{sitecode}.infoodle.com/rosterresponse?roster=x1x1x1x1"
}
},
"user": {
"houseid": 5431,
"image": "iVBORw0KGgoAAAANSUhEUgAAAMwAAAB6CAYAAAD....."
},
"email": {
"visible": {
"type": "anyone"
},
"mailtype": {
"mailtype_id": 1,
"mailtype_name": "General Communications"
}
},
"address": {
"streetaddress": {
"text": "Street address",
"mandatory": 1
},
"addressline2": {
"text": "Address line 2"
},
"addressline3": {
"text": "Address line 3"
},
"addressline4": {
"text": "Address line 4"
},
"city": {
"text": "Town/Suburb"
},
"area": {
"text": "Province/State"
},
"postalcode": {
"text": "Postal Code/Zipcode"
}
}
}