Update Slot

PUT {{baseUrl}}/api/v2/Slot/:slot-id

Overview:

Updates an existing Slot specified by id using replacement scheduling data.

This is only supported in ATHENA.

Use Cases:

  • Adjust Excessive Duration: Modify overly long slot duration

  • Update Telehealth: Convert in-person slot to virtual

  • Redistribute Misaligned Capacity: Move slot from overutilized location

  • Reflect Revised Hours: Update details after hours change

  • Designate Reserved: Mark slot booked for incoming appointment

Request Body

{"context"=>{"departmentId"=>"<string>"}, "data"=>{"status"=>"confirmed", "start"=>"<dateTime>", "minutesDuration"=>"<integer>", "appointmentType"=>{"coding"=>[{"code"=>"<string>"}, {"code"=>"<string>"}]}, "extension"=>[{"url"=>"<string>", "valueInteger"=>"<integer>", "valueBoolean"=>"<boolean>"}, {"url"=>"<string>", "valueInteger"=>"<integer>", "valueBoolean"=>"<boolean>"}]}}

HEADERS

KeyDatatypeRequiredDescription
x-source-idstring(Required) Source ID
Content-Typestring
Authorizationstring

RESPONSES

status: OK

{&quot;context&quot;:{&quot;requestId&quot;:&quot;\u003cstring\u003e&quot;,&quot;source&quot;:&quot;\u003cstring\u003e&quot;,&quot;quorum&quot;:&quot;\u003cboolean\u003e&quot;,&quot;notify&quot;:&quot;\u003cboolean\u003e&quot;},&quot;data&quot;:{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;status&quot;:&quot;\u003cstring\u003e&quot;}}