GET Countries?page={page}&pageSize={pageSize}
Gets all the countries, represented as CountryDto.
Request Information
URI Parameters
| Name | Description | Type | Additional 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| Name | Description | Type | Additional 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": "5a5595e6-3322-4eb6-a225-a86b1e0d7352",
"Name": "sample string 2",
"IdCurrencyCode": "ef9fa3fe-e3fd-4903-a82b-b9128ced00ac",
"CurrencyCode": "sample string 4"
},
{
"Id": "5a5595e6-3322-4eb6-a225-a86b1e0d7352",
"Name": "sample string 2",
"IdCurrencyCode": "ef9fa3fe-e3fd-4903-a82b-b9128ced00ac",
"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>5a5595e6-3322-4eb6-a225-a86b1e0d7352</Id>
<IdCurrencyCode>ef9fa3fe-e3fd-4903-a82b-b9128ced00ac</IdCurrencyCode>
<Name>sample string 2</Name>
</CountryDto>
<CountryDto>
<CurrencyCode>sample string 4</CurrencyCode>
<Id>5a5595e6-3322-4eb6-a225-a86b1e0d7352</Id>
<IdCurrencyCode>ef9fa3fe-e3fd-4903-a82b-b9128ced00ac</IdCurrencyCode>
<Name>sample string 2</Name>
</CountryDto>
</ArrayOfCountryDto>