show Calendars With Working hours
Testing Env
https://testcalendar.vodoglobal.com
Testing Env
https://testcalendar.vodoglobal.com
GET
/api/v2/get-calendars
Last modified:2025-03-26 12:43:56
GET
{{url}}api/v2/get-calendars?calendar_ids[]=328&calendar_ids[]=327
secure_business_key
: 3717466d81c36d98ac4.30464285
user_token
: {{user_token}}
Accept-Language
: ar
Accept
: application/json
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://testcalendar.vodoglobal.com/api/v2/get-calendars?calendar_ids[]=328&calendar_ids[]=327' \
--header 'secure_business_key: 4765066450c0bd66325.48403130' \
--header 'user_token: ' \
--header 'Accept-Language: ar' \
--header 'Accept: application/json'
Response Response Example
{
"status": true,
"message": "تمت العملية بنجاح.",
"data": {
"calendars": [
{
"id": 327,
"business_id": "259",
"branch_id": "",
"user_id": "780",
"name": "Curran Roberson",
"calendar_type": "user",
"calendar_default": 1,
"timezone": "Asia/Riyadh",
"created_at": "2024-11-13T10:36:15.000000Z",
"updated_at": "2024-11-13T10:36:15.000000Z",
"deleted_at": null,
"weekly_events": [
{
"id": 2719,
"calendar_id": "327",
"day_name": "Sunday",
"shift_from": "09:00:00",
"shift_to": "17:00:00",
"shift_type": "work"
},
{
"id": 2720,
"calendar_id": "327",
"day_name": "Monday",
"shift_from": "09:00:00",
"shift_to": "17:00:00",
"shift_type": "work"
},
{
"id": 2721,
"calendar_id": "327",
"day_name": "Tuesday",
"shift_from": "09:00:00",
"shift_to": "17:00:00",
"shift_type": "work"
},
{
"id": 2722,
"calendar_id": "327",
"day_name": "Wednesday",
"shift_from": "09:00:00",
"shift_to": "17:00:00",
"shift_type": "work"
},
{
"id": 2723,
"calendar_id": "327",
"day_name": "Thursday",
"shift_from": "09:00:00",
"shift_to": "17:00:00",
"shift_type": "work"
},
{
"id": 2724,
"calendar_id": "327",
"day_name": "Friday",
"shift_from": "09:00:00",
"shift_to": "17:00:00",
"shift_type": "off"
},
{
"id": 2725,
"calendar_id": "327",
"day_name": "Saturday",
"shift_from": "09:00:00",
"shift_to": "17:00:00",
"shift_type": "work"
}
]
},
{
"id": 328,
"business_id": "313",
"branch_id": "",
"user_id": "",
"name": "test_company",
"calendar_type": "business",
"calendar_default": 1,
"timezone": "Asia/Riyadh",
"created_at": "2024-11-20T16:16:23.000000Z",
"updated_at": "2024-11-20T16:16:23.000000Z",
"deleted_at": null,
"weekly_events": [
{
"id": 2796,
"calendar_id": "328",
"day_name": "Sunday",
"shift_from": "09:00:00",
"shift_to": "17:00:00",
"shift_type": "work"
},
{
"id": 2797,
"calendar_id": "328",
"day_name": "Monday",
"shift_from": "09:00:00",
"shift_to": "17:00:00",
"shift_type": "work"
},
{
"id": 2798,
"calendar_id": "328",
"day_name": "Tuesday",
"shift_from": "09:00:00",
"shift_to": "17:00:00",
"shift_type": "work"
},
{
"id": 2799,
"calendar_id": "328",
"day_name": "Wednesday",
"shift_from": "09:00:00",
"shift_to": "17:00:00",
"shift_type": "work"
},
{
"id": 2800,
"calendar_id": "328",
"day_name": "Thursday",
"shift_from": "09:00:00",
"shift_to": "17:00:00",
"shift_type": "work"
},
{
"id": 2801,
"calendar_id": "328",
"day_name": "Friday",
"shift_from": "09:00:00",
"shift_to": "17:00:00",
"shift_type": "off"
},
{
"id": 2802,
"calendar_id": "328",
"day_name": "Saturday",
"shift_from": "09:00:00",
"shift_to": "17:00:00",
"shift_type": "work"
}
]
}
]
}
}
Request
Query Params
calendar_ids[]
array[string]
required
Example:
["328","327"]
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}