GET api/Users/GetCurrentUserInfo/{SessionToken}
Gets the details of the current user
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| SessionToken |
The session token for the current user session |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
List of folders
APIReturnOfRequestStatusAndUser| Name | Description | Type | Additional information |
|---|---|---|---|
| StatusEnum | RequestStatus |
None. |
|
| Status | string |
None. |
|
| Result | User |
None. |
Response Formats
application/json, text/json
Sample:
{
"StatusEnum": 0,
"Status": "Success",
"Result": {
"ID": 1,
"Username": "sample string 2",
"Firstname": "sample string 3",
"Surname": "sample string 4",
"PhoneNumber": "sample string 5",
"Email": "sample string 6",
"Suspended": true,
"ShouldChangePassword": true,
"FolderID": 9
}
}
application/xml, text/xml
Sample:
<APIReturnOfRequestStatusUseruO2q6ph3 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMSConnector">
<Result>
<Email>sample string 6</Email>
<Firstname>sample string 3</Firstname>
<FolderID>9</FolderID>
<ID>1</ID>
<PhoneNumber>sample string 5</PhoneNumber>
<ShouldChangePassword>true</ShouldChangePassword>
<Surname>sample string 4</Surname>
<Suspended>true</Suspended>
<Username>sample string 2</Username>
</Result>
<StatusEnum>Success</StatusEnum>
</APIReturnOfRequestStatusUseruO2q6ph3>