calendar_vacation
Testing Env
https://testcalendar.vodoglobal.com
Testing Env
https://testcalendar.vodoglobal.com
GET
/api/v2/vacation
Last modified:2025-03-26 12:43:56
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://testcalendar.vodoglobal.com/api/v2/vacation?calendar_id=327' \
--header 'secure_business_key: 4765066450c0bd66325.48403130' \
--header 'Accept-Language: ar' \
--header 'user-token: '
Response Response Example
{
"status": true,
"message": "calendar vacations",
"data": {
"data": {
"current_page": 1,
"data": [
{
"id": 6268,
"business_id": "259",
"branch_id": null,
"calendar_id": "327",
"customer_id": null,
"venue_id": null,
"customer_category_id": null,
"reference": null,
"event_type": "vacations",
"type": null,
"title": "عطله",
"title_index": null,
"color": null,
"background_color": null,
"start_time": null,
"end_time": null,
"start": "2025-03-25 13:00:00",
"end": "2025-03-25 14:00:00",
"reservation_code": null,
"reservation_status": null,
"ecomm_order_id": null,
"parent_delivery_note_id": null,
"parent_sales_order_id": null,
"created_at": "2025-03-24T14:08:16.000000Z",
"updated_at": "2025-03-24T14:08:16.000000Z",
"deleted_at": null
}
],
"first_page_url": "http://testcalendar.vodoglobal.com/api/v2/vacation?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://testcalendar.vodoglobal.com/api/v2/vacation?page=1",
"links": [
{
"url": null,
"label": "pagination.previous",
"active": false
},
{
"url": "http://testcalendar.vodoglobal.com/api/v2/vacation?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "pagination.next",
"active": false
}
],
"next_page_url": null,
"path": "http://testcalendar.vodoglobal.com/api/v2/vacation",
"per_page": 10,
"prev_page_url": null,
"to": 1,
"total": 1
}
}
}
Request
Query Params
name
string
optional
Example:
عطله
page
string
optional
Example:
2
calendar_id
string
required
Example:
327
Header Params
secure_business_key
string
required
Example:
{{secure_business_key}}
Accept-Language
string
required
Example:
ar
user-token
string
required
Example:
{{user_token}}
Body Params multipart/form-data
object {0}