Récupérer les informations du profil
Requête:
GET /hubs/{hub}/_vti_bin/hubprofileservice.svc/GetMyProfile
Réponse:
Format: JSON
{
"AllowUserFinderNotification": true,
"Browsable": true,
"CellPhone": "...",
"Comments": "...",
"Company": "...",
"Customization": {
"https://portal.geolys.io/hubs/{defaulthub}": {
"defaultVenue":{
"value":"...,
"id":"0"
},
"venue":"1",
"shortcuts":"[]"
}
},
"Email": "jeremy.taverne@tevolys.com",
"FirstName": "Jérémy",
"FullName": "TAVERNE Jérémy",
"Groups": [{
"ID": 8,
"Name": "Administrateurs de structure"
}],
"HasAccessToAdministration":true,
"HomePhone":null,
"ID":6,
"IsFavorite": null,
"JobTitle": null,
"LastName": "TAVERNE",
"LoginName": "jtaverne",
"Office": null,
"PictureUrl": "https://portal.geolys.io/hubs/..jpg",
"SPProfileItemID": 104,
"SPProfileListUrl":"/Lists/...",
"Skype": null,
"UserIsConnected": true,
"UserIsOnSite": null,
"WebPage": null,
"WorkCity": null,
"WorkCountry": null,
"WorkFax": null,
"WorkPhone": null,
"WorkState": null,
"WorkZip": null
}
"AllowUserFinderNotification": true,
"Browsable": true,
"CellPhone": "...",
"Comments": "...",
"Company": "...",
"Customization": {
"https://portal.geolys.io/hubs/{defaulthub}": {
"defaultVenue":{
"value":"...,
"id":"0"
},
"venue":"1",
"shortcuts":"[]"
}
},
"Email": "jeremy.taverne@tevolys.com",
"FirstName": "Jérémy",
"FullName": "TAVERNE Jérémy",
"Groups": [{
"ID": 8,
"Name": "Administrateurs de structure"
}],
"HasAccessToAdministration":true,
"HomePhone":null,
"ID":6,
"IsFavorite": null,
"JobTitle": null,
"LastName": "TAVERNE",
"LoginName": "jtaverne",
"Office": null,
"PictureUrl": "https://portal.geolys.io/hubs/..jpg",
"SPProfileItemID": 104,
"SPProfileListUrl":"/Lists/...",
"Skype": null,
"UserIsConnected": true,
"UserIsOnSite": null,
"WebPage": null,
"WorkCity": null,
"WorkCountry": null,
"WorkFax": null,
"WorkPhone": null,
"WorkState": null,
"WorkZip": null
}
Récupérer la photo du profil
Requête:
GET /hubs/{hub}/_vti_bin/hubprofileservice.svc/GetMyProfilePictureUrl
Réponse:
Format: JSON
"https://portal.geolys.io/hubs/tevolys/Images...jpg"
Mise à jour du profil
Requête:
GET /hubs/{hub}/_vti_bin/hubprofileservice.svc/UpdateMyProfile