Room Type List
API endpoint that allows RoomType to be viewed or edited.
GET /room-types/?format=api&ordering=name
https://api.swistay.com/room-types/?format=api&ordering=name&page=2", "previous": null, "results": [ { "id": 5, "url": "https://api.swistay.com/room-types/5/?format=api", "code": "BAR", "name": "Bathroom", "description": "A bathroom is a room that contains either a bathtub or a shower. The inclusion of a wash basin is common", "icon": { "id": 52, "name": "Bathtub", "src": "https://api.swistay.com/media/icons/e0bf3a1d45eb4b789e6779770306ceab.svg" }, "order": 8 }, { "id": 1, "url": "https://api.swistay.com/room-types/1/?format=api", "code": "BER", "name": "Bedroom", "description": "A bedroom is a room furnished with a bed and intended primarily for sleeping", "icon": { "id": 23, "name": "Double bed", "src": "https://api.swistay.com/media/icons/a96f3200910a4817beb1d7d8f256bfff.svg" }, "order": 1 }, { "id": 6, "url": "https://api.swistay.com/room-types/6/?format=api", "code": "BAR_PU", "name": "Communal Bathroom", "description": "A communal bathroom is a bathroom that's available to the group of house hold to use", "icon": { "id": 52, "name": "Bathtub", "src": "https://api.swistay.com/media/icons/e0bf3a1d45eb4b789e6779770306ceab.svg" }, "order": 9 }, { "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 }, { "id": 16, "url": "https://api.swistay.com/room-types/16/?format=api", "code": "DIS", "name": "Dinning Space", "description": "A dining space(not dedicated 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": 13 }, { "id": 8, "url": "https://api.swistay.com/room-types/8/?format=api", "code": "BAR_EN", "name": "Ensuite Bathroom", "description": "This is a bathroom that is directly connected to a bedroom room", "icon": { "id": 52, "name": "Bathtub", "src": "https://api.swistay.com/media/icons/e0bf3a1d45eb4b789e6779770306ceab.svg" }, "order": 3 }, { "id": 2, "url": "https://api.swistay.com/room-types/2/?format=api", "code": "BER_EN", "name": "Ensuite Bedroom", "description": "This is a bedroom that is directly connected to a bathroom, it's also known as self contained", "icon": { "id": 23, "name": "Double bed", "src": "https://api.swistay.com/media/icons/a96f3200910a4817beb1d7d8f256bfff.svg" }, "order": 2 }, { "id": 15, "url": "https://api.swistay.com/room-types/15/?format=api", "code": "GYR", "name": "Gym Room", "description": "A gym room is a room for doing and storing exercise equipments", "icon": { "id": 11, "name": "Dumbbell", "src": "https://api.swistay.com/media/icons/d45d19aae0e647069c7b9cb278b7cfb7.svg" }, "order": 17 }, { "id": 13, "url": "https://api.swistay.com/room-types/13/?format=api", "code": "KIR", "name": "Kitchen Room", "description": "A kitchen is a room or part of a room used for cooking and food preparation", "icon": { "id": 44, "name": "Kitchen tools", "src": "https://api.swistay.com/media/icons/b9bf9e6735dc48b8b2403d3fc3ddab53.svg" }, "order": 14 }, { "id": 18, "url": "https://api.swistay.com/room-types/18/?format=api", "code": "KIS", "name": "Kitchen Space", "description": "A dedicated soece for kitchen(Not a an entire room)", "icon": { "id": 44, "name": "Kitchen tools", "src": "https://api.swistay.com/media/icons/b9bf9e6735dc48b8b2403d3fc3ddab53.svg" }, "order": 15 } ] }{ "count": 18, "next": "