Booking Hotels
  1. Entity
Booking Hotels
  • About API
  • Auth
    • Register
      POST
    • Login by Password
      POST
    • Login by Access Token
      GET
    • Renew Access Token
      GET
    • Update Password
      PATCH
    • Update Profile
      PATCH
    • Request Forgot Password
      POST
    • Verify Forgot Password
      POST
    • Confirm Forgot Password
      PATCH
    • Logout
      DELETE
  • Hotels
    • Get Hotel List
      GET
    • Get Hotel by Id
      GET
    • Create Hotel
      POST
    • Update Hotel by Id
      PATCH
    • Delete Hotel by Id
      DELETE
  • Rooms
    • Get Room List
      GET
    • Get Room by Id
      GET
    • Create Room
      POST
    • Update Room by Id
      PATCH
    • Delete Room by Id
      DELETE
  • Bookings
    • Actions
      • Pay Booking by Id
      • Cancel Booking by Id
      • Check In Booking by Id
    • Get Booking List
    • Get Booking by Id
    • Create Booking
  • Check Service Status
    GET
  • Schemas
    • Entity
      • Hotel Entity
      • Room Entity
      • Booking Entity
      • Booking Status History Entity
      • Base Entity
      • User Entity
    • Shared
      • Pagination Meta
    • Constant
      • Booking Status
  1. Entity

Room Entity

{
    "id": 0,
    "created_at": "string",
    "updated_at": "string",
    "name": "string",
    "price_per_night": 0,
    "max_guests": 0,
    "available_rooms_per_day": 0,
    "hotel": {
        "id": 0,
        "created_at": "string",
        "updated_at": "string",
        "name": "string",
        "location": "string",
        "rating": 0
    }
}
Built with