GET api/PaymentMethods

GET api/PaymentMethods

returns a list of available payment methods

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of PaymentMethods
NameDescriptionTypeAdditional information
PaymentType

string

None.

PaymentTypeName

string

None.

PaymentTypeDescription

string

None.

Cash

integer

None.

OnInvoice

integer

None.

EC

integer

None.

Employee

integer

None.

Voucher

integer

None.

EC_Man

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PaymentType": "sample string 1",
    "PaymentTypeName": "sample string 2",
    "PaymentTypeDescription": "sample string 3",
    "Cash": 4,
    "OnInvoice": 5,
    "EC": 6,
    "Employee": 7,
    "Voucher": 8,
    "EC_Man": 9
  },
  {
    "PaymentType": "sample string 1",
    "PaymentTypeName": "sample string 2",
    "PaymentTypeDescription": "sample string 3",
    "Cash": 4,
    "OnInvoice": 5,
    "EC": 6,
    "Employee": 7,
    "Voucher": 8,
    "EC_Man": 9
  }
]

application/xml, text/xml

Sample:
<ArrayOfPaymentMethods xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KOSTIFC">
  <PaymentMethods>
    <Cash>4</Cash>
    <EC>6</EC>
    <EC_Man>9</EC_Man>
    <Employee>7</Employee>
    <OnInvoice>5</OnInvoice>
    <PaymentType>sample string 1</PaymentType>
    <PaymentTypeDescription>sample string 3</PaymentTypeDescription>
    <PaymentTypeName>sample string 2</PaymentTypeName>
    <Voucher>8</Voucher>
  </PaymentMethods>
  <PaymentMethods>
    <Cash>4</Cash>
    <EC>6</EC>
    <EC_Man>9</EC_Man>
    <Employee>7</Employee>
    <OnInvoice>5</OnInvoice>
    <PaymentType>sample string 1</PaymentType>
    <PaymentTypeDescription>sample string 3</PaymentTypeDescription>
    <PaymentTypeName>sample string 2</PaymentTypeName>
    <Voucher>8</Voucher>
  </PaymentMethods>
</ArrayOfPaymentMethods>