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