Download OpenAPI specification:
This document outlines the server-to-server integration specification between the Phothalai Golf Booking Backend and the CiMSO Restaurant System. 
Retrieves the status of all tables to update the Visual Map on Booking website and Time Countdown Screens. Crucial for determining "openTime" for countdown logic.
[- {
- "tableNumber": "T4-01",
- "status": "InUse",
- "openTime": "2025-11-07T14:30:00Z"
}
]Updates the operational status of a specific table. Used by the Admin Dashboard or external triggers to change a table's state.
| tableNumber | string The unique identifier for the table (e.g., T4-01). |
| status | string Enum: "Vacant" "InUse" "Maintenance" Current operational status of the table. |
{- "tableNumber": "T4-01",
- "status": "InUse"
}{- "tableNumber": "T4-01",
- "status": "InUse",
- "openTime": "2025-11-07T14:30:00Z"
}Used during User Profile loading and Checkout to determine VIP Tier (Silver/Gold/Wealth) for discounts and sync Loyalty Points.
| memberId required | string The unique member identifier or Cashcard ID. |
{- "memberId": "MB-123456",
- "firstName": "John",
- "lastName": "Doe",
- "tier": "Gold",
- "discountPercentage": 10,
- "loyaltyPoints": 5400
}Processes the payment by deducting the specified amount from the member's cashcard.
| memberId required | string The ID of the member to charge. |
| amount required | number <float> The amount to be deducted. |
| bookingRefId required | string The Booking ID from the website for reconciliation. |
{- "memberId": "string",
- "amount": 1500,
- "bookingRefId": "BK-20251107-001"
}{- "transactionId": "TXN-998877",
- "status": "Success",
- "remainingBalance": 35000
}