GET 1.0/internal/tasks/{siteprefix}/{siteid}

Description

Gets all Contact Tasks assigned to a Siteprefix and Site Id that need to be downloaded (syncstatus is = to 0)

URI Parameters

Name Description Type Additional information
sitePrefix

string

Required

siteID

integer

Required

None.

None.

An Array of Appointments

Collection of ContactTask
Name Description Type Additional information
ID

integer

None.

SitePrefix

string

None.

SiteID

integer

None.

AcquaintTaskID

integer

None.

AddedDate

date

None.

Type

byte

None.

ContactID

integer

None.

PropertyID

integer

None.

Subject

string

None.

Body

string

None.

SyncStatus

byte

None.

application/json, text/json

Sample:
[
  {
    "id": 1,
    "sitePrefix": "sample string 2",
    "siteID": 3,
    "acquaintTaskID": 4,
    "addedDate": "2026-01-12T08:50:14.8530637+00:00",
    "type": 64,
    "contactID": 7,
    "propertyID": 8,
    "subject": "sample string 9",
    "body": "sample string 10",
    "syncStatus": 64
  },
  {
    "id": 1,
    "sitePrefix": "sample string 2",
    "siteID": 3,
    "acquaintTaskID": 4,
    "addedDate": "2026-01-12T08:50:14.8530637+00:00",
    "type": 64,
    "contactID": 7,
    "propertyID": 8,
    "subject": "sample string 9",
    "body": "sample string 10",
    "syncStatus": 64
  }
]

application/xml, text/xml

Sample:
<ArrayOfContactTask xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ContactTask>
    <ID>1</ID>
    <SitePrefix>sample string 2</SitePrefix>
    <SiteID>3</SiteID>
    <AcquaintTaskID>4</AcquaintTaskID>
    <AddedDate>2026-01-12T08:50:14.8530637+00:00</AddedDate>
    <Type>64</Type>
    <ContactID>7</ContactID>
    <PropertyID>8</PropertyID>
    <Subject>sample string 9</Subject>
    <Body>sample string 10</Body>
    <SyncStatus>64</SyncStatus>
  </ContactTask>
  <ContactTask>
    <ID>1</ID>
    <SitePrefix>sample string 2</SitePrefix>
    <SiteID>3</SiteID>
    <AcquaintTaskID>4</AcquaintTaskID>
    <AddedDate>2026-01-12T08:50:14.8530637+00:00</AddedDate>
    <Type>64</Type>
    <ContactID>7</ContactID>
    <PropertyID>8</PropertyID>
    <Subject>sample string 9</Subject>
    <Body>sample string 10</Body>
    <SyncStatus>64</SyncStatus>
  </ContactTask>
</ArrayOfContactTask>