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
Key | Datatype | Required | Description |
---|---|---|---|
x-source-id | string | (Required) Source ID | |
Content-Type | string | ||
Authorization | string |
RESPONSES
status: OK
{"context":{"requestId":"\u003cstring\u003e","source":"\u003cstring\u003e","quorum":"\u003cboolean\u003e","notify":"\u003cboolean\u003e"},"data":{"id":"\u003cinteger\u003e","status":"\u003cstring\u003e"}}