PUT 17.0/database/messages/{id}

Description

Update existing Messages

URI Parameters

Name Description Type Additional information
id

integer

Required

Name Description Type Additional information
ID

integer

None.

Title

string

String length: inclusive between 0 and 50

Message

string

String length: inclusive between 0 and 512

ContactID

integer

None.

PropertyID

integer

None.

UserID

integer

None.

TaskID

integer

None.

AppointmentID

integer

None.

ContactDocumentID

integer

None.

AltID

integer

None.

AddedDate

date

None.

Type

byte

None.

URL

string

String length: inclusive between 0 and 100

application/json, text/json

Sample:
{
  "id": 1,
  "title": "sample string 1",
  "message": "sample string 2",
  "contactID": 1,
  "propertyID": 1,
  "userID": 1,
  "taskID": 1,
  "appointmentID": 1,
  "contactDocumentID": 1,
  "altID": 1,
  "addedDate": "2025-01-09T20:45",
  "type": 64,
  "url": "sample string 3"
}

application/xml, text/xml

Sample:
<MessagesUpdate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <Title>sample string 1</Title>
  <Message>sample string 2</Message>
  <ContactID>1</ContactID>
  <PropertyID>1</PropertyID>
  <UserID>1</UserID>
  <TaskID>1</TaskID>
  <AppointmentID>1</AppointmentID>
  <ContactDocumentID>1</ContactDocumentID>
  <AltID>1</AltID>
  <AddedDate>2025-01-09T20:45:44.8595661+00:00</AddedDate>
  <Type>64</Type>
  <URL>sample string 3</URL>
</MessagesUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Name Description Type Additional information
ID

integer

None.

Title

string

String length: inclusive between 0 and 50

Message

string

String length: inclusive between 0 and 512

ContactID

integer

None.

PropertyID

integer

None.

UserID

integer

None.

TaskID

integer

None.

AppointmentID

integer

None.

ContactDocumentID

integer

None.

AltID

integer

None.

AddedDate

date

None.

Type

byte

None.

URL

string

String length: inclusive between 0 and 100

application/json, text/json

Sample:
{
  "id": 1,
  "title": "sample string 2",
  "message": "sample string 3",
  "contactID": 4,
  "propertyID": 5,
  "userID": 6,
  "taskID": 7,
  "appointmentID": 8,
  "contactDocumentID": 9,
  "altID": 10,
  "addedDate": "2025-01-09T20:45",
  "type": 64,
  "url": "sample string 13"
}

application/xml, text/xml

Sample:
<Messages xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <Title>sample string 2</Title>
  <Message>sample string 3</Message>
  <ContactID>4</ContactID>
  <PropertyID>5</PropertyID>
  <UserID>6</UserID>
  <TaskID>7</TaskID>
  <AppointmentID>8</AppointmentID>
  <ContactDocumentID>9</ContactDocumentID>
  <AltID>10</AltID>
  <AddedDate>2025-01-09T20:45:44.8595661+00:00</AddedDate>
  <Type>64</Type>
  <URL>sample string 13</URL>
</Messages>