PUT api/Tournaments/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
TournamentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Title | string |
None. |
|
| Start | date |
None. |
|
| End | date |
None. |
|
| Location | string |
None. |
|
| Note | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Title": "sample string 2",
"Start": "2025-12-20T14:35:04.8032786+01:00",
"End": "2025-12-20T14:35:04.8032786+01:00",
"Location": "sample string 5",
"Note": "sample string 6"
}
application/xml, text/xml
Sample:
<TournamentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GRUBER.Tennis.App.Server.Models"> <End>2025-12-20T14:35:04.8032786+01:00</End> <ID>1</ID> <Location>sample string 5</Location> <Note>sample string 6</Note> <Start>2025-12-20T14:35:04.8032786+01:00</Start> <Title>sample string 2</Title> </TournamentModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.