POST api/PaymentToSupplier/AddPaymentToSupplier

Request Information

URI Parameters

None.

Body Parameters

PaymentToSupplier
NameDescriptionTypeAdditional information
PaymentToSupplierId

integer

None.

Amount

decimal number

None.

PaidDate

date

None.

Note

string

None.

RecordedBy

string

None.

RecordedDate

date

None.

UpdatedBy

string

None.

UpdatedDate

date

None.

Disabled

boolean

None.

RfqVenueId

integer

None.

UserId

string

None.

Receipt

boolean

None.

SupplierName

string

None.

VenueId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "paymentToSupplierId": 1,
  "amount": 1.0,
  "paidDate": "2025-08-27T15:31:50.7322677+00:00",
  "note": "sample string 2",
  "recordedBy": "sample string 3",
  "recordedDate": "2025-08-27T15:31:50.7322677+00:00",
  "updatedBy": "sample string 4",
  "updatedDate": "2025-08-27T15:31:50.7322677+00:00",
  "disabled": true,
  "rfqVenueId": 6,
  "userId": "sample string 7",
  "receipt": true,
  "supplierName": "sample string 9",
  "venueId": 10
}

text/html

Sample:
{"paymentToSupplierId":1,"amount":1.0,"paidDate":"2025-08-27T15:31:50.7322677+00:00","note":"sample string 2","recordedBy":"sample string 3","recordedDate":"2025-08-27T15:31:50.7322677+00:00","updatedBy":"sample string 4","updatedDate":"2025-08-27T15:31:50.7322677+00:00","disabled":true,"rfqVenueId":6,"userId":"sample string 7","receipt":true,"supplierName":"sample string 9","venueId":10}

application/xml, text/xml

Sample:
<PaymentToSupplier xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Common.Models">
  <Amount>1</Amount>
  <Disabled>true</Disabled>
  <Note>sample string 2</Note>
  <PaidDate>2025-08-27T15:31:50.7322677+00:00</PaidDate>
  <PaymentToSupplierId>1</PaymentToSupplierId>
  <Receipt>true</Receipt>
  <RecordedBy>sample string 3</RecordedBy>
  <RecordedDate>2025-08-27T15:31:50.7322677+00:00</RecordedDate>
  <RfqVenueId>6</RfqVenueId>
  <SupplierName>sample string 9</SupplierName>
  <UpdatedBy>sample string 4</UpdatedBy>
  <UpdatedDate>2025-08-27T15:31:50.7322677+00:00</UpdatedDate>
  <UserId>sample string 7</UserId>
  <VenueId>10</VenueId>
</PaymentToSupplier>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json, text/html

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>