GET api1/CountryContinent

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CountryContinentDTO
NameDescriptionTypeAdditional information
CountryContinentID

integer

None.

CountryID

integer

None.

ContinentID

integer

None.

Country

CountryDTO

None.

Continent

ContinentDTO

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CountryContinentID": 1,
    "CountryID": 1,
    "ContinentID": 2,
    "Country": {
      "CountryID": 1,
      "Code": "sample string 2",
      "SalesGroup": "sample string 3",
      "Name": "sample string 4"
    },
    "Continent": {
      "ContinentID": 1,
      "SalesOffice": "sample string 2",
      "Code": "sample string 3",
      "Name": "sample string 4"
    }
  },
  {
    "CountryContinentID": 1,
    "CountryID": 1,
    "ContinentID": 2,
    "Country": {
      "CountryID": 1,
      "Code": "sample string 2",
      "SalesGroup": "sample string 3",
      "Name": "sample string 4"
    },
    "Continent": {
      "ContinentID": 1,
      "SalesOffice": "sample string 2",
      "Code": "sample string 3",
      "Name": "sample string 4"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfCountryContinentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GENEX.Royalty.DTO">
  <CountryContinentDTO>
    <Continent>
      <Code>sample string 3</Code>
      <ContinentID>1</ContinentID>
      <Name>sample string 4</Name>
      <SalesOffice>sample string 2</SalesOffice>
    </Continent>
    <ContinentID>2</ContinentID>
    <Country>
      <Code>sample string 2</Code>
      <CountryID>1</CountryID>
      <Name>sample string 4</Name>
      <SalesGroup>sample string 3</SalesGroup>
    </Country>
    <CountryContinentID>1</CountryContinentID>
    <CountryID>1</CountryID>
  </CountryContinentDTO>
  <CountryContinentDTO>
    <Continent>
      <Code>sample string 3</Code>
      <ContinentID>1</ContinentID>
      <Name>sample string 4</Name>
      <SalesOffice>sample string 2</SalesOffice>
    </Continent>
    <ContinentID>2</ContinentID>
    <Country>
      <Code>sample string 2</Code>
      <CountryID>1</CountryID>
      <Name>sample string 4</Name>
      <SalesGroup>sample string 3</SalesGroup>
    </Country>
    <CountryContinentID>1</CountryContinentID>
    <CountryID>1</CountryID>
  </CountryContinentDTO>
</ArrayOfCountryContinentDTO>