Create Slot
POST {{baseUrl}}/api/v2/Slot
Overview:
Creates a new Slot by submitting required scheduling details and availability status.
This is only supported in ATHENA.
Use Cases:
Publish New Openings: Post updated slots after schedule changes
Redistribute Capacity: Open new timeslots to expand access
Block Inadequate Time: Post restrictions on slot duration
Configure Telehealth: Add virtual visit slots
Set Up Appointment Types: Post configured slot categories
Request Body
{"context"=>{"departmentId"=>"<string>"}, "data"=>{"start"=>"<dateTime>", "minutesDuration"=>"<integer>", "appointmentType"=>{"coding"=>[{"code"=>"<string>"}, {"code"=>"<string>"}]}, "extension"=>[{"url"=>"<string>", "valueInteger"=>"<integer>"}, {"url"=>"<string>", "valueInteger"=>"<integer>"}]}}
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"}}