PUT api/UserProfile/SetLanguage
Request Information
URI Parameters
None.
Body Parameters
UserProfileName | Description | Type | Additional information |
---|---|---|---|
NameIdentifier | string |
None. |
|
Name | string |
None. |
|
string |
None. |
||
AvatarUri | URI |
None. |
|
InstitutionIdentity | globally unique identifier |
None. |
|
InstitutionName | string |
None. |
|
ResourceIdentities | Collection of globally unique identifier |
None. |
|
Roles | Collection of string |
None. |
|
Groups | Collection of string |
None. |
|
UserGroups | Collection of NamedObject |
None. |
|
UserLanguage | string |
None. |
|
UserTimeZone | string |
None. |
|
NotificationsEnabled | boolean |
None. |
|
NotificationsEmail | string |
None. |
|
Scopes | Collection of string |
None. |
|
VisibleStatuses | Collection of ActivityManagerStatus |
None. |
|
ActivityManagerIncludeOccurrencesOutsideDateFilter | boolean |
None. |
|
ActivityManagerIsTableCompact | boolean |
None. |
|
ActivityManagerIsTableExpanded | boolean |
None. |
|
ActivityManagerIsManageStatusesCompact | boolean |
None. |
|
ImportExportPermissions | ImportExportPermissions |
None. |
|
CanViewMyPermissions | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "NameIdentifier": "sample string 1", "Name": "sample string 2", "Email": "sample string 3", "AvatarUri": "http://webapihelppage4.com", "InstitutionIdentity": "80053b3a-a8dd-4d43-90a0-e67dd63db3a3", "InstitutionName": "sample string 6", "ResourceIdentities": [ "787eea1c-5c4d-40a4-9391-6211ba5595d0", "dd783c0c-7cbd-4974-b296-3a9b4e6d2376" ], "Roles": [ "sample string 1", "sample string 2" ], "Groups": [ "sample string 1", "sample string 2" ], "UserGroups": [ { "Identity": "841f00a4-4cbb-4f12-90f0-71cdae32f536", "Name": "sample string 2" }, { "Identity": "841f00a4-4cbb-4f12-90f0-71cdae32f536", "Name": "sample string 2" } ], "UserLanguage": "sample string 7", "UserTimeZone": "sample string 8", "NotificationsEnabled": true, "NotificationsEmail": "sample string 10", "Scopes": [ "sample string 1", "sample string 2" ], "VisibleStatuses": [ { "Identity": "51d99dc8-fe55-4d3d-b1f2-a5f403f64230", "Name": "sample string 2", "Description": "sample string 3", "SendNotifications": true, "BackgroundColor": "sample string 5", "TextColor": "sample string 6", "UseColor": true, "Rank": 8, "IsReadOnly": true }, { "Identity": "51d99dc8-fe55-4d3d-b1f2-a5f403f64230", "Name": "sample string 2", "Description": "sample string 3", "SendNotifications": true, "BackgroundColor": "sample string 5", "TextColor": "sample string 6", "UseColor": true, "Rank": 8, "IsReadOnly": true } ], "ActivityManagerIncludeOccurrencesOutsideDateFilter": true, "ActivityManagerIsTableCompact": true, "ActivityManagerIsTableExpanded": true, "ActivityManagerIsManageStatusesCompact": true, "ImportExportPermissions": { "ResourcePermissions": true, "ResourceCustomFields": true, "UserGroups": true, "Bookings": true }, "CanViewMyPermissions": true }
application/xml, text/xml
Sample:
<UserProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model.ToDoModels"> <ActivityManagerIncludeOccurrencesOutsideDateFilter>true</ActivityManagerIncludeOccurrencesOutsideDateFilter> <ActivityManagerIsManageStatusesCompact>true</ActivityManagerIsManageStatusesCompact> <ActivityManagerIsTableCompact>true</ActivityManagerIsTableCompact> <ActivityManagerIsTableExpanded>true</ActivityManagerIsTableExpanded> <AvatarUri>http://webapihelppage4.com/</AvatarUri> <CanViewMyPermissions>true</CanViewMyPermissions> <Email>sample string 3</Email> <Groups xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Groups> <ImportExportPermissions xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model"> <d2p1:Bookings>true</d2p1:Bookings> <d2p1:ResourceCustomFields>true</d2p1:ResourceCustomFields> <d2p1:ResourcePermissions>true</d2p1:ResourcePermissions> <d2p1:UserGroups>true</d2p1:UserGroups> </ImportExportPermissions> <InstitutionIdentity>80053b3a-a8dd-4d43-90a0-e67dd63db3a3</InstitutionIdentity> <InstitutionName>sample string 6</InstitutionName> <Name>sample string 2</Name> <NameIdentifier>sample string 1</NameIdentifier> <NotificationsEmail>sample string 10</NotificationsEmail> <NotificationsEnabled>true</NotificationsEnabled> <ResourceIdentities xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>787eea1c-5c4d-40a4-9391-6211ba5595d0</d2p1:guid> <d2p1:guid>dd783c0c-7cbd-4974-b296-3a9b4e6d2376</d2p1:guid> </ResourceIdentities> <Roles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Roles> <Scopes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Scopes> <UserGroups xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d2p1:NamedObject> <d2p1:Identity>841f00a4-4cbb-4f12-90f0-71cdae32f536</d2p1:Identity> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:NamedObject> <d2p1:NamedObject> <d2p1:Identity>841f00a4-4cbb-4f12-90f0-71cdae32f536</d2p1:Identity> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:NamedObject> </UserGroups> <UserLanguage>sample string 7</UserLanguage> <UserTimeZone>sample string 8</UserTimeZone> <VisibleStatuses xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model"> <d2p1:ActivityManagerStatus> <d2p1:BackgroundColor>sample string 5</d2p1:BackgroundColor> <d2p1:Description>sample string 3</d2p1:Description> <d2p1:Identity>51d99dc8-fe55-4d3d-b1f2-a5f403f64230</d2p1:Identity> <d2p1:IsReadOnly>true</d2p1:IsReadOnly> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Rank>8</d2p1:Rank> <d2p1:SendNotifications>true</d2p1:SendNotifications> <d2p1:TextColor>sample string 6</d2p1:TextColor> <d2p1:UseColor>true</d2p1:UseColor> </d2p1:ActivityManagerStatus> <d2p1:ActivityManagerStatus> <d2p1:BackgroundColor>sample string 5</d2p1:BackgroundColor> <d2p1:Description>sample string 3</d2p1:Description> <d2p1:Identity>51d99dc8-fe55-4d3d-b1f2-a5f403f64230</d2p1:Identity> <d2p1:IsReadOnly>true</d2p1:IsReadOnly> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Rank>8</d2p1:Rank> <d2p1:SendNotifications>true</d2p1:SendNotifications> <d2p1:TextColor>sample string 6</d2p1:TextColor> <d2p1:UseColor>true</d2p1:UseColor> </d2p1:ActivityManagerStatus> </VisibleStatuses> </UserProfile>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |