GET api/common/GetGameByCode?gamecode={gamecode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
gamecode

string

Required

Body Parameters

None.

Response Information

Resource Description

oGame
NameDescriptionTypeAdditional information
ServerID

integer

None.

GameID

integer

None.

GameTypeID

integer

None.

ConnectedClients

integer

None.

GameCode

string

None.

RefID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ServerID": 1,
  "GameID": 2,
  "GameTypeID": 3,
  "ConnectedClients": 4,
  "GameCode": "sample string 5",
  "RefID": 6
}

application/xml, text/xml

Sample:
<oGame xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RG.Game">
  <RefID xmlns="http://schemas.datacontract.org/2004/07/RG">6</RefID>
  <GameCode>sample string 5</GameCode>
  <ConnectedClients>4</ConnectedClients>
  <GameID>2</GameID>
  <GameTypeID>3</GameTypeID>
  <ServerID>1</ServerID>
</oGame>