GET api/public/countries

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CountryTypeDTO
NameDescriptionTypeAdditional information
Title

string

None.

Identifier

string

None.

Code

string

None.

ID

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Title": "sample string 1",
    "Identifier": "sample string 2",
    "Code": "sample string 3",
    "ID": 4
  },
  {
    "Title": "sample string 1",
    "Identifier": "sample string 2",
    "Code": "sample string 3",
    "ID": 4
  }
]

text/html

Sample:
[{"Title":"sample string 1","Identifier":"sample string 2","Code":"sample string 3","ID":4},{"Title":"sample string 1","Identifier":"sample string 2","Code":"sample string 3","ID":4}]

application/xml, text/xml

Sample:
<ArrayOfCountryTypeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Metib.Modules.Marketing.Api.DTO">
  <CountryTypeDTO>
    <ID xmlns="http://schemas.datacontract.org/2004/07/Metib.Kernel.Api">4</ID>
    <Code>sample string 3</Code>
    <Identifier>sample string 2</Identifier>
    <Title>sample string 1</Title>
  </CountryTypeDTO>
  <CountryTypeDTO>
    <ID xmlns="http://schemas.datacontract.org/2004/07/Metib.Kernel.Api">4</ID>
    <Code>sample string 3</Code>
    <Identifier>sample string 2</Identifier>
    <Title>sample string 1</Title>
  </CountryTypeDTO>
</ArrayOfCountryTypeDTO>