GET api_v2/CloudTerminalServers/FindUserRdpSessionsByAccountID?accountId={accountId}&accountUserId={accountUserId}
Найти RDP сессии пользователей по id аккаунта
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
accountId | Id аккаунта |
Define this parameter in the request URI. |
accountUserId | 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>2022-06-27T21:29:57.1957659+03:00</EntryTime> <TerminalServerID>6ccf71c3-5762-4bd2-b2dc-90ef28d2ada7</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>2022-06-27T21:29:57.1957659+03:00</EntryTime> <TerminalServerID>6ccf71c3-5762-4bd2-b2dc-90ef28d2ada7</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>2022-06-27T21:29:57.1957659+03:00</EntryTime> <TerminalServerID>6ccf71c3-5762-4bd2-b2dc-90ef28d2ada7</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": "2022-06-27T21:29:57.1957659+03:00", "TerminalServerID": "6ccf71c3-5762-4bd2-b2dc-90ef28d2ada7" }, { "UserRdpSessionID": 1, "SessionName": "sample string 2", "UserName": "sample string 3", "SessionStatus": "sample string 4", "Downtime": 5, "EntryTime": "2022-06-27T21:29:57.1957659+03:00", "TerminalServerID": "6ccf71c3-5762-4bd2-b2dc-90ef28d2ada7" }, { "UserRdpSessionID": 1, "SessionName": "sample string 2", "UserName": "sample string 3", "SessionStatus": "sample string 4", "Downtime": 5, "EntryTime": "2022-06-27T21:29:57.1957659+03:00", "TerminalServerID": "6ccf71c3-5762-4bd2-b2dc-90ef28d2ada7" } ] } }