POST v1/Licensee/CountryList

Request Information

URI Parameters

None.

Body Parameters

CountryRequest
NameDescriptionTypeAdditional information
Code

string

None.

Name

string

None.

Active

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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Code>sample string 1</Code>
  <Name>sample string 2</Name>
  <Active>true</Active>
</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

Resource Description

Collection of CountryResponse
NameDescriptionTypeAdditional information
Code

string

None.

Name

string

None.

Active

boolean

None.

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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CountryResponse>
    <Code>sample string 1</Code>
    <Name>sample string 2</Name>
    <Active>true</Active>
  </CountryResponse>
  <CountryResponse>
    <Code>sample string 1</Code>
    <Name>sample string 2</Name>
    <Active>true</Active>
  </CountryResponse>
</ArrayOfCountryResponse>