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

# POST /api/services/app/Clinic/CreateSync

`POST /api/services/app/Clinic/CreateSync`

## Request body

- SyncClinicDto
  - `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

- integer

---

[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)
