POST Irman/GetToCoutryList

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

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Jsonparams'.

Response Information

Resource Description

GetToCoutryList
NameDescriptionTypeAdditional information
errormsg

string

None.

Coutrylist

Collection of GetToCoutryOut

None.

Response Formats

application/json, text/json

Sample:
{
  "Coutrylist": [
    {
      "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:
<GetToCoutryList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IrmanPayWebApi.Models">
  <Coutrylist>
    <GetToCoutryOut>
      <country_code>sample string 1</country_code>
      <country_name>sample string 2</country_name>
    </GetToCoutryOut>
    <GetToCoutryOut>
      <country_code>sample string 1</country_code>
      <country_name>sample string 2</country_name>
    </GetToCoutryOut>
  </Coutrylist>
  <errormsg>sample string 1</errormsg>
</GetToCoutryList>