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 CountryDtoName | 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": "aa148b6b-06b3-452e-91da-574eb877a1cb", "Name": "sample string 2", "IdCurrencyCode": "88057bcf-38ab-4854-b765-512115a94256", "CurrencyCode": "sample string 4" }, { "Id": "aa148b6b-06b3-452e-91da-574eb877a1cb", "Name": "sample string 2", "IdCurrencyCode": "88057bcf-38ab-4854-b765-512115a94256", "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>aa148b6b-06b3-452e-91da-574eb877a1cb</Id> <IdCurrencyCode>88057bcf-38ab-4854-b765-512115a94256</IdCurrencyCode> <Name>sample string 2</Name> </CountryDto> <CountryDto> <CurrencyCode>sample string 4</CurrencyCode> <Id>aa148b6b-06b3-452e-91da-574eb877a1cb</Id> <IdCurrencyCode>88057bcf-38ab-4854-b765-512115a94256</IdCurrencyCode> <Name>sample string 2</Name> </CountryDto> </ArrayOfCountryDto>