GET api/Encounters/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

BGMEncounterBindingModel
NameDescriptionTypeAdditional information
IDEncounter

integer

None.

IDTourney1

integer

None.

play_date

date

None.

IDPlayer1

integer

None.

IDplayer2

integer

None.

winner

integer

None.

pts1

integer

None.

pts2

integer

None.

pr_pts1

integer

None.

pr_pts2

integer

None.

canceled

integer

None.

PlayerFullName1

string

None.

PlayerFullName2

string

None.

WinnerName

string

None.

TourneyDesc

string

None.

standing

string

None.

P1Type

string

Max length: 1

P1OType

string

Max length: 1

P1MNum

integer

None.

P2OType

string

Max length: 1

P2Type

string

Max length: 1

P2MNum

integer

None.

main_cons

string

Max length: 1

MatchNumber

integer

None.

round

integer

None.

ParentMatchNumber

integer

None.

no_rating

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "IDEncounter": 1,
  "IDTourney1": 1,
  "play_date": "2021-04-11T08:08:45.1932604+02:00",
  "IDPlayer1": 1,
  "IDplayer2": 1,
  "winner": 2,
  "pts1": 3,
  "pts2": 4,
  "pr_pts1": 5,
  "pr_pts2": 6,
  "canceled": 7,
  "PlayerFullName1": "sample string 8",
  "PlayerFullName2": "sample string 9",
  "WinnerName": "sample string 10",
  "TourneyDesc": "sample string 11",
  "standing": "sample string 12",
  "P1Type": "sample string 13",
  "P1OType": "sample string 14",
  "P1MNum": 1,
  "P2OType": "sample string 15",
  "P2Type": "sample string 16",
  "P2MNum": 1,
  "main_cons": "sample string 17",
  "MatchNumber": 1,
  "round": 1,
  "ParentMatchNumber": 1,
  "no_rating": true
}

application/xml, text/xml

Sample:
<BGMEncounterBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BGManagerApi">
  <IDEncounter>1</IDEncounter>
  <IDPlayer1>1</IDPlayer1>
  <IDTourney1>1</IDTourney1>
  <IDplayer2>1</IDplayer2>
  <MatchNumber>1</MatchNumber>
  <P1MNum>1</P1MNum>
  <P1OType>sample string 14</P1OType>
  <P1Type>sample string 13</P1Type>
  <P2MNum>1</P2MNum>
  <P2OType>sample string 15</P2OType>
  <P2Type>sample string 16</P2Type>
  <ParentMatchNumber>1</ParentMatchNumber>
  <PlayerFullName1>sample string 8</PlayerFullName1>
  <PlayerFullName2>sample string 9</PlayerFullName2>
  <TourneyDesc>sample string 11</TourneyDesc>
  <WinnerName>sample string 10</WinnerName>
  <canceled>7</canceled>
  <main_cons>sample string 17</main_cons>
  <no_rating>true</no_rating>
  <play_date>2021-04-11T08:08:45.1932604+02:00</play_date>
  <pr_pts1>5</pr_pts1>
  <pr_pts2>6</pr_pts2>
  <pts1>3</pts1>
  <pts2>4</pts2>
  <round>1</round>
  <standing>sample string 12</standing>
  <winner>2</winner>
</BGMEncounterBindingModel>