POST 17.0/database/paymentcollections

Description

Create Payment Collections

URI Parameters

None.

Name Description Type Additional information
ID

integer

None.

AddedDate

date

None.

DueDate

date

None.

UserID

integer

None.

CompanyID

integer

None.

Amount

decimal number

None.

application/json, text/json

Sample:
{
  "id": 1,
  "addedDate": "2025-01-09T20:42",
  "dueDate": "2025-01-09T20:42",
  "userID": 1,
  "companyID": 1,
  "amount": 1.0
}

application/xml, text/xml

Sample:
<PaymentCollectionsUpdate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <AddedDate>2025-01-09T20:42:34.4734242+00:00</AddedDate>
  <DueDate>2025-01-09T20:42:34.4734242+00:00</DueDate>
  <UserID>1</UserID>
  <CompanyID>1</CompanyID>
  <Amount>1</Amount>
</PaymentCollectionsUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Name Description Type Additional information
ID

integer

None.

AddedDate

date

None.

DueDate

date

None.

UserID

integer

None.

CompanyID

integer

None.

Amount

decimal number

None.

application/json, text/json

Sample:
{
  "id": 1,
  "addedDate": "2025-01-09T20:42",
  "dueDate": "2025-01-09T20:42",
  "userID": 4,
  "companyID": 5,
  "amount": 6.0
}

application/xml, text/xml

Sample:
<PaymentCollections xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <AddedDate>2025-01-09T20:42:34.4734242+00:00</AddedDate>
  <DueDate>2025-01-09T20:42:34.4734242+00:00</DueDate>
  <UserID>4</UserID>
  <CompanyID>5</CompanyID>
  <Amount>6</Amount>
</PaymentCollections>