POST api/Login/PostMatchSummary

Request Information

URI Parameters

None.

Body Parameters

MatchSummary
NameDescriptionTypeAdditional information
MatchID

integer

None.

UserID

string

None.

TournamentName

string

None.

InningsOver

integer

None.

UserTeamName

string

None.

UserWonToss

boolean

None.

UserBatFirst

boolean

None.

UserScore

integer

None.

UserExtraRuns

integer

None.

UserWicket

integer

None.

UserOverFaced

decimal number

None.

OpponentTeamName

string

None.

OpponentTeamScore

integer

None.

OpponentTeamExtraRuns

integer

None.

OpponentTeamWicket

integer

None.

OpponentTeamOverFaced

decimal number

None.

UserWonMatch

boolean

None.

Diamonds

integer

None.

TotalDiamonds

integer

None.

MatchResult

string

None.

Xp

integer

None.

Star

integer

None.

Coins

integer

None.

userTeamMatchStatus

Collection of TeamMatchStatus

None.

opponentTeamMatchStatus

Collection of TeamMatchStatus

None.

Request Formats

application/json, text/json

Sample:
{
  "MatchID": 1,
  "UserID": "sample string 2",
  "TournamentName": "sample string 3",
  "InningsOver": 4,
  "UserTeamName": "sample string 5",
  "UserWonToss": true,
  "UserBatFirst": true,
  "UserScore": 8,
  "UserExtraRuns": 9,
  "UserWicket": 10,
  "UserOverFaced": 11.0,
  "OpponentTeamName": "sample string 12",
  "OpponentTeamScore": 13,
  "OpponentTeamExtraRuns": 14,
  "OpponentTeamWicket": 15,
  "OpponentTeamOverFaced": 16.0,
  "UserWonMatch": true,
  "Diamonds": 18,
  "TotalDiamonds": 19,
  "MatchResult": "sample string 20",
  "Xp": 21,
  "Star": 22,
  "Coins": 23,
  "userTeamMatchStatus": null,
  "opponentTeamMatchStatus": null
}

application/xml, text/xml

Sample:
<MatchSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAH75.Core.Models.SAH75">
  <Coins>23</Coins>
  <Diamonds>18</Diamonds>
  <InningsOver>4</InningsOver>
  <MatchID>1</MatchID>
  <MatchResult>sample string 20</MatchResult>
  <OpponentTeamExtraRuns>14</OpponentTeamExtraRuns>
  <OpponentTeamName>sample string 12</OpponentTeamName>
  <OpponentTeamOverFaced>16</OpponentTeamOverFaced>
  <OpponentTeamScore>13</OpponentTeamScore>
  <OpponentTeamWicket>15</OpponentTeamWicket>
  <Star>22</Star>
  <TotalDiamonds>19</TotalDiamonds>
  <TournamentName>sample string 3</TournamentName>
  <UserBatFirst>true</UserBatFirst>
  <UserExtraRuns>9</UserExtraRuns>
  <UserID>sample string 2</UserID>
  <UserOverFaced>11</UserOverFaced>
  <UserScore>8</UserScore>
  <UserTeamName>sample string 5</UserTeamName>
  <UserWicket>10</UserWicket>
  <UserWonMatch>true</UserWonMatch>
  <UserWonToss>true</UserWonToss>
  <Xp>21</Xp>
  <opponentTeamMatchStatus i:nil="true" />
  <userTeamMatchStatus i:nil="true" />
</MatchSummary>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.