---
title: "POST /SurgicalRecords"
method: POST
path: "/SurgicalRecords"
tags: ["SurgicalRecords"]
---

# POST /SurgicalRecords

`POST /SurgicalRecords`

## Request body

- CreateSurgicalRecordRequest
  - `appointmentId` string, required
  - `patientId` string, required
  - `procedureName` string

## Response `201`

Created

- SurgicalRecordResponseDto
  - `id` string
  - `appointmentId` string
  - `patientId` string
  - `procedureName` string
  - `surgeonId` string, nullable
  - `procedureStartTime` string, date-time, nullable
  - `procedureEndTime` string, date-time, nullable
  - `procedureDurationSeconds` union
    - integer
    - string, int32
  - `activePhase` string
  - `anesthesiaDataJson` string, nullable
  - `vitalsSnapshotJson` string, nullable
  - `activeAgentsJson` string, nullable
  - `createdAt` string, date-time
  - `updatedAt` string, date-time
  - `timelineEvents` SurgicalTimelineEventDto[]
    - `id` string
    - `surgicalRecordId` string
    - `title` string
    - `details` string, nullable
    - `type` string
    - `color` string, nullable
    - `isPinned` boolean
    - `occurredAt` string, date-time
    - `sortOrder` union
      - integer
      - string, int32
    - `createdAt` string, date-time

---

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