curl -X GET https://api.example.com/log/reserve/get \
-H "Content-Type: application/json" \
-b "access_token=YOUR_JWT_TOKEN"
{
"result": [
{
"INIT_DATE": "2024-03-15T10:30:00Z",
"log_id": 1,
"reservation_id": 123,
"action": "CREATE",
"user_id": 45,
"details": "New reservation created"
},
{
"INIT_DATE": "2024-03-15T14:20:00Z",
"log_id": 2,
"reservation_id": 123,
"action": "UPDATE",
"user_id": 45,
"details": "Reservation time modified"
},
{
"INIT_DATE": "2024-03-16T09:00:00Z",
"log_id": 3,
"reservation_id": 124,
"action": "CREATE",
"user_id": 67,
"details": "New reservation created"
}
]
}
Retrieve all reservation logs from the system
curl -X GET https://api.example.com/log/reserve/get \
-H "Content-Type: application/json" \
-b "access_token=YOUR_JWT_TOKEN"
{
"result": [
{
"INIT_DATE": "2024-03-15T10:30:00Z",
"log_id": 1,
"reservation_id": 123,
"action": "CREATE",
"user_id": 45,
"details": "New reservation created"
},
{
"INIT_DATE": "2024-03-15T14:20:00Z",
"log_id": 2,
"reservation_id": 123,
"action": "UPDATE",
"user_id": 45,
"details": "Reservation time modified"
},
{
"INIT_DATE": "2024-03-16T09:00:00Z",
"log_id": 3,
"reservation_id": 124,
"action": "CREATE",
"user_id": 67,
"details": "New reservation created"
}
]
}
access_token cookie.
"2024-03-15T10:30:00Z"log_reservation table. These may include:curl -X GET https://api.example.com/log/reserve/get \
-H "Content-Type: application/json" \
-b "access_token=YOUR_JWT_TOKEN"
{
"result": [
{
"INIT_DATE": "2024-03-15T10:30:00Z",
"log_id": 1,
"reservation_id": 123,
"action": "CREATE",
"user_id": 45,
"details": "New reservation created"
},
{
"INIT_DATE": "2024-03-15T14:20:00Z",
"log_id": 2,
"reservation_id": 123,
"action": "UPDATE",
"user_id": 45,
"details": "Reservation time modified"
},
{
"INIT_DATE": "2024-03-16T09:00:00Z",
"log_id": 3,
"reservation_id": 124,
"action": "CREATE",
"user_id": 67,
"details": "New reservation created"
}
]
}
log_reservation table schema