---
title: "POST /SurgicalRecords/{id}/events"
method: POST
path: "/SurgicalRecords/{id}/events"
tags: ["SurgicalRecords"]
---

# POST /SurgicalRecords/{id}/events

`POST /SurgicalRecords/{id}/events`

## Path parameters

- `id` string, required

## Request body

- CreateSurgicalTimelineEventRequest
  - `title` string, required
  - `details` string, nullable
  - `type` string, required
  - `color` string, nullable
  - `isPinned` boolean

## Response `201`

Created

- 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
  - `amendments` SurgicalTimelineEventAmendmentDto[] — Corrections made to DateTime SurgicalTimelineEventDto.OccurredAt, oldest first. Empty for the overwhelming majority of events; a non-empty list is what the UI keys off to mark a stamp as edited.
    - `id` string
    - `originalOccurredAt` string, date-time
    - `amendedOccurredAt` string, date-time
    - `reason` string, nullable
    - `amendedById` string, nullable
    - `amendedByName` string, nullable
    - `createdAt` string, date-time

## Other responses

- `409` — Conflict

---

[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/revisions/d8d7501dde48/schema)
