POST api/v1/payv1/GetPayTypeList

Request Information

URI Parameters

None.

Body Parameters

GeneralParam
NameDescriptionTypeAdditional information
CountryCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CountryCode": "sample string 1"
}

application/xml, text/xml

Sample:
<GeneralParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DDO.AppApi.Models.v1.Params">
  <CountryCode>sample string 1</CountryCode>
</GeneralParam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of PayTypeAppDto
NameDescriptionTypeAdditional information
PayTypeID

integer

None.

ShowName

string

None.

ShowIcon

string

None.

IsAppControl

integer

None.

CountryCode

string

None.

Response Formats

application/json

Sample:

Sample not available.

application/xml

Sample:
<ArrayOfPayTypeAppDto xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PayTypeAppDto>
    <PayTypeID>1</PayTypeID>
    <ShowName>sample string 2</ShowName>
    <ShowIcon>sample string 3</ShowIcon>
    <IsAppControl>4</IsAppControl>
    <CountryCode>sample string 5</CountryCode>
  </PayTypeAppDto>
  <PayTypeAppDto>
    <PayTypeID>1</PayTypeID>
    <ShowName>sample string 2</ShowName>
    <ShowIcon>sample string 3</ShowIcon>
    <IsAppControl>4</IsAppControl>
    <CountryCode>sample string 5</CountryCode>
  </PayTypeAppDto>
</ArrayOfPayTypeAppDto>

text/json

Sample:
[
  {
    "PayTypeID": 1,
    "ShowName": "sample string 2",
    "ShowIcon": "sample string 3",
    "IsAppControl": 4,
    "CountryCode": "sample string 5"
  },
  {
    "PayTypeID": 1,
    "ShowName": "sample string 2",
    "ShowIcon": "sample string 3",
    "IsAppControl": 4,
    "CountryCode": "sample string 5"
  }
]

text/xml

Sample:
<ArrayOfPayTypeAppDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Smart.Domain.Dto.Finance">
  <PayTypeAppDto>
    <CountryCode>sample string 5</CountryCode>
    <IsAppControl>4</IsAppControl>
    <PayTypeID>1</PayTypeID>
    <ShowIcon>sample string 3</ShowIcon>
    <ShowName>sample string 2</ShowName>
  </PayTypeAppDto>
  <PayTypeAppDto>
    <CountryCode>sample string 5</CountryCode>
    <IsAppControl>4</IsAppControl>
    <PayTypeID>1</PayTypeID>
    <ShowIcon>sample string 3</ShowIcon>
    <ShowName>sample string 2</ShowName>
  </PayTypeAppDto>
</ArrayOfPayTypeAppDto>