---
title: "A collection of diary appointments linked to a company filtered between specific dates and by appointment type"
method: GET
path: "/v3/diary/{shortName}/appointmentsbetweendates"
tags: ["DiaryController"]
---

# A collection of diary appointments linked to a company filtered between specific dates and by appointment type

`GET /v3/diary/{shortName}/appointmentsbetweendates`

## Request

- Base URL: `https://live-api.letmc.com`
- URL: `https://live-api.letmc.com/v3/diary/{shortName}/appointmentsbetweendates`
- Auth: none declared
- TypeScript: <https://skmtc.dev/letmc/apis/agentos-api-v3-diary-call-group/docs/v3/diary/:shortName/appointmentsbetweendates/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `shortName` string, required

## Query parameters

- `branchID` string, required
- `startDate` string, date-time, required
- `endDate` string, date-time, required
- `appointmentTypesToSearch` string[], required
- `offset` integer, required
- `count` integer, required

## Response `200`

OK

- DiaryAppointmentModelResults: Holds results from a paged query returning DiaryAppointmentModel values
  - `Data` DiaryAppointmentModel[]: The resulting data returned from the paged query range
    - `OID` string: The unique Object ID (OID).
    - `ETag` string: A unique identifier defining the object and change revision.
    - `CreatedAt` string, date-time: The date/time this appointment was created.
    - `Start` string, date-time: The start date/time of this appointment.
    - `End` string, date-time: The end date/time of this appointment.
    - `Subject` string: The appointment subject text.
    - `Comment` string: The appointment comments text.
    - `Staff` string: The staff member holding this appointment.
    - `CreatedBy` string: The staff member that created this appointment.
    - `Cancelled` boolean: Whether the appointment has been cancelled.
    - `AppointmentType` string: The diary appointment type.
    - `RemindAt` string, date-time: The date/time to remind the staff member of this appointment.
    - `RemindBefore` 'Min' | 'Min2' | 'Min5' | 'Min10' | 'Min15' | 'Min30' | 'Min45' | 'Hour' | 'Hour2' | 'Hour3' | 'Hour6' | 'Hour12' | 'Day' | 'Day2' | 'Day3' | 'Week' | 'NoReminder': The number of minutes before the appointment start date/time to remind the staff member. -1 means don't remind.
    - `LinkedProperties` LinkedPropertiesModel[]: A collection of properties linked to the appointment:-
      - `OID` string: OID
      - `ETag` string: ETag
      - `AddressNumber` string: Address Number
      - `AddressFlatRoomNumber` string: Address Flat Room Number
      - `Address1` string: Address 1
      - `Address2` string: Address2
      - `Address3` string: Address 3
      - `Address4` string: Address 4
      - `Postcode` string: Postcode
      - `MainLandlord` LinkedLandlordModel: Holds information on landlords
        - `OID` string: OID
        - `ETag` string: ETag
        - `Title` string: Title
        - `Forename` string: Forename
        - `Surname` string: Surname
        - `PhoneNumber` string: Landlord's phone number
        - `Email` string: Landlord's email address
      - `LatestTenancy` LatestTenancyModel: Holds information on the most recent tenancy linked to the property.
        - `OID` string: OID
        - `ETag` string: ETag
        - `GlobalReference` string: The unique global reference of the Tenancy
        - `StartDate` string, date-time: The start date of the Tenancy
        - `FixedDate` string, date-time: The fixed date of the Tenancy
        - `EndDate` string, date-time: The end date of the Tenancy
        - `IsTenancyProposed` boolean: Is the tenancy Proposed?
        - `IsTenancySigned` boolean: Is the tenancy signed?
        - `IsTenancyEnded` boolean: Has the Tenancy ended?
        - `LinkedTenants` LinkedTenantModel[]: A collection of tenants linked to the tenancy:-
          - `OID` string: OID
          - `ETag` string: ETag
          - `Title` string: Title
          - `Forename` string: Forename
          - `Surname` string: Surname
          - `PhoneNumber` string: Tenant's phone number
          - `Email` string: Tenant's email address
        - `AccessArrangements` string: Access Arrangements
        - `AccessName1` string: Arrange access contact name 1
        - `AccessName2` string: Arrange access contact name 2
        - `AccessName3` string: Arrange access contact name 3
        - `AccessMobile1` string: Arrange access Mobile 1
        - `AccessMobile2` string: Arrange access Mobile 2
        - `AccessMobile3` string: Arrange access Mobile 3
    - `LinkedGuest` LinkedGuestModel[]: Linked Guest Model:-
      - `OID` string: Guest OID:-
      - `GlobalReference` string: Guest Global Reference:-
      - `CreatedAt` string, date-time: Guest Created At:-
      - `Name` string: Guest Name:-
      - `Email` string: Guest Email:-
      - `Mobile` string: Guest Mobile:-
    - `Recurrence` integer: The reccurrence interval for the appointment:-
    - `RecurrenceType` string: The type of recurrence:-
    - `NextRecurringDate` string, date-time: Date appointment next repeats:-
  - `Count` integer: The total number of results available for all pages

---

[API](https://skmtc.dev/letmc/apis/agentos-api-v3-diary-call-group.md) - [All operations](https://skmtc.dev/letmc/apis/agentos-api-v3-diary-call-group/llms.txt) - [OpenAPI document](https://skmtc.dev/letmc/apis/agentos-api-v3-diary-call-group/revisions/9e518bf9a2f6?raw)
