---
title: "Check for schedule conflicts before creating/updating an item.
Always returns 200 with conflict details in the response body."
method: POST
path: "/ScheduleItems/check-conflicts"
tags: ["ScheduleItems"]
---

# Check for schedule conflicts before creating/updating an item.
Always returns 200 with conflict details in the response body.

`POST /ScheduleItems/check-conflicts`

## Request body

- CheckScheduleConflictsRequest — Request to check for schedule conflicts before creating/updating
  - `locationId` string, required
  - `startTime` string, date-time, required
  - `endTime` string, date-time, required
  - `isRecurring` boolean
  - `recurrencePattern` RecurrencePatternDto — Pattern for recurring schedule items
    - `frequency` string, required — DAILY, WEEKLY, or MONTHLY
    - `interval` union — Interval between occurrences (e.g., 2 = every 2 weeks)
      - integer
      - string, int32
    - `daysOfWeek` string[], nullable — Days of week for weekly recurrence (MO, TU, WE, TH, FR, SA, SU)
    - `dayOfMonth` union — Day of month for monthly recurrence (1-31)
      - integer
      - string, int32
    - `endType` string, required — End type: never, on_date, or after_count
    - `endDate` string, date-time, nullable — End date when EndType is on_date
    - `endAfterCount` union — Number of occurrences when EndType is after_count
      - integer
      - string, int32
  - `excludeScheduleItemId` string, nullable

## Response `200`

OK

- ScheduleConflictCheckResponse — Response from the conflict check endpoint
  - `hasConflicts` boolean
  - `conflicts` ScheduleConflictDto[]
    - `proposedStart` string, date-time
    - `proposedEnd` string, date-time
    - `conflictingItemId` string, required
    - `conflictingItemTitle` string, required
    - `conflictingItemType` string, required
    - `conflictingStart` string, date-time
    - `conflictingEnd` string, date-time
    - `conflictingIsRecurringInstance` boolean
    - `conflictingParentId` string, nullable
    - `hasAppointment` boolean
  - `totalOccurrencesChecked` union
    - integer
    - string, int32

---

[API](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1.md) · [All operations](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clinicos/pawthosx-business-api-v1/versions/a905bde4e796/schema)
