POST v1/Licensee/CountryList

Get Countries List

This is secure method and requires below attributes in header

Authorization: Authorize Token

Request Information

URI Parameters

None.

Body Parameters

Country Filter Parameters

CountryRequest
NameDescriptionTypeAdditional information
Code

Provide the Country Code

string

None.

Name

Provide the Country Name

string

None.

Active

Provide the Status

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "Name": "sample string 2",
  "Active": true
}

application/xml, text/xml

Sample:
<CountryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Active>true</Active>
  <Code>sample string 1</Code>
  <Name>sample string 2</Name>
</CountryRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CountryRequest'.

Response Information

Response Formats

application/json, text/json

Sample:
[
  {
    "Code": "sample string 1",
    "Name": "sample string 2",
    "Active": true
  },
  {
    "Code": "sample string 1",
    "Name": "sample string 2",
    "Active": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfCountryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <CountryResponse>
    <Active>true</Active>
    <Code>sample string 1</Code>
    <Name>sample string 2</Name>
  </CountryResponse>
  <CountryResponse>
    <Active>true</Active>
    <Code>sample string 1</Code>
    <Name>sample string 2</Name>
  </CountryResponse>
</ArrayOfCountryResponse>