get_available_employee_times
Testing Env
https://testcalendar.vodoglobal.com
Testing Env
https://testcalendar.vodoglobal.com
POST
/api/v2/get-available-employee-times
Last modified:2025-03-26 12:43:56
POST
{{url}}api/v2/get-available-employee-times
secure-business-key
: ``Accept
: application/json
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://testcalendar.vodoglobal.com/api/v2/get-available-employee-times' \
--header 'secure-business-key: 4765066450c0bd66325.48403130' \
--header 'Accept: application/json' \
--form 'date="2024-12-31"' \
--form 'branch_id="1"' \
--form 'employee_ids[]="601"' \
--form 'employee_ids[]="729"' \
--form 'employee_ids[]="851"' \
--form 'employee_ids[]="852"' \
--form 'employee_ids[]="853"' \
--form 'employee_ids[]="854"' \
--form 'employee_ids[]="863"'
Response Response Example
{
"status": true,
"message": "الموظفون المتاحون.",
"data": {
"data": [
{
"emp_data": {
"id": 729,
"name": "Ifeoma Mcdowell",
"user_name": "hefefyxi",
"user_password": "$2y$10$/nrNsQD..HdZsewSLJ/QBeDblch.aZjsq2x2n7duq8G8TbLe/v6Jq",
"phone": "+1 (611) 156-3955",
"inventory_audit_process_code": null,
"uuid": "ca1a22e8-d44e-4909-8ada-e1c120583e58",
"branch_id": "1",
"business_id": "259",
"roles": [
{
"id": 47,
"uuid": "a23ed325-9174-4cee-92d6-a2e980fe7bcb",
"name": "developer",
"name_ar": "مطور",
"type": "custom",
"type_ar": "خاص",
"view_type": "clients",
"user_type": null,
"business_id": "259",
"image": null,
"create_cash_account": 1,
"created_at": "2024-08-14T16:04:14.000000Z",
"updated_at": "2025-02-23T14:08:55.000000Z",
"deleted_at": null,
"pivot": {
"user_id": 729,
"role_id": 47
}
}
],
"branch": {
"id": 1,
"uuid": "32ab9fc2-0b26-4a93-84b8-38d5b9c5781c",
"business_id": 259,
"company_id": null,
"name": "Al Olaya",
"name_ar": "فرع العليا",
"vat_number": "147856933",
"vat_number_check": "0",
"phone": "057841236",
"email": "mymail@yahoo.com",
"address": null,
"longitude": null,
"latitude": null,
"country_id": null,
"city": null,
"state": null,
"district": null,
"status": null,
"created_at": "2024-08-01T15:56:27.000000Z",
"updated_at": "2024-11-05T13:09:04.000000Z"
},
"profile_info": []
},
"working_hours": {
"from": "09:00:00",
"to": "17:00:00"
},
"other_events": []
},
{
"emp_data": {
"id": 601,
"name": "maya",
"user_name": "maya",
"user_password": "$2y$10$ImvOoHcJBBHXQgoMTgOlCOYah3dBt8X5Xd5xg1olt2t7GoiT7l9Iy",
"phone": "05478123",
"inventory_audit_process_code": null,
"uuid": "9d418817-ccf5-4e53-8291-10c81c7ff08d",
"branch_id": "1",
"business_id": "259",
"roles": [
{
"id": 41,
"uuid": "95471ebf-f8fe-4917-8757-6e15b6d4051f",
"name": "pos casher",
"name_ar": "كاشير نقاط البيع",
"type": "permession",
"type_ar": "صلاحية",
"view_type": "clients",
"user_type": null,
"business_id": null,
"image": null,
"create_cash_account": 0,
"created_at": "2024-07-17T07:16:04.000000Z",
"updated_at": "2024-07-17T07:16:04.000000Z",
"deleted_at": null,
"pivot": {
"user_id": 601,
"role_id": 41
}
}
],
"branch": {
"id": 1,
"uuid": "32ab9fc2-0b26-4a93-84b8-38d5b9c5781c",
"business_id": 259,
"company_id": null,
"name": "Al Olaya",
"name_ar": "فرع العليا",
"vat_number": "147856933",
"vat_number_check": "0",
"phone": "057841236",
"email": "mymail@yahoo.com",
"address": null,
"longitude": null,
"latitude": null,
"country_id": null,
"city": null,
"state": null,
"district": null,
"status": null,
"created_at": "2024-08-01T15:56:27.000000Z",
"updated_at": "2024-11-05T13:09:04.000000Z"
},
"profile_info": []
},
"working_hours": {
"from": "09:00:00",
"to": "17:00:00"
},
"other_events": []
}
]
}
}
Request
Header Params
secure-business-key
string
required
Example:
{{secure_business_key}}
Accept
string
required
Example:
application/json
Body Params multipart/form-data
date
string
required
Example:
2024-12-31
branch_id
string
required
Example:
1
employee_ids[]
array[string]
required
Example:
["601","729","851","852","853","854","863"]