GET api_v2/CloudTerminalServers/GetUserRdpSessions?terminalServerId={terminalServerId}&accountId={accountId}
Получить RDP сессии пользователя на терминальном сервере
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
terminalServerId | Id терминального сервера |
Define this parameter in the request URI. |
accountId | Id аккаунта |
Define this parameter in the request URI. |
Response Information
Список RDP сессий пользователя
Response body formats
application/xml, text/xml
Sample:
<Result> <TerminalServerUserRdpSessionsTable type="sample string 1"> <Row> <UserRdpSessionID>1</UserRdpSessionID> <SessionName>sample string 2</SessionName> <UserName>sample string 3</UserName> <SessionStatus>sample string 4</SessionStatus> <Downtime>5</Downtime> <EntryTime>2021-01-20T16:05:32.904249+03:00</EntryTime> <TerminalServerID>b46b2458-75b7-443a-b1a3-3f487b8c62e1</TerminalServerID> <Checked>true</Checked> </Row> <Row> <UserRdpSessionID>1</UserRdpSessionID> <SessionName>sample string 2</SessionName> <UserName>sample string 3</UserName> <SessionStatus>sample string 4</SessionStatus> <Downtime>5</Downtime> <EntryTime>2021-01-20T16:05:32.904249+03:00</EntryTime> <TerminalServerID>b46b2458-75b7-443a-b1a3-3f487b8c62e1</TerminalServerID> <Checked>true</Checked> </Row> <Row> <UserRdpSessionID>1</UserRdpSessionID> <SessionName>sample string 2</SessionName> <UserName>sample string 3</UserName> <SessionStatus>sample string 4</SessionStatus> <Downtime>5</Downtime> <EntryTime>2021-01-20T16:05:32.904249+03:00</EntryTime> <TerminalServerID>b46b2458-75b7-443a-b1a3-3f487b8c62e1</TerminalServerID> <Checked>true</Checked> </Row> </TerminalServerUserRdpSessionsTable> </Result>
application/json, text/json
Sample:
{ "TerminalServerUserRdpSessionsTable": { "Rows": [ { "UserRdpSessionID": 1, "SessionName": "sample string 2", "UserName": "sample string 3", "SessionStatus": "sample string 4", "Downtime": 5, "EntryTime": "2021-01-20T16:05:32.904249+03:00", "TerminalServerID": "b46b2458-75b7-443a-b1a3-3f487b8c62e1" }, { "UserRdpSessionID": 1, "SessionName": "sample string 2", "UserName": "sample string 3", "SessionStatus": "sample string 4", "Downtime": 5, "EntryTime": "2021-01-20T16:05:32.904249+03:00", "TerminalServerID": "b46b2458-75b7-443a-b1a3-3f487b8c62e1" }, { "UserRdpSessionID": 1, "SessionName": "sample string 2", "UserName": "sample string 3", "SessionStatus": "sample string 4", "Downtime": 5, "EntryTime": "2021-01-20T16:05:32.904249+03:00", "TerminalServerID": "b46b2458-75b7-443a-b1a3-3f487b8c62e1" } ] } }