GET api/v2/countries/list
List country
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | StringExpressionQueryFilterList |
None. |
|
| Alpha2Code | StringExpressionQueryFilterList |
None. |
|
| Alpha3Code | StringExpressionQueryFilterList |
None. |
|
| NumericCode | StringExpressionQueryFilterList |
None. |
|
| Select | ListCountryQuerySelect |
Required |
|
| Sort | Collection of ListCountryQuerySort |
Required |
|
| PageNumber | integer (32 bits) |
Required |
|
| PageSize | integer (32 bits) |
Required |
Body Parameters
None.
Response Information
Resource Description
The list country query result
ListCountryQueryResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Countries | Collection of ListCountryQueryResultCountry |
Required |
|
| Count | integer (32 bits) |
Range: inclusive between 0 and 2147483647 |
Response Formats
application/json
Sample:
{
"Countries": [
{
"CountryGuid": "8a9e3614-9d9d-04e9-1436-9e8a9d9de904",
"Name": "sample string 1",
"Alpha2Code": "sample string 2",
"Alpha3Code": "sample string 3",
"NumericCode": 1
},
{
"CountryGuid": "8a9e3614-9d9d-04e9-1436-9e8a9d9de904",
"Name": "sample string 1",
"Alpha2Code": "sample string 2",
"Alpha3Code": "sample string 3",
"NumericCode": 1
}
],
"Count": 1
}