---
title: "POST /api/services/app/ClinicSurveyAnswer/CreateOrUpdateTtm"
method: POST
path: "/api/services/app/ClinicSurveyAnswer/CreateOrUpdateTtm"
tags: ["ClinicSurveyAnswer"]
---

# POST /api/services/app/ClinicSurveyAnswer/CreateOrUpdateTtm

`POST /api/services/app/ClinicSurveyAnswer/CreateOrUpdateTtm`

## Request

- Base URL: `https://api.dalieu.vn` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dalieu.vn/api/services/app/ClinicSurveyAnswer/CreateOrUpdateTtm`
- Auth: none declared

## Request body

- CRUClinicSurveyAnswerDto
  - `id` integer
  - `treatmentId` integer
  - `treatmentCode` string, nullable: Max length 25
  - `treatmentDate` string, date-time
  - `serviceReqCode` string, nullable
  - `roomId` integer
  - `patientId` integer
  - `patientCode` string, nullable: Max length 50
  - `patientName` string, nullable: Max length 100
  - `patientBirthDay` string, date-time
  - `address` string, nullable: Max length 512
  - `ethnicId` integer, nullable
  - `ethnicName` string, nullable: Max length 100
  - `phone` string, nullable: Max length 20
  - `occupation` string, nullable: Max length 50
  - `educationLevel` string, nullable: Max length 50
  - `answers` string, nullable
  - `ttmAnswers` string, nullable

## Response `200`

Success

## Changes

- **2026-09-27** `4fa9307a2974`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/dalieu/apis/portaldalieu-api/changes/api/services/app/ClinicSurveyAnswer/CreateOrUpdateTtm/post.md)

---

[API](https://skmtc.dev/dalieu/apis/portaldalieu-api.md) - [All operations](https://skmtc.dev/dalieu/apis/portaldalieu-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dalieu/apis/portaldalieu-api/revisions/4504abab950f?raw)
