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

# PUT /SurgicalRecords/{id}/events/{eventId}

`PUT /SurgicalRecords/{id}/events/{eventId}`

## Path parameters

- `id` string, required
- `eventId` string, required

## Request body

- UpdateSurgicalTimelineEventRequest
  - `title` string, nullable
  - `details` string, nullable
  - `isPinned` boolean, nullable
  - `occurredAt` string, date-time, nullable — Corrected time the step actually happened, UTC. Omit to leave the stamp alone. A value that differs from the stored stamp appends a `SurgicalTimelineEventAmendment`; it is never a silent overwrite.
  - `amendmentReason` string, nullable — Optional justification recorded alongside an DateTime? UpdateSurgicalTimelineEventRequest.OccurredAt correction.

## Response `200`

OK

- 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

- `400` — Bad Request
- `404` — Not Found

---

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