GET api/BookingCourts/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
BookingCourt| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Title | string |
None. |
|
| Start | date |
None. |
|
| End | date |
None. |
|
| Created | date |
None. |
|
| Info | string |
None. |
|
| CourtID | integer |
None. |
|
| Player1ID | integer |
None. |
|
| Guest | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"Title": "sample string 2",
"Start": "2025-12-20T14:33:44.2595084+01:00",
"End": "2025-12-20T14:33:44.2595084+01:00",
"Created": "2025-12-20T14:33:44.2595084+01:00",
"Info": "sample string 6",
"CourtID": 7,
"Player1ID": 8,
"Guest": "sample string 9"
}
application/xml, text/xml
Sample:
<BookingCourt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GRUBER.Tennis.App.Server.Models"> <CourtID>7</CourtID> <Created>2025-12-20T14:33:44.2595084+01:00</Created> <End>2025-12-20T14:33:44.2595084+01:00</End> <Guest>sample string 9</Guest> <ID>1</ID> <Info>sample string 6</Info> <Player1ID>8</Player1ID> <Start>2025-12-20T14:33:44.2595084+01:00</Start> <Title>sample string 2</Title> </BookingCourt>