get Employees Events
Testing Env
https://testcalendar.vodoglobal.com
Testing Env
https://testcalendar.vodoglobal.com
POST
/api/v2/get-employee-events
Last modified:2025-03-26 12:43:56
POST
{{url}}api/v2/get-employee-events
secure-business-key
: {{secure_business_key}}
user-token
: {{user_token}}
Accept-Language
: en
Accept
: application/json
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://testcalendar.vodoglobal.com/api/v2/get-employee-events' \
--header 'secure-business-key: 4765066450c0bd66325.48403130' \
--header 'user-token: ' \
--header 'Accept-Language: en' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"employee_ids" : [851,852,926],
"date": "2025-02-25"
}'
Response Response Example
{
"status_code": 200,
"code": 1020,
"hint": "Processed Successfully",
"success": true,
"data": [
{
"id": 3441,
"event_id": 5351,
"employee_id": 851,
"service_id": 1441,
"category_id": null,
"service_price": null,
"service_qty": "1",
"start_time": "09:00:00",
"end_time": "10:30:00",
"start": "2025-02-25 09:00:00",
"end": "2025-02-25 10:30:00",
"reference": "220",
"child_delivery_note_id": null,
"child_sales_order_id": null,
"calendar_id": "346",
"created_at": "2025-02-16 12:56:27",
"updated_at": "2025-02-16 12:56:27",
"deleted_at": null,
"reservation_status": 1,
"calendar_event": {
"id": 5351,
"business_id": "259",
"branch_id": "2",
"calendar_id": null,
"customer_id": "2523",
"venue_id": null,
"customer_category_id": null,
"reference": null,
"event_type": "custom",
"type": null,
"title": "New reservation for Beshoy on 2025-02-25",
"title_index": null,
"color": null,
"background_color": null,
"start_time": null,
"end_time": null,
"start": "2025-02-25 09:00:00",
"end": "2025-02-25 10:30:00",
"reservation_code": "32894447",
"reservation_status": 1,
"ecomm_order_id": "3492",
"parent_delivery_note_id": null,
"parent_sales_order_id": null,
"created_at": "2025-02-16T12:56:27.000000Z",
"updated_at": "2025-02-16T12:56:27.000000Z",
"deleted_at": null
}
},
{
"id": 3470,
"event_id": 5408,
"employee_id": 851,
"service_id": 1387,
"category_id": null,
"service_price": null,
"service_qty": "1",
"start_time": "11:07:00",
"end_time": "11:08:00",
"start": "2025-02-25 11:07:00",
"end": "2025-02-25 11:08:00",
"reference": "231",
"child_delivery_note_id": null,
"child_sales_order_id": null,
"calendar_id": "346",
"created_at": "2025-02-17 20:27:06",
"updated_at": "2025-02-17 20:27:06",
"deleted_at": null,
"reservation_status": 1,
"calendar_event": {
"id": 5408,
"business_id": "259",
"branch_id": "2",
"calendar_id": null,
"customer_id": "2504",
"venue_id": null,
"customer_category_id": null,
"reference": null,
"event_type": "custom",
"type": null,
"title": "حجز جديد للعميل بوك ٦",
"title_index": null,
"color": null,
"background_color": null,
"start_time": null,
"end_time": null,
"start": "2025-02-25 11:07:00",
"end": "2025-02-25 11:08:00",
"reservation_code": "81198328",
"reservation_status": 1,
"ecomm_order_id": "3516",
"parent_delivery_note_id": null,
"parent_sales_order_id": null,
"created_at": "2025-02-17T20:27:06.000000Z",
"updated_at": "2025-02-17T20:27:06.000000Z",
"deleted_at": null
}
},
{
"id": 3471,
"event_id": 5409,
"employee_id": 851,
"service_id": 1387,
"category_id": null,
"service_price": null,
"service_qty": "1",
"start_time": "11:37:00",
"end_time": "11:38:00",
"start": "2025-02-25 11:37:00",
"end": "2025-02-25 11:38:00",
"reference": "232",
"child_delivery_note_id": null,
"child_sales_order_id": null,
"calendar_id": "346",
"created_at": "2025-02-17 20:28:24",
"updated_at": "2025-02-17 20:28:24",
"deleted_at": null,
"reservation_status": 1,
"calendar_event": {
"id": 5409,
"business_id": "259",
"branch_id": "2",
"calendar_id": null,
"customer_id": "2504",
"venue_id": null,
"customer_category_id": null,
"reference": null,
"event_type": "custom",
"type": null,
"title": "حجز جديد للعميل بوك ٦",
"title_index": null,
"color": null,
"background_color": null,
"start_time": null,
"end_time": null,
"start": "2025-02-25 11:37:00",
"end": "2025-02-25 11:38:00",
"reservation_code": "23909344",
"reservation_status": 1,
"ecomm_order_id": "3517",
"parent_delivery_note_id": null,
"parent_sales_order_id": null,
"created_at": "2025-02-17T20:28:24.000000Z",
"updated_at": "2025-02-17T20:28:24.000000Z",
"deleted_at": null
}
},
{
"id": 3500,
"event_id": 5470,
"employee_id": 851,
"service_id": 1444,
"category_id": null,
"service_price": null,
"service_qty": "1",
"start_time": "06:00:00",
"end_time": "07:30:00",
"start": "2025-02-25 06:00:00",
"end": "2025-02-25 07:30:00",
"reference": "240",
"child_delivery_note_id": null,
"child_sales_order_id": null,
"calendar_id": "346",
"created_at": "2025-02-19 17:46:50",
"updated_at": "2025-02-19 17:46:50",
"deleted_at": null,
"reservation_status": 1,
"calendar_event": {
"id": 5470,
"business_id": "259",
"branch_id": "2",
"calendar_id": null,
"customer_id": "2527",
"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-02-25 06:00:00",
"end": "2025-02-25 07:30:00",
"reservation_code": "21734926",
"reservation_status": 1,
"ecomm_order_id": "3533",
"parent_delivery_note_id": "444",
"parent_sales_order_id": 113,
"created_at": "2025-02-19T17:46:50.000000Z",
"updated_at": "2025-02-19T17:47:13.000000Z",
"deleted_at": null
}
},
{
"id": 3502,
"event_id": 5478,
"employee_id": 851,
"service_id": 1385,
"category_id": null,
"service_price": null,
"service_qty": "1",
"start_time": "08:00:00",
"end_time": "08:20:00",
"start": "2025-02-25 08:00:00",
"end": "2025-02-25 08:20:00",
"reference": "241",
"child_delivery_note_id": null,
"child_sales_order_id": null,
"calendar_id": "346",
"created_at": "2025-02-19 17:54:17",
"updated_at": "2025-02-19 17:54:17",
"deleted_at": null,
"reservation_status": 1,
"calendar_event": {
"id": 5478,
"business_id": "259",
"branch_id": "2",
"calendar_id": null,
"customer_id": "2522",
"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-02-25 07:30:00",
"end": "2025-02-25 08:20:00",
"reservation_code": "63097156",
"reservation_status": 1,
"ecomm_order_id": "3534",
"parent_delivery_note_id": null,
"parent_sales_order_id": null,
"created_at": "2025-02-19T17:54:17.000000Z",
"updated_at": "2025-02-19T17:54:20.000000Z",
"deleted_at": null
}
}
]
}
Request
Header Params
secure-business-key
string
required
Example:
{{secure_business_key}}
user-token
string
required
Example:
{{user_token}}
Accept-Language
string
required
Example:
en
Accept
string
required
Example:
application/json
Body Params application/json