POST api/OwnerPayments

Request Information

URI Parameters

None.

Body Parameters

Collection of OwnerPayment
NameDescriptionTypeAdditional information
OwnerId

integer

None.

PaymentDate

date

None.

CheckNumber

string

None.

PaymentAmount

decimal number

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "OwnerId": 1,
    "PaymentDate": "2024-03-28T23:01:59.6850628+00:00",
    "CheckNumber": "sample string 3",
    "PaymentAmount": 4.0
  },
  {
    "OwnerId": 1,
    "PaymentDate": "2024-03-28T23:01:59.6850628+00:00",
    "CheckNumber": "sample string 3",
    "PaymentAmount": 4.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfOwnerPayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <OwnerPayment>
    <CheckNumber>sample string 3</CheckNumber>
    <OwnerId>1</OwnerId>
    <PaymentAmount>4</PaymentAmount>
    <PaymentDate>2024-03-28T23:01:59.6850628+00:00</PaymentDate>
  </OwnerPayment>
  <OwnerPayment>
    <CheckNumber>sample string 3</CheckNumber>
    <OwnerId>1</OwnerId>
    <PaymentAmount>4</PaymentAmount>
    <PaymentDate>2024-03-28T23:01:59.6850628+00:00</PaymentDate>
  </OwnerPayment>
</ArrayOfOwnerPayment>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.