get Employee Slots
Testing Env
https://testcalendar.vodoglobal.com
Testing Env
https://testcalendar.vodoglobal.com
GET
/api/v2/employee-slots
Last modified:2025-03-26 12:43:56
GET
{{url}}api/v2/employee-slots?date=2025-03-04
secure_business_key
: {{secure_business_key}}
user_token
: {{user_token}}
Accept-Language
: ar
Accept
: application/json
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://testcalendar.vodoglobal.com/api/v2/employee-slots?date=2025-03-04' \
--header 'secure_business_key: 4765066450c0bd66325.48403130' \
--header 'user_token: ' \
--header 'Accept-Language: ar' \
--header 'Accept: application/json'
Response Response Example
{
"status": true,
"message": "تم استرداد احداث الموظف بنجاح",
"data": {
"all_events": [
{
"id": 3600,
"event_id": 5644,
"employee_id": 926,
"service_id": 1444,
"category_id": null,
"service_price": null,
"service_qty": "1",
"start_time": "14:30:00",
"end_time": "16:00:00",
"start": "2025-03-04 14:30:00",
"end": "2025-03-04 16:00:00",
"reference": "31",
"child_delivery_note_id": null,
"child_sales_order_id": null,
"calendar_id": "369",
"created_at": "2025-03-03 12:11:31",
"updated_at": "2025-03-03 12:19:16",
"deleted_at": null,
"reservation_status": 1,
"calendar_event": {
"id": 5644,
"business_id": "259",
"branch_id": "2",
"calendar_id": null,
"customer_id": "2503",
"venue_id": null,
"customer_category_id": null,
"reference": null,
"event_type": "custom",
"type": null,
"title": null,
"title_index": null,
"color": null,
"background_color": null,
"start_time": null,
"end_time": null,
"start": "2025-03-04 01:00:00",
"end": "2025-03-04 16:00:00",
"reservation_code": "67451873",
"reservation_status": 1,
"ecomm_order_id": "21",
"parent_delivery_note_id": null,
"parent_sales_order_id": null,
"created_at": "2025-03-03T12:05:21.000000Z",
"updated_at": "2025-03-03T12:19:16.000000Z",
"deleted_at": null
}
},
{
"id": 3639,
"event_id": 5718,
"employee_id": 926,
"service_id": 1445,
"category_id": null,
"service_price": null,
"service_qty": "1",
"start_time": "16:30:00",
"end_time": "18:00:00",
"start": "2025-03-04 16:30:00",
"end": "2025-03-04 18:00:00",
"reference": "32",
"child_delivery_note_id": null,
"child_sales_order_id": null,
"calendar_id": "369",
"created_at": "2025-03-04 13:57:37",
"updated_at": "2025-03-04 13:57:37",
"deleted_at": null,
"reservation_status": 1,
"calendar_event": {
"id": 5718,
"business_id": "259",
"branch_id": "2",
"calendar_id": null,
"customer_id": "2538",
"venue_id": null,
"customer_category_id": null,
"reference": null,
"event_type": "custom",
"type": null,
"title": null,
"title_index": null,
"color": null,
"background_color": null,
"start_time": null,
"end_time": null,
"start": "2025-03-04 16:30:00",
"end": "2025-03-04 18:00:00",
"reservation_code": "57073367",
"reservation_status": 1,
"ecomm_order_id": "30",
"parent_delivery_note_id": null,
"parent_sales_order_id": null,
"created_at": "2025-03-04T13:57:37.000000Z",
"updated_at": "2025-03-04T13:57:39.000000Z",
"deleted_at": null
}
}
],
"employee_id": 926
},
"errors": []
}
Request
Query Params
from_date
string
optional
Example:
2025-03-01
to_date
string
optional
Example:
2025-03-31
date
string
required
Example:
2025-03-04
Header Params
secure_business_key
string
required
Example:
{{secure_business_key}}
user_token
string
required
Example:
{{user_token}}
Accept-Language
string
required
Example:
ar
Accept
string
required
Example:
application/json
Body Params multipart/form-data
object {0}