GET Countries?page={page}&pageSize={pageSize}

Gets all the countries, represented as CountryDto.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
page

The page (optional, 1 by default).

integer

Default value is 1

pageSize

The page size (optional, 50 by default).

integer

Default value is 50

Body Parameters

None.

Response Information

Resource Description

A collection of countries.

Collection of CountryDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

None.

IdCurrencyCode

globally unique identifier

None.

CurrencyCode

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "5da4ee03-a4bb-4e43-bc56-1c20868d3a2c",
    "Name": "sample string 2",
    "IdCurrencyCode": "36c6058d-62c6-4ad8-84a3-d1c3892bec9a",
    "CurrencyCode": "sample string 4"
  },
  {
    "Id": "5da4ee03-a4bb-4e43-bc56-1c20868d3a2c",
    "Name": "sample string 2",
    "IdCurrencyCode": "36c6058d-62c6-4ad8-84a3-d1c3892bec9a",
    "CurrencyCode": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCountryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model">
  <CountryDto>
    <CurrencyCode>sample string 4</CurrencyCode>
    <Id>5da4ee03-a4bb-4e43-bc56-1c20868d3a2c</Id>
    <IdCurrencyCode>36c6058d-62c6-4ad8-84a3-d1c3892bec9a</IdCurrencyCode>
    <Name>sample string 2</Name>
  </CountryDto>
  <CountryDto>
    <CurrencyCode>sample string 4</CurrencyCode>
    <Id>5da4ee03-a4bb-4e43-bc56-1c20868d3a2c</Id>
    <IdCurrencyCode>36c6058d-62c6-4ad8-84a3-d1c3892bec9a</IdCurrencyCode>
    <Name>sample string 2</Name>
  </CountryDto>
</ArrayOfCountryDto>