GET api/Payments

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Payment
NameDescriptionTypeAdditional information
PaymentId

integer

None.

PaymentType

string

None.

AmountPaid

decimal number

None.

PaymentDate

date

None.

InvoiceId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PaymentId": 1,
    "PaymentType": "sample string 2",
    "AmountPaid": 3.0,
    "PaymentDate": "2026-08-24T17:38:19.8156572-05:00",
    "InvoiceId": 1
  },
  {
    "PaymentId": 1,
    "PaymentType": "sample string 2",
    "AmountPaid": 3.0,
    "PaymentDate": "2026-08-24T17:38:19.8156572-05:00",
    "InvoiceId": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfPayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HotelManagement.API">
  <Payment>
    <PaymentId>1</PaymentId>
    <PaymentType>sample string 2</PaymentType>
    <AmountPaid>3</AmountPaid>
    <PaymentDate>2026-08-24T17:38:19.8156572-05:00</PaymentDate>
    <InvoiceId>1</InvoiceId>
  </Payment>
  <Payment>
    <PaymentId>1</PaymentId>
    <PaymentType>sample string 2</PaymentType>
    <AmountPaid>3</AmountPaid>
    <PaymentDate>2026-08-24T17:38:19.8156572-05:00</PaymentDate>
    <InvoiceId>1</InvoiceId>
  </Payment>
</ArrayOfPayment>