POST 17.0/database/contactdocuments

Description

Create Contact Documents

URI Parameters

None.

Name Description Type Additional information
ID

integer

None.

ContactID

integer

None.

DocumentID

integer

None.

Description

string

String length: inclusive between 0 and 255

FileName

string

String length: inclusive between 0 and 255

UserID

integer

None.

PropertyID

integer

None.

WorkOrderID

integer

None.

PropertyOfferID

integer

None.

CertificateID

integer

None.

TenancyID

integer

None.

ContactTaskID

integer

None.

AlwaysShowAtTop

byte

None.

WebUpload

byte

None.

ReviewRequired

byte

None.

ShowOnClientLogin

byte

None.

Signed

byte

None.

AddedDate

date

None.

application/json, text/json

Sample:
{
  "id": 1,
  "contactID": 1,
  "documentID": 1,
  "description": "sample string 1",
  "fileName": "sample string 2",
  "userID": 1,
  "propertyID": 1,
  "workOrderID": 1,
  "propertyOfferID": 1,
  "certificateID": 1,
  "tenancyID": 1,
  "contactTaskID": 1,
  "alwaysShowAtTop": 64,
  "webUpload": 64,
  "reviewRequired": 64,
  "showOnClientLogin": 64,
  "signed": 64,
  "addedDate": "2025-01-09T20:12"
}

application/xml, text/xml

Sample:
<ContactDocumentsUpdate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <ContactID>1</ContactID>
  <DocumentID>1</DocumentID>
  <Description>sample string 1</Description>
  <FileName>sample string 2</FileName>
  <UserID>1</UserID>
  <PropertyID>1</PropertyID>
  <WorkOrderID>1</WorkOrderID>
  <PropertyOfferID>1</PropertyOfferID>
  <CertificateID>1</CertificateID>
  <TenancyID>1</TenancyID>
  <ContactTaskID>1</ContactTaskID>
  <AlwaysShowAtTop>64</AlwaysShowAtTop>
  <WebUpload>64</WebUpload>
  <ReviewRequired>64</ReviewRequired>
  <ShowOnClientLogin>64</ShowOnClientLogin>
  <Signed>64</Signed>
  <AddedDate>2025-01-09T20:12:23.8292755+00:00</AddedDate>
</ContactDocumentsUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Name Description Type Additional information
ID

integer

None.

ContactID

integer

None.

DocumentID

integer

None.

Description

string

String length: inclusive between 0 and 255

FileName

string

String length: inclusive between 0 and 255

UserID

integer

None.

PropertyID

integer

None.

WorkOrderID

integer

None.

PropertyOfferID

integer

None.

CertificateID

integer

None.

TenancyID

integer

None.

ContactTaskID

integer

None.

AlwaysShowAtTop

byte

None.

WebUpload

byte

None.

ReviewRequired

byte

None.

ShowOnClientLogin

byte

None.

Signed

byte

None.

AddedDate

date

None.

application/json, text/json

Sample:
{
  "id": 1,
  "contactID": 2,
  "documentID": 3,
  "description": "sample string 4",
  "fileName": "sample string 5",
  "userID": 6,
  "propertyID": 7,
  "workOrderID": 8,
  "propertyOfferID": 9,
  "certificateID": 10,
  "tenancyID": 11,
  "contactTaskID": 12,
  "alwaysShowAtTop": 64,
  "webUpload": 64,
  "reviewRequired": 64,
  "showOnClientLogin": 64,
  "signed": 64,
  "addedDate": "2025-01-09T20:12"
}

application/xml, text/xml

Sample:
<ContactDocuments xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <ContactID>2</ContactID>
  <DocumentID>3</DocumentID>
  <Description>sample string 4</Description>
  <FileName>sample string 5</FileName>
  <UserID>6</UserID>
  <PropertyID>7</PropertyID>
  <WorkOrderID>8</WorkOrderID>
  <PropertyOfferID>9</PropertyOfferID>
  <CertificateID>10</CertificateID>
  <TenancyID>11</TenancyID>
  <ContactTaskID>12</ContactTaskID>
  <AlwaysShowAtTop>64</AlwaysShowAtTop>
  <WebUpload>64</WebUpload>
  <ReviewRequired>64</ReviewRequired>
  <ShowOnClientLogin>64</ShowOnClientLogin>
  <Signed>64</Signed>
  <AddedDate>2025-01-09T20:12:23.8292755+00:00</AddedDate>
</ContactDocuments>