GET api/Country/GetCountryCode

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

StringResponse
NameDescriptionTypeAdditional information
ResponseObject

string

None.

Code

ResponseCode

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseObject": "sample string 1",
  "Code": 0,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<StringResponse 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 2</Message>
  <ResponseObject>sample string 1</ResponseObject>
</StringResponse>