GET api/v1/users/current-user
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
UserDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Active | boolean |
None. |
|
| Blocked | boolean |
None. |
|
| ExtendedEdit | boolean |
None. |
|
| WpCustomerId | integer |
None. |
|
| LogoImage | string |
None. |
|
| WpLanguageId | integer |
None. |
|
| WebAdminAccess | boolean |
None. |
|
| RoleId | integer |
None. |
|
| SysAdmin | boolean |
None. |
|
| WpPartnerId | integer |
None. |
|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Login | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"active": true,
"blocked": true,
"extendedEdit": true,
"wpCustomerId": 3,
"logoImage": "sample string 4",
"wpLanguageId": 5,
"webAdminAccess": true,
"roleId": 1,
"sysAdmin": true,
"wpPartnerId": 1,
"id": 8,
"name": "sample string 9",
"login": "sample string 10"
}
application/xml, text/xml
Sample:
<UserDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Workpilot.ServiceLayer.Models"> <Id>8</Id> <Login>sample string 10</Login> <Name>sample string 9</Name> <Active>true</Active> <Blocked>true</Blocked> <ExtendedEdit>true</ExtendedEdit> <LogoImage>sample string 4</LogoImage> <RoleId>1</RoleId> <SysAdmin>true</SysAdmin> <WebAdminAccess>true</WebAdminAccess> <WpCustomerId>3</WpCustomerId> <WpLanguageId>5</WpLanguageId> <WpPartnerId>1</WpPartnerId> </UserDto>