---
title: "PUT /api/services/app/ConsultationShift/Update"
method: PUT
path: "/api/services/app/ConsultationShift/Update"
tags: ["ConsultationShift"]
---

# PUT /api/services/app/ConsultationShift/Update

`PUT /api/services/app/ConsultationShift/Update`

## Request body

- CRUConsultationShiftDto
  - `id` integer
  - `name` string, required — Required; Length 0–64
  - `shortName` string, required — Required; Length 0–16
  - `desc` string, nullable — Length 0–256
  - `isActive` boolean
  - `displayIndex` integer, nullable
  - `isOvertime` boolean
  - `fromTime` string, required — Required; Regex pattern applied
  - `toTime` string, required — Required; Regex pattern applied
  - `stopTime` integer
  - `holidayFromTime` string, nullable — Regex pattern applied
  - `holidayToTime` string, nullable — Regex pattern applied
  - `patientLimit` integer
  - `patientLimitOnline` integer
  - `examinationTimePerPatient` integer
  - `errorMargin` integer

## Response `200`

Success

- ConsultationShiftDto
  - `id` integer
  - `creationTime` string, date-time
  - `creatorUserId` integer, nullable
  - `lastModificationTime` string, date-time, nullable
  - `lastModifierUserId` integer, nullable
  - `name` string, nullable
  - `shortName` string, nullable
  - `fromTime` string, nullable
  - `toTime` string, nullable
  - `stopTime` integer
  - `holidayFromTime` string, nullable
  - `holidayToTime` string, nullable
  - `desc` string, nullable
  - `isActive` boolean
  - `displayIndex` integer, nullable
  - `isOvertime` boolean
  - `patientLimit` integer
  - `patientLimitOnline` integer
  - `examinationTimePerPatient` integer
  - `errorMargin` 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)
