Update profile
Operation: UpdateProfile
Updates the user's profile data (contacts, organizational details, publicity flags).
POST /api/v01/User/rest/UpdateProfile Content-Type: application/json
Request body
| Field | Type | Required | Description |
|---|---|---|---|
| UserData.UserID / EmployeeID / Email / IntegrationID | string | one of four | User key |
| UserKeyField | string | no | Leading key name (UserID, EmployeeID, Email, IntegrationID) |
| UserData.UserFirstName, UserLastName, UserAboutMe | string | no | First name, last name, "about me" |
| UserData.UserFirstNamePublic_F, UserLastNamePublic_F, UserAboutMePublic_F | 'X' / empty | no | Publicity flags |
| UserData.AvatarURL, AvatarURLLarge, AvatarURL24, AvatarURL16 | string | no | Avatar URLs |
| UserData.AvatarURLPublic_F | 'X' / empty | no | Avatar publicity |
| UserData.EmailPublic_F | 'X' / empty | no | Email publicity |
| UserData.DateFrom, DateTo | string | no | Record validity period |
| UserData.OrgInfoCustom_F | 'X' / empty | no | Org-info customization |
| UserData.UserCanChangePublic_F | 'X' / empty | no | User can change publicity flags |
| UserData.Skype, Telegram, OtherMessenger, Phone | string | no | Contacts |
| UserData.SkypePublic_F, TelegramPublic_F, OtherMessengerPublic_F, PhonePublic_F | 'X' / empty | no | Contact publicity flags |
| UserData.CountryID, CountryPublic_F | string / 'X' | no | Country and publicity |
| UserData.City, CityPublic_F | string / 'X' | no | City |
| UserData.PostalAddress, PostalAddressPublic_F | string / 'X' | no | Postal address |
| UserData.JobTitleText, JobTitleTextPublic_F | string / 'X' | no | Job title |
| UserData.OrgUnitText, OrgUnitTextPublic_F | string / 'X' | no | Org unit |
| UserData.LineOfBusinessText, LineOfBusinessTextPublic_F | string / 'X' | no | Line of business |
| UserData.CompanyText, CompanyTextPublic_F | string / 'X' | no | Company |
| UserData.WorkOfficeText, WorkOfficeTextPublic_F | string / 'X' | no | Office |
| UserData.SendChangeNotificationTo | string | no | Address for profile-change notifications |
Validation
- One of the user keys must be present.
Response
{
"status": "Success",
"statusCode": 200,
"details": {
"UserID": "0000001234",
"EmployeeID": "EMP001",
"Email": "john.smith@company.com"
}
}