GET api/server/GetPlayerList?gameid={gameid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
gameid

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of oGamePlayer
NameDescriptionTypeAdditional information
PlayerID

integer

None.

GameID

integer

None.

Name

string

None.

Avatar

Collection of byte

None.

ClientAddress

string

None.

ConnectionKey

string

None.

PlayerPoints

integer

None.

GameCode

string

None.

RefID

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PlayerID": 1,
    "GameID": 2,
    "Name": "sample string 3",
    "Avatar": "QEA=",
    "ClientAddress": "sample string 4",
    "ConnectionKey": "sample string 5",
    "PlayerPoints": 6,
    "GameCode": "sample string 7",
    "RefID": 8
  },
  {
    "PlayerID": 1,
    "GameID": 2,
    "Name": "sample string 3",
    "Avatar": "QEA=",
    "ClientAddress": "sample string 4",
    "ConnectionKey": "sample string 5",
    "PlayerPoints": 6,
    "GameCode": "sample string 7",
    "RefID": 8
  }
]

application/xml, text/xml

Sample:
<ArrayOfoGamePlayer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RG.Game">
  <oGamePlayer>
    <RefID xmlns="http://schemas.datacontract.org/2004/07/RG">8</RefID>
    <GameCode>sample string 7</GameCode>
    <Avatar>QEA=</Avatar>
    <ClientAddress>sample string 4</ClientAddress>
    <ConnectionKey>sample string 5</ConnectionKey>
    <GameID>2</GameID>
    <Name>sample string 3</Name>
    <PlayerID>1</PlayerID>
    <PlayerPoints>6</PlayerPoints>
  </oGamePlayer>
  <oGamePlayer>
    <RefID xmlns="http://schemas.datacontract.org/2004/07/RG">8</RefID>
    <GameCode>sample string 7</GameCode>
    <Avatar>QEA=</Avatar>
    <ClientAddress>sample string 4</ClientAddress>
    <ConnectionKey>sample string 5</ConnectionKey>
    <GameID>2</GameID>
    <Name>sample string 3</Name>
    <PlayerID>1</PlayerID>
    <PlayerPoints>6</PlayerPoints>
  </oGamePlayer>
</ArrayOfoGamePlayer>