POST api/GetNationality
Request Information
URI Parameters
None.
Body Parameters
Jsonparams| Name | Description | Type | Additional information |
|---|---|---|---|
| jsonstring | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"jsonstring": "sample string 1"
}
application/xml, text/xml
Sample:
<Jsonparams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EmaalWebAPI.Models"> <jsonstring>sample string 1</jsonstring> </Jsonparams>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetNationalityResult| Name | Description | Type | Additional information |
|---|---|---|---|
| CountryList | Collection of GetNationalityItems |
None. |
Response Formats
application/json, text/json
Sample:
{
"CountryList": [
{
"CountryCode": "sample string 1",
"countryName": "sample string 2"
},
{
"CountryCode": "sample string 1",
"countryName": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<GetNationalityResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EmaalWebAPI.Models">
<CountryList>
<GetNationalityItems>
<CountryCode>sample string 1</CountryCode>
<countryName>sample string 2</countryName>
</GetNationalityItems>
<GetNationalityItems>
<CountryCode>sample string 1</CountryCode>
<countryName>sample string 2</countryName>
</GetNationalityItems>
</CountryList>
</GetNationalityResult>