POST SelfService/GetCountryList
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/IrmanPayWebApi.Models"> <jsonstring>sample string 1</jsonstring> </Jsonparams>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetCountryList| Name | Description | Type | Additional information |
|---|---|---|---|
| errormsg | string |
None. |
|
| CountryList | Collection of GetCountryListDetails |
None. |
Response Formats
application/json, text/json
Sample:
{
"CountryList": [
{
"country_code": "sample string 1",
"Country_Name": "sample string 2"
},
{
"country_code": "sample string 1",
"Country_Name": "sample string 2"
}
],
"errormsg": "sample string 1"
}
application/xml, text/xml
Sample:
<GetCountryList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IrmanPayWebApi.Models">
<CountryList>
<GetCountryListDetails>
<Country_Name>sample string 2</Country_Name>
<country_code>sample string 1</country_code>
</GetCountryListDetails>
<GetCountryListDetails>
<Country_Name>sample string 2</Country_Name>
<country_code>sample string 1</country_code>
</GetCountryListDetails>
</CountryList>
<errormsg>sample string 1</errormsg>
</GetCountryList>