GET api/competitions/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
competition| Name | Description | Type | Additional information |
|---|---|---|---|
| title | string |
None. |
|
| descr | string |
None. |
|
| tStamp | date |
None. |
|
| userCreatedId | string |
None. |
|
| id | integer |
None. |
|
| statusId | byte |
None. |
|
| endingTime | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"title": "sample string 1",
"descr": "sample string 2",
"tStamp": "2025-12-18T07:21:51.5506397+02:00",
"userCreatedId": "sample string 3",
"id": 4,
"statusId": 64,
"endingTime": "2025-12-18T07:21:51.5506397+02:00"
}
application/xml, text/xml
Sample:
<competition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/waytoodankapi.Models"> <descr>sample string 2</descr> <endingTime>2025-12-18T07:21:51.5506397+02:00</endingTime> <id>4</id> <statusId>64</statusId> <tStamp>2025-12-18T07:21:51.5506397+02:00</tStamp> <title>sample string 1</title> <userCreatedId>sample string 3</userCreatedId> </competition>