GET api/GetCurrentUser
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
APIUserName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Code | string |
None. |
|
RoleID | string |
None. |
|
Role | string |
None. |
|
FullName | string |
None. |
|
Mobile | string |
None. |
|
string |
None. |
||
TagList | Collection of integer |
None. |
|
MgtNotePermission | boolean |
None. |
|
CallRecordingPermission | boolean |
None. |
|
OwnRecordingPermission | boolean |
None. |
|
NewCallPermission | boolean |
None. |
|
DeleteCallpermission | boolean |
None. |
|
UnlockPrfPermission | boolean |
None. |
|
ActiveCallsPrfPermission | boolean |
None. |
|
ClosedCallsPrfPermission | boolean |
None. |
|
SearchCallPermission | boolean |
None. |
|
ViewPhoneCallsPermission | boolean |
None. |
|
NewCallsPermission | boolean |
None. |
|
UpdateStockPermission | boolean |
None. |
|
PreAlertPermission | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "ID": 1, "Code": "sample string 2", "RoleID": "sample string 3", "Role": "sample string 4", "FullName": "sample string 5", "Mobile": "sample string 6", "Email": "sample string 7", "TagList": [ 1, 1 ], "MgtNotePermission": true, "CallRecordingPermission": true, "OwnRecordingPermission": true, "NewCallPermission": true, "DeleteCallpermission": true, "UnlockPrfPermission": true, "ActiveCallsPrfPermission": true, "ClosedCallsPrfPermission": true, "SearchCallPermission": true, "ViewPhoneCallsPermission": true, "NewCallsPermission": true, "UpdateStockPermission": true, "PreAlertPermission": true }
application/octet-stream, multipart/form-data
Sample:
{"ID":1,"Code":"sample string 2","RoleID":"sample string 3","Role":"sample string 4","FullName":"sample string 5","Mobile":"sample string 6","Email":"sample string 7","TagList":[1,1],"MgtNotePermission":true,"CallRecordingPermission":true,"OwnRecordingPermission":true,"NewCallPermission":true,"DeleteCallpermission":true,"UnlockPrfPermission":true,"ActiveCallsPrfPermission":true,"ClosedCallsPrfPermission":true,"SearchCallPermission":true,"ViewPhoneCallsPermission":true,"NewCallsPermission":true,"UpdateStockPermission":true,"PreAlertPermission":true}
application/xml, text/xml
Sample:
<SysItemsController.APIUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HTMW.Controllers"> <ActiveCallsPrfPermission>true</ActiveCallsPrfPermission> <CallRecordingPermission>true</CallRecordingPermission> <ClosedCallsPrfPermission>true</ClosedCallsPrfPermission> <Code>sample string 2</Code> <DeleteCallpermission>true</DeleteCallpermission> <Email>sample string 7</Email> <FullName>sample string 5</FullName> <ID>1</ID> <MgtNotePermission>true</MgtNotePermission> <Mobile>sample string 6</Mobile> <NewCallPermission>true</NewCallPermission> <NewCallsPermission>true</NewCallsPermission> <OwnRecordingPermission>true</OwnRecordingPermission> <PreAlertPermission>true</PreAlertPermission> <Role>sample string 4</Role> <RoleID>sample string 3</RoleID> <SearchCallPermission>true</SearchCallPermission> <TagList xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:int>1</d2p1:int> <d2p1:int>1</d2p1:int> </TagList> <UnlockPrfPermission>true</UnlockPrfPermission> <UpdateStockPermission>true</UpdateStockPermission> <ViewPhoneCallsPermission>true</ViewPhoneCallsPermission> </SysItemsController.APIUser>