PUT 17.0/database/receipts/{id}

Description

Update existing Receipts

URI Parameters

Name Description Type Additional information
id

integer

Required

Name Description Type Additional information
ID

integer

None.

ContactID

integer

None.

PropertyID

integer

None.

AddedDate

date

None.

UserID

integer

None.

SiteID

integer

None.

CompanyID

integer

None.

application/json, text/json

Sample:
{
  "id": 1,
  "contactID": 1,
  "propertyID": 1,
  "addedDate": "2025-01-09T20:54",
  "userID": 1,
  "siteID": 1,
  "companyID": 1
}

application/xml, text/xml

Sample:
<ReceiptsUpdate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <ContactID>1</ContactID>
  <PropertyID>1</PropertyID>
  <AddedDate>2025-01-09T20:54:08.3911736+00:00</AddedDate>
  <UserID>1</UserID>
  <SiteID>1</SiteID>
  <CompanyID>1</CompanyID>
</ReceiptsUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Name Description Type Additional information
ID

integer

None.

ContactID

integer

None.

PropertyID

integer

None.

AddedDate

date

None.

UserID

integer

None.

SiteID

integer

None.

CompanyID

integer

None.

application/json, text/json

Sample:
{
  "id": 1,
  "contactID": 2,
  "propertyID": 3,
  "addedDate": "2025-01-09T20:54",
  "userID": 5,
  "siteID": 6,
  "companyID": 7
}

application/xml, text/xml

Sample:
<Receipts xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <ContactID>2</ContactID>
  <PropertyID>3</PropertyID>
  <AddedDate>2025-01-09T20:54:08.3911736+00:00</AddedDate>
  <UserID>5</UserID>
  <SiteID>6</SiteID>
  <CompanyID>7</CompanyID>
</Receipts>