GET api/BookingCourts
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of 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-20T02:02:34.8734698+01:00",
"End": "2025-12-20T02:02:34.8734698+01:00",
"Created": "2025-12-20T02:02:34.8734698+01:00",
"Info": "sample string 6",
"CourtID": 7,
"Player1ID": 8,
"Guest": "sample string 9"
},
{
"ID": 1,
"Title": "sample string 2",
"Start": "2025-12-20T02:02:34.8734698+01:00",
"End": "2025-12-20T02:02:34.8734698+01:00",
"Created": "2025-12-20T02:02:34.8734698+01:00",
"Info": "sample string 6",
"CourtID": 7,
"Player1ID": 8,
"Guest": "sample string 9"
}
]
application/xml, text/xml
Sample:
<ArrayOfBookingCourt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GRUBER.Tennis.App.Server.Models">
<BookingCourt>
<CourtID>7</CourtID>
<Created>2025-12-20T02:02:34.8734698+01:00</Created>
<End>2025-12-20T02:02:34.8734698+01:00</End>
<Guest>sample string 9</Guest>
<ID>1</ID>
<Info>sample string 6</Info>
<Player1ID>8</Player1ID>
<Start>2025-12-20T02:02:34.8734698+01:00</Start>
<Title>sample string 2</Title>
</BookingCourt>
<BookingCourt>
<CourtID>7</CourtID>
<Created>2025-12-20T02:02:34.8734698+01:00</Created>
<End>2025-12-20T02:02:34.8734698+01:00</End>
<Guest>sample string 9</Guest>
<ID>1</ID>
<Info>sample string 6</Info>
<Player1ID>8</Player1ID>
<Start>2025-12-20T02:02:34.8734698+01:00</Start>
<Title>sample string 2</Title>
</BookingCourt>
</ArrayOfBookingCourt>