GET api/Courts
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of CourtName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Title | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "Title": "sample string 2" }, { "ID": 1, "Title": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfCourt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GRUBER.Tennis.App.Server.Models"> <Court> <ID>1</ID> <Title>sample string 2</Title> </Court> <Court> <ID>1</ID> <Title>sample string 2</Title> </Court> </ArrayOfCourt>