POST api/Tournament/Add

Request Information

URI Parameters

None.

Body Parameters

TournamentBindingModel
NameDescriptionTypeAdditional information
Title

string

None.

EntryPrice

integer

None.

WinBonus

integer

None.

LoseBonus

integer

None.

Date

date

None.

Prize

integer

None.

MaxPlayerCount

integer

None.

FirstPoint

integer

None.

SecondPoint

integer

None.

ThirdPoint

integer

None.

FirstCHF

integer

None.

SecondCHF

integer

None.

ThirdCHF

integer

None.

CategoryId

integer

None.

Image

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Title": "sample string 1",
  "EntryPrice": 2,
  "WinBonus": 3,
  "LoseBonus": 4,
  "Date": "2024-05-19T22:51:09.0570376+03:00",
  "Prize": 6,
  "MaxPlayerCount": 7,
  "FirstPoint": 8,
  "SecondPoint": 9,
  "ThirdPoint": 10,
  "FirstCHF": 11,
  "SecondCHF": 12,
  "ThirdCHF": 13,
  "CategoryId": 14,
  "Image": "sample string 15"
}

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.