GET api/punters/{punterId}/country
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| punterId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
BO.BETResponseObjects.BaseResponseOfSystem.Collections.Generic.ListOfBO.Models.Punter.PunterCountryModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject | Collection of BO.Models.Punter.PunterCountryModel |
None. |
|
| ResponseMessage | string |
None. |
|
| ResponseType | BO.Enums.ResponseType |
None. |
Response Formats
application/json, text/json
Sample:
{
"responseObject": [
{
"countryID": 1,
"countryName": "sample string 2",
"countryCode": "sample string 3",
"currencyCode": "sample string 4",
"currencySymbol": "sample string 5"
},
{
"countryID": 1,
"countryName": "sample string 2",
"countryCode": "sample string 3",
"currencyCode": "sample string 4",
"currencySymbol": "sample string 5"
}
],
"responseMessage": "sample string 1",
"responseType": 1
}
application/xml, text/xml
Sample:
<BaseResponseOfListOfPunterCountryModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ResponseObject>
<PunterCountryModel>
<CountryID>1</CountryID>
<CountryName>sample string 2</CountryName>
<CountryCode>sample string 3</CountryCode>
<CurrencyCode>sample string 4</CurrencyCode>
<CurrencySymbol>sample string 5</CurrencySymbol>
</PunterCountryModel>
<PunterCountryModel>
<CountryID>1</CountryID>
<CountryName>sample string 2</CountryName>
<CountryCode>sample string 3</CountryCode>
<CurrencyCode>sample string 4</CurrencyCode>
<CurrencySymbol>sample string 5</CurrencySymbol>
</PunterCountryModel>
</ResponseObject>
<ResponseMessage>sample string 1</ResponseMessage>
<ResponseType>Success</ResponseType>
</BaseResponseOfListOfPunterCountryModel>