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

Description

Gets all appointments 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 Appointment
Name Description Type Additional information
ID

integer

None.

SitePrefix

string

None.

SiteID

integer

None.

AddedDate

date

None.

Type

integer

None.

AcquaintAppointmentID

integer

None.

PropertyID

integer

None.

ContactID

integer

None.

StartDate

date

None.

EndDate

date

None.

Confirmed

byte

None.

ConfirmedDate

date

None.

Cancelled

byte

None.

CancelledDate

date

None.

Notes

string

None.

SyncStatus

integer

None.

application/json, text/json

Sample:
[
  {
    "id": 1,
    "sitePrefix": "sample string 2",
    "siteID": 3,
    "addedDate": "2026-03-05T10:22:02.7004239+00:00",
    "type": 5,
    "acquaintAppointmentID": 6,
    "propertyID": 7,
    "contactID": 8,
    "startDate": "2026-03-05T10:22:02.7004239+00:00",
    "endDate": "2026-03-05T10:22:02.7004239+00:00",
    "confirmed": 64,
    "confirmedDate": "2026-03-05T10:22:02.7004239+00:00",
    "cancelled": 64,
    "cancelledDate": "2026-03-05T10:22:02.7004239+00:00",
    "notes": "sample string 15",
    "syncStatus": 16
  },
  {
    "id": 1,
    "sitePrefix": "sample string 2",
    "siteID": 3,
    "addedDate": "2026-03-05T10:22:02.7004239+00:00",
    "type": 5,
    "acquaintAppointmentID": 6,
    "propertyID": 7,
    "contactID": 8,
    "startDate": "2026-03-05T10:22:02.7004239+00:00",
    "endDate": "2026-03-05T10:22:02.7004239+00:00",
    "confirmed": 64,
    "confirmedDate": "2026-03-05T10:22:02.7004239+00:00",
    "cancelled": 64,
    "cancelledDate": "2026-03-05T10:22:02.7004239+00:00",
    "notes": "sample string 15",
    "syncStatus": 16
  }
]

application/xml, text/xml

Sample:
<ArrayOfAppointment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Appointment>
    <ID>1</ID>
    <SitePrefix>sample string 2</SitePrefix>
    <SiteID>3</SiteID>
    <AddedDate>2026-03-05T10:22:02.7004239+00:00</AddedDate>
    <Type>5</Type>
    <AcquaintAppointmentID>6</AcquaintAppointmentID>
    <PropertyID>7</PropertyID>
    <ContactID>8</ContactID>
    <StartDate>2026-03-05T10:22:02.7004239+00:00</StartDate>
    <EndDate>2026-03-05T10:22:02.7004239+00:00</EndDate>
    <Confirmed>64</Confirmed>
    <ConfirmedDate>2026-03-05T10:22:02.7004239+00:00</ConfirmedDate>
    <Cancelled>64</Cancelled>
    <CancelledDate>2026-03-05T10:22:02.7004239+00:00</CancelledDate>
    <Notes>sample string 15</Notes>
    <SyncStatus>16</SyncStatus>
  </Appointment>
  <Appointment>
    <ID>1</ID>
    <SitePrefix>sample string 2</SitePrefix>
    <SiteID>3</SiteID>
    <AddedDate>2026-03-05T10:22:02.7004239+00:00</AddedDate>
    <Type>5</Type>
    <AcquaintAppointmentID>6</AcquaintAppointmentID>
    <PropertyID>7</PropertyID>
    <ContactID>8</ContactID>
    <StartDate>2026-03-05T10:22:02.7004239+00:00</StartDate>
    <EndDate>2026-03-05T10:22:02.7004239+00:00</EndDate>
    <Confirmed>64</Confirmed>
    <ConfirmedDate>2026-03-05T10:22:02.7004239+00:00</ConfirmedDate>
    <Cancelled>64</Cancelled>
    <CancelledDate>2026-03-05T10:22:02.7004239+00:00</CancelledDate>
    <Notes>sample string 15</Notes>
    <SyncStatus>16</SyncStatus>
  </Appointment>
</ArrayOfAppointment>