PUT 17.0/database/paymentcollections/{id}

Description

Update existing Payment Collections

URI Parameters

Name Description Type Additional information
id

integer

Required

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:43",
  "dueDate": "2025-01-09T20:43",
  "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:43:37.0370912+00:00</AddedDate>
  <DueDate>2025-01-09T20:43:37.0370912+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:43",
  "dueDate": "2025-01-09T20:43",
  "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:43:37.0370912+00:00</AddedDate>
  <DueDate>2025-01-09T20:43:37.0370912+00:00</DueDate>
  <UserID>4</UserID>
  <CompanyID>5</CompanyID>
  <Amount>6</Amount>
</PaymentCollections>