POST api/Account/GetAllCountries
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
countryListResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| message | string |
None. |
|
| countryList | Collection of countryList |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"message": "sample string 2",
"countryList": [
{
"countryID": 1,
"countryName": "sample string 2"
},
{
"countryID": 1,
"countryName": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<countryListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PromptTech.CRM.CustomerApp.Models">
<countryList>
<countryList>
<countryID>1</countryID>
<countryName>sample string 2</countryName>
</countryList>
<countryList>
<countryID>1</countryID>
<countryName>sample string 2</countryName>
</countryList>
</countryList>
<message>sample string 2</message>
<success>true</success>
</countryListResponse>