GET api/Shared/GetAllClubs
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
GetAllClubsResponseName | Description | Type | Additional information |
---|---|---|---|
ResponseObject | Collection of ClubModel |
None. |
|
Code | ResponseCode |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ResponseObject": [ { "ClubId": 1, "CountryCode": "sample string 2", "Name": "sample string 3" }, { "ClubId": 1, "CountryCode": "sample string 2", "Name": "sample string 3" } ], "Code": 0, "Message": "sample string 1" }
application/xml, text/xml
Sample:
<GetAllClubsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DotGolf.CasualGolf.WebApi.Contracts"> <Code>None</Code> <Message>sample string 1</Message> <ResponseObject xmlns:d2p1="http://schemas.datacontract.org/2004/07/DotGolf.CasualGolf.WebApi.Models"> <d2p1:ClubModel> <d2p1:ClubId>1</d2p1:ClubId> <d2p1:CountryCode>sample string 2</d2p1:CountryCode> <d2p1:Name>sample string 3</d2p1:Name> </d2p1:ClubModel> <d2p1:ClubModel> <d2p1:ClubId>1</d2p1:ClubId> <d2p1:CountryCode>sample string 2</d2p1:CountryCode> <d2p1:Name>sample string 3</d2p1:Name> </d2p1:ClubModel> </ResponseObject> </GetAllClubsResponse>