GET api/PaymentMethods

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of PaymentMethod
NameDescriptionTypeAdditional information
PaymentMethodId

integer

None.

PaymentType

string

Max length: 50

DateCreated

date

None.

DateUpdated

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PaymentMethodId": 1,
    "PaymentType": "sample string 2",
    "DateCreated": "2020-02-15T21:29:25.4318347+00:00",
    "DateUpdated": "2020-02-15T21:29:25.4318347+00:00",
    "CreatedBy": 1,
    "UpdatedBy": 1
  },
  {
    "PaymentMethodId": 1,
    "PaymentType": "sample string 2",
    "DateCreated": "2020-02-15T21:29:25.4318347+00:00",
    "DateUpdated": "2020-02-15T21:29:25.4318347+00:00",
    "CreatedBy": 1,
    "UpdatedBy": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfPaymentMethod xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <PaymentMethod>
    <CreatedBy>1</CreatedBy>
    <DateCreated>2020-02-15T21:29:25.4318347+00:00</DateCreated>
    <DateUpdated>2020-02-15T21:29:25.4318347+00:00</DateUpdated>
    <PaymentMethodId>1</PaymentMethodId>
    <PaymentType>sample string 2</PaymentType>
    <UpdatedBy>1</UpdatedBy>
  </PaymentMethod>
  <PaymentMethod>
    <CreatedBy>1</CreatedBy>
    <DateCreated>2020-02-15T21:29:25.4318347+00:00</DateCreated>
    <DateUpdated>2020-02-15T21:29:25.4318347+00:00</DateUpdated>
    <PaymentMethodId>1</PaymentMethodId>
    <PaymentType>sample string 2</PaymentType>
    <UpdatedBy>1</UpdatedBy>
  </PaymentMethod>
</ArrayOfPaymentMethod>