POST api/Countries/GetCountryList
Request Information
URI Parameters
None.
Body Parameters
CountryRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SearchType | string |
None. |
|
| DestinationType | string |
None. |
|
| RequestedFrom | string |
None. |
|
| DeviceId | string |
None. |
|
| DeviceType | string |
None. |
|
| DeviceName | string |
None. |
|
| DeviceModel | string |
None. |
|
| AppVersion | string |
None. |
|
| AppType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SearchType": "sample string 1",
"DestinationType": "sample string 2",
"RequestedFrom": "sample string 3",
"DeviceId": "sample string 4",
"DeviceType": "sample string 5",
"DeviceName": "sample string 6",
"DeviceModel": "sample string 7",
"AppVersion": "sample string 8",
"AppType": "sample string 9"
}
application/xml, text/xml
Sample:
<CountryRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.MobileApp"> <AppType>sample string 9</AppType> <AppVersion>sample string 8</AppVersion> <DeviceId>sample string 4</DeviceId> <DeviceModel>sample string 7</DeviceModel> <DeviceName>sample string 6</DeviceName> <DeviceType>sample string 5</DeviceType> <DestinationType>sample string 2</DestinationType> <RequestedFrom>sample string 3</RequestedFrom> <SearchType>sample string 1</SearchType> </CountryRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
MobileAppCountryResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | string |
None. |
|
| ResponseMessage | string |
None. |
|
| Countries | Collection of MobileAppCountryInfo |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": "sample string 1",
"ResponseMessage": "sample string 2",
"Countries": [
{
"CountryName": "sample string 1",
"CountryId": 2,
"CountryCode": "sample string 3",
"CountryISOCode": "sample string 4",
"CustomerServiceNumber": "sample string 5"
},
{
"CountryName": "sample string 1",
"CountryId": 2,
"CountryCode": "sample string 3",
"CountryISOCode": "sample string 4",
"CustomerServiceNumber": "sample string 5"
}
]
}
application/xml, text/xml
Sample:
<MobileAppCountryResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.MobileApp">
<Countries>
<MobileAppCountryInfo>
<CountryCode>sample string 3</CountryCode>
<CountryISOCode>sample string 4</CountryISOCode>
<CountryId>2</CountryId>
<CountryName>sample string 1</CountryName>
<CustomerServiceNumber>sample string 5</CustomerServiceNumber>
</MobileAppCountryInfo>
<MobileAppCountryInfo>
<CountryCode>sample string 3</CountryCode>
<CountryISOCode>sample string 4</CountryISOCode>
<CountryId>2</CountryId>
<CountryName>sample string 1</CountryName>
<CustomerServiceNumber>sample string 5</CustomerServiceNumber>
</MobileAppCountryInfo>
</Countries>
<ResponseCode>sample string 1</ResponseCode>
<ResponseMessage>sample string 2</ResponseMessage>
</MobileAppCountryResponseModel>