curl --request GET \
--url https://api.example.com/reserve/get{
"result": [
{
"id_reservation": "RSV00123",
"name": "Juan Pérez",
"email": "[email protected]",
"phone_number": "3119876543",
"init_date": "2025-07-15T09:00:00Z",
"end_date": "2025-07-15T13:00:00Z",
"pax": 30,
"status": "EN PROGRESO",
"extras": [
{
"id_extra": 1,
"quantity": 2,
"value_add": 3000
},
{
"id_extra": 3,
"quantity": 1,
"value_add": 5000
}
],
"amount": 95000,
"total_value": 120000,
"fk_rate": 4
},
{
"id_reservation": "RSV00124",
"name": "María González",
"email": "[email protected]",
"phone_number": "3201234567",
"init_date": "2025-07-20T14:00:00Z",
"end_date": "2025-07-20T18:00:00Z",
"pax": 15,
"status": "EN PROGRESO",
"extras": [],
"amount": 50000,
"total_value": 50000,
"fk_rate": 2
}
]
}
Get all registered reservations
curl --request GET \
--url https://api.example.com/reserve/get{
"result": [
{
"id_reservation": "RSV00123",
"name": "Juan Pérez",
"email": "[email protected]",
"phone_number": "3119876543",
"init_date": "2025-07-15T09:00:00Z",
"end_date": "2025-07-15T13:00:00Z",
"pax": 30,
"status": "EN PROGRESO",
"extras": [
{
"id_extra": 1,
"quantity": 2,
"value_add": 3000
},
{
"id_extra": 3,
"quantity": 1,
"value_add": 5000
}
],
"amount": 95000,
"total_value": 120000,
"fk_rate": 4
},
{
"id_reservation": "RSV00124",
"name": "María González",
"email": "[email protected]",
"phone_number": "3201234567",
"init_date": "2025-07-20T14:00:00Z",
"end_date": "2025-07-20T18:00:00Z",
"pax": 15,
"status": "EN PROGRESO",
"extras": [],
"amount": 50000,
"total_value": 50000,
"fk_rate": 2
}
]
}
access_token cookie.
Show Reservation Object
"RSV00123""Juan Pérez""[email protected]""3119876543""2025-07-15T09:00:00Z""2025-07-15T13:00:00Z"30"EN PROGRESO" or "FINALIZADO"Example: "EN PROGRESO"950001200004{
"result": [
{
"id_reservation": "RSV00123",
"name": "Juan Pérez",
"email": "[email protected]",
"phone_number": "3119876543",
"init_date": "2025-07-15T09:00:00Z",
"end_date": "2025-07-15T13:00:00Z",
"pax": 30,
"status": "EN PROGRESO",
"extras": [
{
"id_extra": 1,
"quantity": 2,
"value_add": 3000
},
{
"id_extra": 3,
"quantity": 1,
"value_add": 5000
}
],
"amount": 95000,
"total_value": 120000,
"fk_rate": 4
},
{
"id_reservation": "RSV00124",
"name": "María González",
"email": "[email protected]",
"phone_number": "3201234567",
"init_date": "2025-07-20T14:00:00Z",
"end_date": "2025-07-20T18:00:00Z",
"pax": 15,
"status": "EN PROGRESO",
"extras": [],
"amount": 50000,
"total_value": 50000,
"fk_rate": 2
}
]
}
access_token cookie is present.curl -X GET https://api.demet.com/reserve/get \
-H "Content-Type: application/json" \
-b "access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
result key containing the array of reservationsextras field in the response is returned as a parsed JSON array (not a string like in create/update requests)[]