POST api/Payments

Request Information

URI Parameters

None.

Body Parameters

Payment
NameDescriptionTypeAdditional information
PaymentId

integer

None.

PaymentType

string

None.

AmountPaid

decimal number

None.

PaymentDate

date

None.

InvoiceId

integer

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.