GET api/ur/get-user-profile

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ProfileMetaDataDTO
NameDescriptionTypeAdditional information
RoleName

string

None.

UserName

string

None.

RoleTypeId

integer

None.

MenuDTOs

Collection of MenuDTO

None.

Response Formats

application/json, text/json

Sample:
{
  "RoleName": "sample string 1",
  "UserName": "sample string 2",
  "RoleTypeId": 3,
  "MenuDTOs": [
    {
      "Id": 1,
      "SubScreenId": 1,
      "Code": "sample string 2",
      "Name": "sample string 3",
      "ImagePath": "sample string 4",
      "NavigationPath": "sample string 5",
      "IsSubModule": true,
      "CanAdd": true,
      "CanDelete": true,
      "CanEdit": true,
      "CanPrint": true,
      "CanExport": true,
      "CanUpload": true,
      "CanView": true,
      "IsModuleAccess": true
    },
    {
      "Id": 1,
      "SubScreenId": 1,
      "Code": "sample string 2",
      "Name": "sample string 3",
      "ImagePath": "sample string 4",
      "NavigationPath": "sample string 5",
      "IsSubModule": true,
      "CanAdd": true,
      "CanDelete": true,
      "CanEdit": true,
      "CanPrint": true,
      "CanExport": true,
      "CanUpload": true,
      "CanView": true,
      "IsModuleAccess": true
    }
  ]
}

application/xml, text/xml

Sample:
<ProfileMetaDataDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO.User">
  <MenuDTOs xmlns:d2p1="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO.Dashboard">
    <d2p1:MenuDTO>
      <d2p1:CanAdd>true</d2p1:CanAdd>
      <d2p1:CanDelete>true</d2p1:CanDelete>
      <d2p1:CanEdit>true</d2p1:CanEdit>
      <d2p1:CanExport>true</d2p1:CanExport>
      <d2p1:CanPrint>true</d2p1:CanPrint>
      <d2p1:CanUpload>true</d2p1:CanUpload>
      <d2p1:CanView>true</d2p1:CanView>
      <d2p1:Code>sample string 2</d2p1:Code>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ImagePath>sample string 4</d2p1:ImagePath>
      <d2p1:IsModuleAccess>true</d2p1:IsModuleAccess>
      <d2p1:IsSubModule>true</d2p1:IsSubModule>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:NavigationPath>sample string 5</d2p1:NavigationPath>
      <d2p1:SubScreenId>1</d2p1:SubScreenId>
    </d2p1:MenuDTO>
    <d2p1:MenuDTO>
      <d2p1:CanAdd>true</d2p1:CanAdd>
      <d2p1:CanDelete>true</d2p1:CanDelete>
      <d2p1:CanEdit>true</d2p1:CanEdit>
      <d2p1:CanExport>true</d2p1:CanExport>
      <d2p1:CanPrint>true</d2p1:CanPrint>
      <d2p1:CanUpload>true</d2p1:CanUpload>
      <d2p1:CanView>true</d2p1:CanView>
      <d2p1:Code>sample string 2</d2p1:Code>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ImagePath>sample string 4</d2p1:ImagePath>
      <d2p1:IsModuleAccess>true</d2p1:IsModuleAccess>
      <d2p1:IsSubModule>true</d2p1:IsSubModule>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:NavigationPath>sample string 5</d2p1:NavigationPath>
      <d2p1:SubScreenId>1</d2p1:SubScreenId>
    </d2p1:MenuDTO>
  </MenuDTOs>
  <RoleName>sample string 1</RoleName>
  <RoleTypeId>3</RoleTypeId>
  <UserName>sample string 2</UserName>
</ProfileMetaDataDTO>