POST Api/Fee/GetPaymentTypes

Request Information

URI Parameters

None.

Body Parameters

PaymentTypeRequestModel
NameDescriptionTypeAdditional information
Source

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<PaymentTypeRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HotSteel.Service.Web.Models">
  <Source>sample string 1</Source>
</PaymentTypeRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of PaymentType
NameDescriptionTypeAdditional information
SourcePaymentTypeId

string

None.

Source

string

None.

PaymentTypeId

integer

None.

Description

string

None.

Sign

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "SourcePaymentTypeId": "sample string 1",
    "Source": "sample string 2",
    "PaymentTypeId": 3,
    "Description": "sample string 4",
    "Sign": 5
  },
  {
    "SourcePaymentTypeId": "sample string 1",
    "Source": "sample string 2",
    "PaymentTypeId": 3,
    "Description": "sample string 4",
    "Sign": 5
  }
]

application/xml, text/xml

Sample:
<ArrayOfPaymentType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HotSteel.Data.Models.CamiSupport">
  <PaymentType>
    <Description>sample string 4</Description>
    <PaymentTypeId>3</PaymentTypeId>
    <Sign>5</Sign>
    <Source>sample string 2</Source>
    <SourcePaymentTypeId>sample string 1</SourcePaymentTypeId>
  </PaymentType>
  <PaymentType>
    <Description>sample string 4</Description>
    <PaymentTypeId>3</PaymentTypeId>
    <Sign>5</Sign>
    <Source>sample string 2</Source>
    <SourcePaymentTypeId>sample string 1</SourcePaymentTypeId>
  </PaymentType>
</ArrayOfPaymentType>