POST api/sidenotes/{sideNoteId}/payment

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sideNoteId

integer

Required

Body Parameters

SideNotePaymentSubModel
NameDescriptionTypeAdditional information
AccountNumber

integer

None.

DealId

integer

None.

DealPaymentId

integer

None.

SideNoteScheduleId

integer

None.

Amount

decimal number

None.

DatePaid

date

None.

PaymentType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountNumber": 1,
  "DealId": 2,
  "DealPaymentId": 3,
  "SideNoteScheduleId": 4,
  "Amount": 5.0,
  "DatePaid": "2025-07-05T06:14:08.9052253+00:00",
  "PaymentType": "sample string 7"
}

application/xml, text/xml

Sample:
<SideNotePaymentSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.DMS.Business.Entities.SubModels">
  <AccountNumber>1</AccountNumber>
  <Amount>5</Amount>
  <DatePaid>2025-07-05T06:14:08.9052253+00:00</DatePaid>
  <DealId>2</DealId>
  <DealPaymentId>3</DealPaymentId>
  <PaymentType>sample string 7</PaymentType>
  <SideNoteScheduleId>4</SideNoteScheduleId>
</SideNotePaymentSubModel>

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 'SideNotePaymentSubModel'

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.