/
Slot API
Slot API
GET /slots
Parameters
Parameter | Type | Description |
---|---|---|
|
| Required, unix timestamp |
|
| Required, unix timestamp |
|
| Should be |
|
| Can be |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Response
Example
{
"data": [
{
"provider_id": "9046",
"account_code": "bac-team",
"start": 1669836600,
"end": 1669838400,
"group_id": "63850640-2cf0-4822-a0bc-0b9f0a7d64b7",
"status": 10,
"modified": 1669662272,
"created": 1669662272,
"group": {
"date_start": "1669827600",
"date_end": "1669913999",
"time_start": "1669836600",
"time_end": "1669838400",
"repeat": false,
"repeat_day": [],
"repeat_week": 1,
"account_code": "bac-team",
"provider_id": "9046",
"visit_type": "group",
"consultation": {
"description": "15min visit option",
"duration": 15,
"charge": false,
"group": true,
"slots": 5,
"amount": 0,
"visible_to_patient": true,
"id": "605821b7-e75c-4d54-bd62-6fa70a7d64b7"
},
"is_admin_view": "false",
"day_of_week": "4",
"slot_date_start": "12\/01\/2022",
"slot_date_end": "12\/01\/2022",
"slot_time_start": "9000",
"slot_time_end": "10800",
"timezone": "Asia\/Ho_Chi_Minh",
"modified": 1669662272,
"created": 1669662272,
"id": "63850640-2cf0-4822-a0bc-0b9f0a7d64b7"
},
"provider": {
"username": "bac+provider3@vseelab.com",
"email": "bac+provider3@vseelab.com",
"subtype": "482",
"vseeid": "bac+provider3@vseelab.com",
"full_name": "Bac Provider3 (edited)",
"specialties": ["general_care", "bac-team-1", "bac-team2-1", "bac-team2-2"],
"states_serviced": ["--"],
"clinics": ["bac-team", "bac-team2.vsee.io"],
"rooms": [
{
"code": "dk6vx",
"slug": "clinic",
"name": "Clinic",
"domain": "bac-team.vsee.io",
"account_code": "bac-team",
"id": "214"
}, {
"code": "7mngn",
"slug": "clinic2",
"name": "Clinic2",
"domain": "bac-team.vsee.io",
"account_code": "bac-team",
"id": "586"
}, {
"code": "p0t0d",
"name": "Clinic",
"domain": "bac-team2.vsee.io",
"slug": "clinic",
"account_code": "bac-team2.vsee.io",
"id": "754512228"
}, {
"id": "901468022",
"name": "bac test eks api 7",
"code": "qmhwc",
"slug": "bac-test-7",
"domain": "bac-team.vsee.io",
"account_code": "bac-team"
}
],
"id": "9046"
},
"account": {
"name": "Bac Team",
"domain": "bac-team.vsee.io",
"code": "bac-team",
"id": "6052e9d9-ff44-4a17-8d53-3e5f0a7d64b7"
},
"id": "63850640-129c-4e8a-af18-0b9f0a7d64b7"
}
]
}
GET /slots/available
DELETE /slots/:id
Response
Example
{
"data": {
"slot_deleted": 1,
"group_deleted": 1
}
}
DELETE /slots/groups/:groupId
Response
Example
{
"data": {
"slot_deleted": 2,
"group_deleted": 1
}
}
, multiple selections available,
Related content
VSee Clinic API
VSee Clinic API
Read with this
Visit API
Visit API
More like this
Rooms API
Rooms API
More like this
Survey API
Survey API
More like this
Clinic Account API
Clinic Account API
More like this