API endpoint that allows RoomType to be viewed or edited.

GET /room-types/12/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 12,
    "url": "https://api.swistay.com/room-types/12/?format=api",
    "code": "DIR",
    "name": "Dining Room",
    "description": "A dining room is where the majority of breakfast, lunch, snacks, and dinner meals are served on a daily basis",
    "icon": {
        "id": 34,
        "name": "Dining table",
        "src": "https://api.swistay.com/media/icons/3f2716ac812d45ce907d7b6b17087e80.svg"
    },
    "order": 12
}