GET api/Games/By/{playerID}/{datetime}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
playerID | integer |
Required |
|
datetime | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of GameName | 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-04-28T15:39:59.6076826+02:00", "End": "2025-04-28T15:39:59.6076826+02:00", "BookingCourtID": 6, "Player1ID": 7, "Player2ID": 1 }, { "ID": 1, "Title": "sample string 2", "Note": "sample string 3", "Start": "2025-04-28T15:39:59.6076826+02:00", "End": "2025-04-28T15:39:59.6076826+02:00", "BookingCourtID": 6, "Player1ID": 7, "Player2ID": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfGame xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GRUBER.Tennis.App.Server.Models"> <Game> <BookingCourtID>6</BookingCourtID> <End>2025-04-28T15:39:59.6076826+02:00</End> <ID>1</ID> <Note>sample string 3</Note> <Player1ID>7</Player1ID> <Player2ID>1</Player2ID> <Start>2025-04-28T15:39:59.6076826+02:00</Start> <Title>sample string 2</Title> </Game> <Game> <BookingCourtID>6</BookingCourtID> <End>2025-04-28T15:39:59.6076826+02:00</End> <ID>1</ID> <Note>sample string 3</Note> <Player1ID>7</Player1ID> <Player2ID>1</Player2ID> <Start>2025-04-28T15:39:59.6076826+02:00</Start> <Title>sample string 2</Title> </Game> </ArrayOfGame>