Skip to main content
Retrieve room type summaries for the workspace hotel, including total rooms, available rooms, occupied rooms, reserved rooms, and maintenance rooms.

Request

curl -H "apikey: YOUR_API_KEY" \
  https://api.series.hr/hotel/room-types

Response

200
{
  "success": true,
  "data": {
    "WorkspaceId": "a7d5339a-5531-4336-99c6-6f3249c9ac20",
    "WorkspaceName": "Hotel Series",
    "Hotel": {
      "Description": "Luxury waterfront hotel",
      "EnableCheckInOutTimes": true,
      "CheckInTime": "14:00",
      "CheckOutTime": "11:00",
      "Reservations": {
        "Enabled": true
      }
    },
    "RoomTypes": [
      {
        "Id": "deluxe-suite",
        "Name": "Deluxe Suite",
        "Description": "Premium room with king bed",
        "BasePrice": 150,
        "Capacity": 2,
        "Amenities": ["WiFi", "Mini bar"],
        "GamepassId": 123456,
        "TotalRooms": 10,
        "AvailableRoomCount": 4,
        "OccupiedRoomCount": 3,
        "ReservedRoomCount": 2,
        "MaintenanceRoomCount": 1,
        "Rooms": [],
        "AvailableRooms": []
      }
    ],
    "TotalRoomTypes": 1,
    "TotalRooms": 42,
    "ModuleEnabled": true
  }
}

Status Codes

  • 200: Room types returned successfully
  • 401: API key is required or invalid
  • 403: Hotel module is disabled or workspace access is denied