GET 17.0/database/contacttasks/defaultmodel

Description

Get a Contact Tasks model with default values

URI Parameters

None.

None.

None.

Name Description Type Additional information
ID

integer

None.

Type

byte

None.

Status

byte

None.

ContactID

integer

None.

PropertyID

integer

None.

WorkOrderID

integer

None.

PropertyOfferID

integer

None.

CertificateID

integer

None.

ContactTaskID

integer

None.

Subject

string

String length: inclusive between 0 and 255

Body

string

None.

AddedDate

date

None.

StartDate

date

None.

DueDate

date

None.

UpdatedDate

date

None.

CompletedDate

date

None.

UserID

integer

None.

AssignedUserID

integer

None.

AppointmentID

integer

None.

Priority

byte

None.

SiteID

integer

None.

TaskTypeID

integer

None.

AssignedUserAcknowledged

byte

None.

AlwaysShowAtTop

byte

None.

DesktopAlert

byte

None.

DesktopAlertShowOnProperties

byte

None.

application/json, text/json

Sample:
{
  "id": 1,
  "type": 64,
  "status": 64,
  "contactID": 4,
  "propertyID": 5,
  "workOrderID": 6,
  "propertyOfferID": 7,
  "certificateID": 8,
  "contactTaskID": 9,
  "subject": "sample string 10",
  "body": "sample string 11",
  "addedDate": "2025-01-09T20:38",
  "startDate": "2025-01-09T20:38",
  "dueDate": "2025-01-09T20:38",
  "updatedDate": "2025-01-09T20:38",
  "completedDate": "2025-01-09T20:38",
  "userID": 17,
  "assignedUserID": 18,
  "appointmentID": 19,
  "priority": 64,
  "siteID": 21,
  "taskTypeID": 22,
  "assignedUserAcknowledged": 64,
  "alwaysShowAtTop": 64,
  "desktopAlert": 64,
  "desktopAlertShowOnProperties": 64
}

application/xml, text/xml

Sample:
<ContactTasks xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <Type>64</Type>
  <Status>64</Status>
  <ContactID>4</ContactID>
  <PropertyID>5</PropertyID>
  <WorkOrderID>6</WorkOrderID>
  <PropertyOfferID>7</PropertyOfferID>
  <CertificateID>8</CertificateID>
  <ContactTaskID>9</ContactTaskID>
  <Subject>sample string 10</Subject>
  <Body>sample string 11</Body>
  <AddedDate>2025-01-09T20:38:24.9064116+00:00</AddedDate>
  <StartDate>2025-01-09T20:38:24.9064116+00:00</StartDate>
  <DueDate>2025-01-09T20:38:24.9064116+00:00</DueDate>
  <UpdatedDate>2025-01-09T20:38:24.9064116+00:00</UpdatedDate>
  <CompletedDate>2025-01-09T20:38:24.9064116+00:00</CompletedDate>
  <UserID>17</UserID>
  <AssignedUserID>18</AssignedUserID>
  <AppointmentID>19</AppointmentID>
  <Priority>64</Priority>
  <SiteID>21</SiteID>
  <TaskTypeID>22</TaskTypeID>
  <AssignedUserAcknowledged>64</AssignedUserAcknowledged>
  <AlwaysShowAtTop>64</AlwaysShowAtTop>
  <DesktopAlert>64</DesktopAlert>
  <DesktopAlertShowOnProperties>64</DesktopAlertShowOnProperties>
</ContactTasks>