...
(available: The start time of the 1st available slot)
ResponseSample minimal request
Code Block |
---|
curl --location --request GET 'https://api-vclinic.vsee.me/api_v3/availability?room_code=xxxx&start=1668129300&end=1670000000' \
--header 'X-ApiToken: vclinic_admin_token' \
--header 'X-AccountCode: vclinic' \
--header 'X-ApiKey: vclinic_api_key' \
--header 'X-ApiSecret: vclinic_api_secret'
{
"data": {
"slots": [
{
"slot_id": "10996909",
"slot_start": 1669239900,
"slot_end": 1669240800,
"slot_booked": 0,
"slot_available": 1,
"group_id": "637e920e-bd34-4d3f-82c0-804b0adc0a9f"
},
{
"slot_id": "10996909",
"slot_start": 1669240800,
"slot_end": 1669241700,
"slot_booked": 0,
"slot_available": 1,
"group_id": "637e920e-bd34-4d3f-82c0-804b0adc0a9f"
},
],
"slot_data": {
"10996909": {
"id": "10996909",
"provider_id": "12456470",
"account_code": "carebyte",
"start": "1669239900",
"end": "1669243500",
"group_id": "637e920e-bd34-4d3f-82c0-804b0adc0a9f",
"status": "10",
"created": "1669239310",
"modified": "1669239310",
"consultation": {
"duration": 15,
"slots": 1
}
}
}
}
}
|
Other sample requests
Code Block |
---|
curl -k -X GET -H "X-ApiToken: 6366a7018a39536a1ef4b63626f8e734" https://api.vsee.me/api_v3/availability { "data": { "slots": [ { "slot_id": "5277", "slot_start": 1470186000, "slot_end": 1470186900, "slot_booked": 0, "slot_available": 1, "group_id": "57106583f46874e70afc93b4" }, ] } ] } curl -X GET \ 'https://api.vsee.me/api_v3/availability?consultation_id=593999b2-08e4-404c-82f8-772dc0a8016f&start=1497063600&end=1497065400&location=AL&room_code=234yn' \ -H 'x-accountcode: vclinic' \ -H 'x-apikey: vclinic_api_key' \ -H 'x-apisecret: vclinic_api_secret' \ { "data": { "slots": [ { "slot_id": "4", "slot_start": 1497063600, "slot_end": 1497065400, "slot_booked": 0, "slot_available": "1", "group_id": "59399694-9ec0-4108-927d-7776c0a8016f" } ] } } |
...