GET api_v2/CloudTerminalServers/FindUserRdpSessionsByAccountID?accountId={accountId}&accountUserId={accountUserId}

Найти RDP сессии пользователей по id аккаунта

Request Information

Parameters

NameDescriptionAdditional 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>2021-01-25T11:02:05.6889993+03:00</EntryTime>
      <TerminalServerID>dfc1bfe8-41a7-4a72-9488-64f0d5ced438</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-25T11:02:05.6889993+03:00</EntryTime>
      <TerminalServerID>dfc1bfe8-41a7-4a72-9488-64f0d5ced438</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-25T11:02:05.6889993+03:00</EntryTime>
      <TerminalServerID>dfc1bfe8-41a7-4a72-9488-64f0d5ced438</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-25T11:02:05.6889993+03:00",
        "TerminalServerID": "dfc1bfe8-41a7-4a72-9488-64f0d5ced438"
      },
      {
        "UserRdpSessionID": 1,
        "SessionName": "sample string 2",
        "UserName": "sample string 3",
        "SessionStatus": "sample string 4",
        "Downtime": 5,
        "EntryTime": "2021-01-25T11:02:05.6889993+03:00",
        "TerminalServerID": "dfc1bfe8-41a7-4a72-9488-64f0d5ced438"
      },
      {
        "UserRdpSessionID": 1,
        "SessionName": "sample string 2",
        "UserName": "sample string 3",
        "SessionStatus": "sample string 4",
        "Downtime": 5,
        "EntryTime": "2021-01-25T11:02:05.6889993+03:00",
        "TerminalServerID": "dfc1bfe8-41a7-4a72-9488-64f0d5ced438"
      }
    ]
  }
}