GET api/v1/CountriesMaster?search={search}&sort={sort}
Gets the list of country available. Country name or Country code. Minimum length is 2 characters. (optional)Field to sort on. prepend + or - to indicate ascending or descending. Defalult to +CountryCode (optional)
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
search | No documentation available. |
Define this parameter in the request URI. |
sort | No documentation available. |
Define this parameter in the request URI. |
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
[ { "IsActivated": true, "CountryCode": "sample string 1", "CountryName": "sample string 1 (sample string 2)" }, { "IsActivated": true, "CountryCode": "sample string 1", "CountryName": "sample string 1 (sample string 2)" }, { "IsActivated": true, "CountryCode": "sample string 1", "CountryName": "sample string 1 (sample string 2)" } ]
application/xml, text/xml
Sample:
<ArrayOfCountryMasterDTO> <CountryMasterDTO> <CountryCode>sample string 1</CountryCode> <CountryName>sample string 1 (sample string 2)</CountryName> <IsActivated>true</IsActivated> </CountryMasterDTO> <CountryMasterDTO> <CountryCode>sample string 1</CountryCode> <CountryName>sample string 1 (sample string 2)</CountryName> <IsActivated>true</IsActivated> </CountryMasterDTO> <CountryMasterDTO> <CountryCode>sample string 1</CountryCode> <CountryName>sample string 1 (sample string 2)</CountryName> <IsActivated>true</IsActivated> </CountryMasterDTO> </ArrayOfCountryMasterDTO>