Light Mode
List Order Reservations
GET
/reservationsLast modified: 2 months ago
This endpint allows you to retrieve all the current order reservations.
Request
Query Params
start
string <date>
required
Reservation Start Date
Example:
2024-01-01
end
string <date>
required
Reservation End Date
Example:
2024-01-31
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"status": 200,
"success": true,
"data": [
{
"id": 1473353380,
"title": "تعليم القيادة (2)",
"type": "day",
"start": "2024-02-16T00:00:00",
"end": "2024-02-16T:23:59:59",
"seats_count": 2,
"url": "https://dashboard.test/orders/order/yRdxQ9m28rEbamllyGd1Xz5KoDJZgkAP",
"created_at": "2024-02-13 13:48:33"
},
{
"id": 566146469,
"title": "تعليم القيادة (1)",
"type": "time",
"start": "2024-02-19T10:00:00",
"end": "2024-02-19T10:30:00",
"seats_count": 1,
"url": "https://dashboard.test/orders/order/LR98Gn45mxgPMnQQ930WwkpdzKNbQjJv",
"created_at": "2024-02-15 11:58:36"
}
]
}
Last modified: 2 months ago