GET api/Utility/GetCountries

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of AC_CountryViewModel
NameDescriptionTypeAdditional information
CountryID

byte

None.

CountryName

string

None.

CountryCode

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CountryID": 64,
    "CountryName": "sample string 2",
    "CountryCode": "sample string 3"
  },
  {
    "CountryID": 64,
    "CountryName": "sample string 2",
    "CountryCode": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAC_CountryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAL.ViewModel">
  <AC_CountryViewModel>
    <CountryCode>sample string 3</CountryCode>
    <CountryID>64</CountryID>
    <CountryName>sample string 2</CountryName>
  </AC_CountryViewModel>
  <AC_CountryViewModel>
    <CountryCode>sample string 3</CountryCode>
    <CountryID>64</CountryID>
    <CountryName>sample string 2</CountryName>
  </AC_CountryViewModel>
</ArrayOfAC_CountryViewModel>