PUT api/UserProfile
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": "3df8534f-1622-4710-b7cc-ea6f38905353", "InstitutionName": "sample string 6", "ResourceIdentities": [ "306bd8ee-523b-4c04-99ae-2d6b3afcd9b6", "52d29462-e7f3-4a55-b4c7-c409f139f9b7" ], "Roles": [ "sample string 1", "sample string 2" ], "Groups": [ "sample string 1", "sample string 2" ], "UserGroups": [ { "Identity": "7113e68a-fa77-4a1f-89e6-fee0339ed508", "Name": "sample string 2" }, { "Identity": "7113e68a-fa77-4a1f-89e6-fee0339ed508", "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": "d4a0c9e0-9ae7-4839-b492-2cd5899f280d", "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": "d4a0c9e0-9ae7-4839-b492-2cd5899f280d", "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>3df8534f-1622-4710-b7cc-ea6f38905353</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>306bd8ee-523b-4c04-99ae-2d6b3afcd9b6</d2p1:guid> <d2p1:guid>52d29462-e7f3-4a55-b4c7-c409f139f9b7</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>7113e68a-fa77-4a1f-89e6-fee0339ed508</d2p1:Identity> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:NamedObject> <d2p1:NamedObject> <d2p1:Identity>7113e68a-fa77-4a1f-89e6-fee0339ed508</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>d4a0c9e0-9ae7-4839-b492-2cd5899f280d</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>d4a0c9e0-9ae7-4839-b492-2cd5899f280d</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
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. |
Response Formats
application/json, text/json
Sample:
{ "NameIdentifier": "sample string 1", "Name": "sample string 2", "Email": "sample string 3", "AvatarUri": "http://webapihelppage4.com", "InstitutionIdentity": "774b4470-4dcd-4b49-8f4f-a74bf998cc5a", "InstitutionName": "sample string 6", "ResourceIdentities": [ "59acd285-2954-4914-9956-afea9b134f62", "9134777c-4dda-40e6-88ec-466453c8e44b" ], "Roles": [ "sample string 1", "sample string 2" ], "Groups": [ "sample string 1", "sample string 2" ], "UserGroups": [ { "Identity": "af0a1861-46d1-4a20-a7ad-55e82f3f0174", "Name": "sample string 2" }, { "Identity": "af0a1861-46d1-4a20-a7ad-55e82f3f0174", "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": "56dd3b0e-0c89-40fb-859e-937c2b20d6ac", "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": "56dd3b0e-0c89-40fb-859e-937c2b20d6ac", "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>774b4470-4dcd-4b49-8f4f-a74bf998cc5a</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>59acd285-2954-4914-9956-afea9b134f62</d2p1:guid> <d2p1:guid>9134777c-4dda-40e6-88ec-466453c8e44b</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>af0a1861-46d1-4a20-a7ad-55e82f3f0174</d2p1:Identity> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:NamedObject> <d2p1:NamedObject> <d2p1:Identity>af0a1861-46d1-4a20-a7ad-55e82f3f0174</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>56dd3b0e-0c89-40fb-859e-937c2b20d6ac</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>56dd3b0e-0c89-40fb-859e-937c2b20d6ac</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>