GET api/Games/BookingCourt/{bookingCourtID}
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| bookingCourtID | integer | 
                                 Required  | 
                
Body Parameters
None.
Response Information
Resource Description
Game| Name | Description | Type | Additional information | 
|---|---|---|---|
| ID | integer | 
                             None.  | 
                |
| Title | string | 
                             None.  | 
                |
| Note | string | 
                             None.  | 
                |
| Start | date | 
                             None.  | 
                |
| End | date | 
                             None.  | 
                |
| BookingCourtID | integer | 
                             None.  | 
                |
| Player1ID | integer | 
                             None.  | 
                |
| Player2ID | integer | 
                             None.  | 
                
Response Formats
application/json, text/json
            Sample:
        
{
  "ID": 1,
  "Title": "sample string 2",
  "Note": "sample string 3",
  "Start": "2025-11-04T09:35:02.2232792+01:00",
  "End": "2025-11-04T09:35:02.2232792+01:00",
  "BookingCourtID": 6,
  "Player1ID": 7,
  "Player2ID": 1
}
        application/xml, text/xml
            Sample:
<Game xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GRUBER.Tennis.App.Server.Models"> <BookingCourtID>6</BookingCourtID> <End>2025-11-04T09:35:02.2232792+01:00</End> <ID>1</ID> <Note>sample string 3</Note> <Player1ID>7</Player1ID> <Player2ID>1</Player2ID> <Start>2025-11-04T09:35:02.2232792+01:00</Start> <Title>sample string 2</Title> </Game>