POST 17.0/database/invoices

Description

Create Invoices

URI Parameters

None.

Name Description Type Additional information
ID

integer

None.

CompanyID

integer

None.

ContactID

integer

None.

PropertyID

integer

None.

TenancyID

integer

None.

AddedDate

date

None.

Status

byte

None.

UserID

integer

None.

SiteID

integer

None.

StatementID

integer

None.

FooterText

string

None.

SendRequired

byte

None.

PropertyOfferID

integer

None.

Type

byte

None.

PurchaseOrder

string

String length: inclusive between 0 and 25

application/json, text/json

Sample:
{
  "id": 1,
  "companyID": 1,
  "contactID": 1,
  "propertyID": 1,
  "tenancyID": 1,
  "addedDate": "2025-01-09T20:17",
  "status": 64,
  "userID": 1,
  "siteID": 1,
  "statementID": 1,
  "footerText": "sample string 1",
  "sendRequired": 64,
  "propertyOfferID": 1,
  "type": 64,
  "purchaseOrder": "sample string 2"
}

application/xml, text/xml

Sample:
<InvoicesUpdate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <CompanyID>1</CompanyID>
  <ContactID>1</ContactID>
  <PropertyID>1</PropertyID>
  <TenancyID>1</TenancyID>
  <AddedDate>2025-01-09T20:17:19.6810799+00:00</AddedDate>
  <Status>64</Status>
  <UserID>1</UserID>
  <SiteID>1</SiteID>
  <StatementID>1</StatementID>
  <FooterText>sample string 1</FooterText>
  <SendRequired>64</SendRequired>
  <PropertyOfferID>1</PropertyOfferID>
  <Type>64</Type>
  <PurchaseOrder>sample string 2</PurchaseOrder>
</InvoicesUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Name Description Type Additional information
ID

integer

None.

CompanyID

integer

None.

ContactID

integer

None.

PropertyID

integer

None.

TenancyID

integer

None.

AddedDate

date

None.

Status

byte

None.

UserID

integer

None.

SiteID

integer

None.

StatementID

integer

None.

FooterText

string

None.

SendRequired

byte

None.

PropertyOfferID

integer

None.

Type

byte

None.

PurchaseOrder

string

String length: inclusive between 0 and 25

application/json, text/json

Sample:
{
  "id": 1,
  "companyID": 2,
  "contactID": 3,
  "propertyID": 4,
  "tenancyID": 5,
  "addedDate": "2025-01-09T20:17",
  "status": 64,
  "userID": 8,
  "siteID": 9,
  "statementID": 10,
  "footerText": "sample string 11",
  "sendRequired": 64,
  "propertyOfferID": 13,
  "type": 64,
  "purchaseOrder": "sample string 15"
}

application/xml, text/xml

Sample:
<Invoices xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <CompanyID>2</CompanyID>
  <ContactID>3</ContactID>
  <PropertyID>4</PropertyID>
  <TenancyID>5</TenancyID>
  <AddedDate>2025-01-09T20:17:19.6810799+00:00</AddedDate>
  <Status>64</Status>
  <UserID>8</UserID>
  <SiteID>9</SiteID>
  <StatementID>10</StatementID>
  <FooterText>sample string 11</FooterText>
  <SendRequired>64</SendRequired>
  <PropertyOfferID>13</PropertyOfferID>
  <Type>64</Type>
  <PurchaseOrder>sample string 15</PurchaseOrder>
</Invoices>