---
title: "POST /api/services/app/Clinic/SyncExec"
method: POST
path: "/api/services/app/Clinic/SyncExec"
tags: ["Clinic"]
---

# POST /api/services/app/Clinic/SyncExec

`POST /api/services/app/Clinic/SyncExec`

## Request body

- ListSyncClinicDto
  - `creates` SyncClinicDto[], nullable
    - `id` integer
    - `name` string, required — Required; Max length 128
    - `shortName` string, required — Required; Max length 16
    - `roomNumber` string, nullable — Length 0–256
    - `desc` string, nullable — Max length 256
    - `fullDesc` string, nullable — Length 0–2048
    - `groupCode` string, nullable — Length 0–16
    - `surveyHref` string, nullable — Length 0–128
    - `surveyTitle` string, nullable — Length 0–256
    - `surveyDesc` string, nullable — Length 0–512
    - `idClinicArea` integer
    - `idService` integer, nullable
    - `idGroupDoctorLevel` integer, nullable
    - `idDepartment` integer, nullable
    - `isActive` boolean
    - `isOvertime` boolean
    - `allowHoliday` 0 | 1 | 2
    - `allowEarlyMorning` 0 | 1 | 2
    - `allowNoLimit` 0 | 1 | 2
    - `allowEstimate` 0 | 1 | 2
    - `roomId` integer
    - `executeRoomId` integer
    - `sourceId` string, nullable
    - `hisSource` 0 | 1
    - `displayIndex` integer, nullable
  - `updates` SyncClinicDto[], nullable
    - `id` integer
    - `name` string, required — Required; Max length 128
    - `shortName` string, required — Required; Max length 16
    - `roomNumber` string, nullable — Length 0–256
    - `desc` string, nullable — Max length 256
    - `fullDesc` string, nullable — Length 0–2048
    - `groupCode` string, nullable — Length 0–16
    - `surveyHref` string, nullable — Length 0–128
    - `surveyTitle` string, nullable — Length 0–256
    - `surveyDesc` string, nullable — Length 0–512
    - `idClinicArea` integer
    - `idService` integer, nullable
    - `idGroupDoctorLevel` integer, nullable
    - `idDepartment` integer, nullable
    - `isActive` boolean
    - `isOvertime` boolean
    - `allowHoliday` 0 | 1 | 2
    - `allowEarlyMorning` 0 | 1 | 2
    - `allowNoLimit` 0 | 1 | 2
    - `allowEstimate` 0 | 1 | 2
    - `roomId` integer
    - `executeRoomId` integer
    - `sourceId` string, nullable
    - `hisSource` 0 | 1
    - `displayIndex` integer, nullable
  - `deletes` SyncClinicDto[], nullable
    - `id` integer
    - `name` string, required — Required; Max length 128
    - `shortName` string, required — Required; Max length 16
    - `roomNumber` string, nullable — Length 0–256
    - `desc` string, nullable — Max length 256
    - `fullDesc` string, nullable — Length 0–2048
    - `groupCode` string, nullable — Length 0–16
    - `surveyHref` string, nullable — Length 0–128
    - `surveyTitle` string, nullable — Length 0–256
    - `surveyDesc` string, nullable — Length 0–512
    - `idClinicArea` integer
    - `idService` integer, nullable
    - `idGroupDoctorLevel` integer, nullable
    - `idDepartment` integer, nullable
    - `isActive` boolean
    - `isOvertime` boolean
    - `allowHoliday` 0 | 1 | 2
    - `allowEarlyMorning` 0 | 1 | 2
    - `allowNoLimit` 0 | 1 | 2
    - `allowEstimate` 0 | 1 | 2
    - `roomId` integer
    - `executeRoomId` integer
    - `sourceId` string, nullable
    - `hisSource` 0 | 1
    - `displayIndex` integer, nullable

## Response `200`

Success

---

[API](https://skmtc.dev/dalieu/apis/portaldalieu-api.md) · [All operations](https://skmtc.dev/dalieu/apis/portaldalieu-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dalieu/portaldalieu-api/revisions/78dcf1621c0e/schema)
