GET api/MobileAppPhase1/Get_CountryList/{searchType}/{destinationType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
searchType

string

Required

destinationType

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of CountryResponseModel
NameDescriptionTypeAdditional information
CountryId

integer

None.

CountryName

string

None.

CountryCode

string

None.

ISOCode

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CountryId": 1,
    "CountryName": "sample string 2",
    "CountryCode": "sample string 3",
    "ISOCode": "sample string 4"
  },
  {
    "CountryId": 1,
    "CountryName": "sample string 2",
    "CountryCode": "sample string 3",
    "ISOCode": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCountryResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.Customer.Response">
  <CountryResponseModel>
    <CountryCode>sample string 3</CountryCode>
    <CountryId>1</CountryId>
    <CountryName>sample string 2</CountryName>
    <ISOCode>sample string 4</ISOCode>
  </CountryResponseModel>
  <CountryResponseModel>
    <CountryCode>sample string 3</CountryCode>
    <CountryId>1</CountryId>
    <CountryName>sample string 2</CountryName>
    <ISOCode>sample string 4</ISOCode>
  </CountryResponseModel>
</ArrayOfCountryResponseModel>