GET country

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CountryEntity
NameDescriptionTypeAdditional information
CountryID

integer

None.

CountryName

string

Required

CountryCode

string

None.

Active

integer

None.

TenantID

integer

None.

TenantName

string

None.

Include

boolean

None.

IsDefault

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CountryID": 1,
    "CountryName": "sample string 2",
    "CountryCode": "sample string 3",
    "Active": 4,
    "TenantID": 5,
    "TenantName": "sample string 6",
    "Include": true,
    "IsDefault": true
  },
  {
    "CountryID": 1,
    "CountryName": "sample string 2",
    "CountryCode": "sample string 3",
    "Active": 4,
    "TenantID": 5,
    "TenantName": "sample string 6",
    "Include": true,
    "IsDefault": true
  }
]

text/html

Sample:
[{"CountryID":1,"CountryName":"sample string 2","CountryCode":"sample string 3","Active":4,"TenantID":5,"TenantName":"sample string 6","Include":true,"IsDefault":true},{"CountryID":1,"CountryName":"sample string 2","CountryCode":"sample string 3","Active":4,"TenantID":5,"TenantName":"sample string 6","Include":true,"IsDefault":true}]

application/xml, text/xml

Sample:
<ArrayOfCountryEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Common">
  <CountryEntity>
    <Active>4</Active>
    <CountryCode>sample string 3</CountryCode>
    <CountryID>1</CountryID>
    <CountryName>sample string 2</CountryName>
    <Include>true</Include>
    <IsDefault>true</IsDefault>
    <TenantID>5</TenantID>
    <TenantName>sample string 6</TenantName>
  </CountryEntity>
  <CountryEntity>
    <Active>4</Active>
    <CountryCode>sample string 3</CountryCode>
    <CountryID>1</CountryID>
    <CountryName>sample string 2</CountryName>
    <Include>true</Include>
    <IsDefault>true</IsDefault>
    <TenantID>5</TenantID>
    <TenantName>sample string 6</TenantName>
  </CountryEntity>
</ArrayOfCountryEntity>