GET api/LpPublic/GetCountries

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Country
NameDescriptionTypeAdditional information
UsafisID

integer

None.

CountryName

string

None.

ISO

string

None.

PhoneCode

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UsafisID": 1,
    "CountryName": "sample string 2",
    "ISO": "sample string 3",
    "PhoneCode": 4
  },
  {
    "UsafisID": 1,
    "CountryName": "sample string 2",
    "ISO": "sample string 3",
    "PhoneCode": 4
  }
]

application/xml, text/xml

Sample:
<ArrayOfCountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LpApiLib.Models">
  <Country>
    <CountryName>sample string 2</CountryName>
    <ISO>sample string 3</ISO>
    <PhoneCode>4</PhoneCode>
    <UsafisID>1</UsafisID>
  </Country>
  <Country>
    <CountryName>sample string 2</CountryName>
    <ISO>sample string 3</ISO>
    <PhoneCode>4</PhoneCode>
    <UsafisID>1</UsafisID>
  </Country>
</ArrayOfCountry>