GET api/platform/Countries

Get List of Country

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

List of Country object

Collection of Country
NameDescriptionTypeAdditional information
CountryID

Country unique ID

integer

Required

Name

Country Name

string

Required

Code2

Country unique Code - 2 character

string

Required

Code3

Country unique Code - 3 character

string

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "CountryID": 1,
    "Name": "Australia",
    "Code2": "AU",
    "Code3": "AUS"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TPP.B2B.Webservices2.Contract.Platform">
  <Country>
    <Code2>AU</Code2>
    <Code3>AUS</Code3>
    <CountryID>1</CountryID>
    <Name>Australia</Name>
  </Country>
</ArrayOfCountry>