PUT 17.0/database/contacttasks/{id}

Description

Update existing Contact Tasks

URI Parameters

Name Description Type Additional information
id

integer

Required

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": 1,
  "propertyID": 1,
  "workOrderID": 1,
  "propertyOfferID": 1,
  "certificateID": 1,
  "contactTaskID": 1,
  "subject": "sample string 1",
  "body": "sample string 2",
  "addedDate": "2025-01-09T20:36",
  "startDate": "2025-01-09T20:36",
  "dueDate": "2025-01-09T20:36",
  "updatedDate": "2025-01-09T20:36",
  "completedDate": "2025-01-09T20:36",
  "userID": 1,
  "assignedUserID": 1,
  "appointmentID": 1,
  "priority": 64,
  "siteID": 1,
  "taskTypeID": 1,
  "assignedUserAcknowledged": 64,
  "alwaysShowAtTop": 64,
  "desktopAlert": 64,
  "desktopAlertShowOnProperties": 64
}

application/xml, text/xml

Sample:
<ContactTasksUpdate 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>1</ContactID>
  <PropertyID>1</PropertyID>
  <WorkOrderID>1</WorkOrderID>
  <PropertyOfferID>1</PropertyOfferID>
  <CertificateID>1</CertificateID>
  <ContactTaskID>1</ContactTaskID>
  <Subject>sample string 1</Subject>
  <Body>sample string 2</Body>
  <AddedDate>2025-01-09T20:36:51.3907161+00:00</AddedDate>
  <StartDate>2025-01-09T20:36:51.3907161+00:00</StartDate>
  <DueDate>2025-01-09T20:36:51.3907161+00:00</DueDate>
  <UpdatedDate>2025-01-09T20:36:51.3907161+00:00</UpdatedDate>
  <CompletedDate>2025-01-09T20:36:51.3907161+00:00</CompletedDate>
  <UserID>1</UserID>
  <AssignedUserID>1</AssignedUserID>
  <AppointmentID>1</AppointmentID>
  <Priority>64</Priority>
  <SiteID>1</SiteID>
  <TaskTypeID>1</TaskTypeID>
  <AssignedUserAcknowledged>64</AssignedUserAcknowledged>
  <AlwaysShowAtTop>64</AlwaysShowAtTop>
  <DesktopAlert>64</DesktopAlert>
  <DesktopAlertShowOnProperties>64</DesktopAlertShowOnProperties>
</ContactTasksUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

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:36",
  "startDate": "2025-01-09T20:36",
  "dueDate": "2025-01-09T20:36",
  "updatedDate": "2025-01-09T20:36",
  "completedDate": "2025-01-09T20:36",
  "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:36:51.4063423+00:00</AddedDate>
  <StartDate>2025-01-09T20:36:51.4063423+00:00</StartDate>
  <DueDate>2025-01-09T20:36:51.4063423+00:00</DueDate>
  <UpdatedDate>2025-01-09T20:36:51.4063423+00:00</UpdatedDate>
  <CompletedDate>2025-01-09T20:36:51.4063423+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>