POST api/Tournament/Add
Request Information
URI Parameters
None.
Body Parameters
TournamentBindingModel| Name | Description | Type | Additional 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": "2026-01-23T22:23:47.8992056+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| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |