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": "7247b4c6-e176-43c9-a6b8-e2ddd339e379", "InstitutionName": "sample string 6", "ResourceIdentities": [ "8a6d43d2-4301-487d-b55f-4de32217b330", "56aa6763-41ef-4440-9981-ff15906535b0" ], "Roles": [ "sample string 1", "sample string 2" ], "Groups": [ "sample string 1", "sample string 2" ], "UserGroups": [ { "Identity": "1b5e2e29-21ce-438a-9918-25339b491d7a", "Name": "sample string 2" }, { "Identity": "1b5e2e29-21ce-438a-9918-25339b491d7a", "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": "0962916a-3feb-4aa6-bbd3-40c5a4f46ab5", "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": "0962916a-3feb-4aa6-bbd3-40c5a4f46ab5", "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>7247b4c6-e176-43c9-a6b8-e2ddd339e379</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>8a6d43d2-4301-487d-b55f-4de32217b330</d2p1:guid> <d2p1:guid>56aa6763-41ef-4440-9981-ff15906535b0</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>1b5e2e29-21ce-438a-9918-25339b491d7a</d2p1:Identity> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:NamedObject> <d2p1:NamedObject> <d2p1:Identity>1b5e2e29-21ce-438a-9918-25339b491d7a</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>0962916a-3feb-4aa6-bbd3-40c5a4f46ab5</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>0962916a-3feb-4aa6-bbd3-40c5a4f46ab5</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": "dbc3c59b-08a5-486f-b347-f939d21a861a", "InstitutionName": "sample string 6", "ResourceIdentities": [ "cff3211f-e045-4ac1-8aef-ecc9b24792bb", "21c0dfb1-94f7-4af1-9f94-b767f44708f0" ], "Roles": [ "sample string 1", "sample string 2" ], "Groups": [ "sample string 1", "sample string 2" ], "UserGroups": [ { "Identity": "2ce6eb13-2395-429f-a528-42a977aa1af8", "Name": "sample string 2" }, { "Identity": "2ce6eb13-2395-429f-a528-42a977aa1af8", "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": "4e6f2167-632b-4726-98a1-607973082127", "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": "4e6f2167-632b-4726-98a1-607973082127", "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>dbc3c59b-08a5-486f-b347-f939d21a861a</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>cff3211f-e045-4ac1-8aef-ecc9b24792bb</d2p1:guid> <d2p1:guid>21c0dfb1-94f7-4af1-9f94-b767f44708f0</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>2ce6eb13-2395-429f-a528-42a977aa1af8</d2p1:Identity> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:NamedObject> <d2p1:NamedObject> <d2p1:Identity>2ce6eb13-2395-429f-a528-42a977aa1af8</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>4e6f2167-632b-4726-98a1-607973082127</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>4e6f2167-632b-4726-98a1-607973082127</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>