POST api/CountryList

Request Information

URI Parameters

None.

Body Parameters

Jsonparams
NameDescriptionTypeAdditional 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/IRMANTOTAYOWEBAPI.Models">
  <jsonstring>sample string 1</jsonstring>
</Jsonparams>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetCountry_List
NameDescriptionTypeAdditional information
CountryList

Collection of _GetCountryList

None.

Response Formats

application/json, text/json

Sample:
{
  "CountryList": [
    {
      "Country": "sample string 1",
      "CountryCode": "sample string 2"
    },
    {
      "Country": "sample string 1",
      "CountryCode": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<GetCountry_List xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRMANTOTAYOWEBAPI.Models">
  <CountryList>
    <_GetCountryList>
      <Country>sample string 1</Country>
      <CountryCode>sample string 2</CountryCode>
    </_GetCountryList>
    <_GetCountryList>
      <Country>sample string 1</Country>
      <CountryCode>sample string 2</CountryCode>
    </_GetCountryList>
  </CountryList>
</GetCountry_List>