GET api/UserProfile
Request Information
URI Parameters
None.
Body Parameters
None.
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": "e7253e9a-cd1c-47a3-b996-ed1742d91a70", "InstitutionName": "sample string 6", "ResourceIdentities": [ "9be8010b-60f0-4c09-a455-ba9e6f8b9832", "cec4bc15-bece-4fdc-8c47-b17144adffad" ], "Roles": [ "sample string 1", "sample string 2" ], "Groups": [ "sample string 1", "sample string 2" ], "UserGroups": [ { "Identity": "7a7a2c65-00a4-4876-baac-283a1a381f0e", "Name": "sample string 2" }, { "Identity": "7a7a2c65-00a4-4876-baac-283a1a381f0e", "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": "e9bc9c19-6f3d-4a55-8eb4-1b112f0b0bdd", "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": "e9bc9c19-6f3d-4a55-8eb4-1b112f0b0bdd", "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>e7253e9a-cd1c-47a3-b996-ed1742d91a70</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>9be8010b-60f0-4c09-a455-ba9e6f8b9832</d2p1:guid> <d2p1:guid>cec4bc15-bece-4fdc-8c47-b17144adffad</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>7a7a2c65-00a4-4876-baac-283a1a381f0e</d2p1:Identity> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:NamedObject> <d2p1:NamedObject> <d2p1:Identity>7a7a2c65-00a4-4876-baac-283a1a381f0e</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>e9bc9c19-6f3d-4a55-8eb4-1b112f0b0bdd</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>e9bc9c19-6f3d-4a55-8eb4-1b112f0b0bdd</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>