POST api/User/GetCountries?SeachText={SeachText}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| SeachText | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of CountryViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CountryId | integer |
None. |
|
| CountryCode | string |
None. |
|
| CountryName | string |
None. |
|
| CallingCode | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CountryId": 1,
"CountryCode": "sample string 2",
"CountryName": "sample string 3",
"CallingCode": "sample string 4"
},
{
"CountryId": 1,
"CountryCode": "sample string 2",
"CountryName": "sample string 3",
"CallingCode": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOfCountryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InfinitSol.Product.DigiCard.DTO">
<CountryViewModel>
<CallingCode>sample string 4</CallingCode>
<CountryCode>sample string 2</CountryCode>
<CountryId>1</CountryId>
<CountryName>sample string 3</CountryName>
</CountryViewModel>
<CountryViewModel>
<CallingCode>sample string 4</CallingCode>
<CountryCode>sample string 2</CountryCode>
<CountryId>1</CountryId>
<CountryName>sample string 3</CountryName>
</CountryViewModel>
</ArrayOfCountryViewModel>