GET api/companies/GetCountryList?page={page}&pageSize={pageSize}&orderBy={orderBy}&ascending={ascending}
Get Country List
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| page |
Page number |
integer |
Default value is 1 |
| pageSize |
Number of records a page can hold |
integer |
Default value is 50 |
| orderBy |
Order By |
string |
Default value is Id |
| ascending |
Asc/Desc |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
CountryDTO
Country| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CountryName | string |
String length: inclusive between 0 and 50 |
|
| CountryCode | string |
String length: inclusive between 0 and 2 |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"countryName": "sample string 2",
"countryCode": "sample string 3"
}