POST api/Tournament/Add
Request Information
URI Parameters
None.
Body Parameters
TournamentBindingModelName | 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": "2024-09-17T20:49:37.8855988+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
HttpResponseMessageName | 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. |