Room Type List
API endpoint that allows RoomType to be viewed or edited.
GET /room-types/?format=api
https://api.swistay.com/room-types/?format=api&page=2", "previous": null, "results": [ { "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": 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": 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": 3, "url": "https://api.swistay.com/room-types/3/?format=api", "code": "BER_MA", "name": "Master Bedroom", "description": "A master bedroom is a bedroom reserved for the owners/head of the house, typically the parents of the household.", "icon": { "id": 23, "name": "Double bed", "src": "https://api.swistay.com/media/icons/a96f3200910a4817beb1d7d8f256bfff.svg" }, "order": 4 }, { "id": 9, "url": "https://api.swistay.com/room-types/9/?format=api", "code": "BAR_MA", "name": "Master Bathroom", "description": "This is a bathroom that's dedicated for a master bedroom", "icon": { "id": 52, "name": "Bathtub", "src": "https://api.swistay.com/media/icons/e0bf3a1d45eb4b789e6779770306ceab.svg" }, "order": 5 }, { "id": 4, "url": "https://api.swistay.com/room-types/4/?format=api", "code": "BER_MS", "name": "Master Suite Bedroom", "description": "A master suite bedroom is a master bedroom that's connected to its bathroom", "icon": { "id": 23, "name": "Double bed", "src": "https://api.swistay.com/media/icons/a96f3200910a4817beb1d7d8f256bfff.svg" }, "order": 6 }, { "id": 10, "url": "https://api.swistay.com/room-types/10/?format=api", "code": "BAR_MS", "name": "Master Suite Bathroom", "description": "This is a bathroom that's directly connected to a master suite bedroom", "icon": { "id": 52, "name": "Bathtub", "src": "https://api.swistay.com/media/icons/e0bf3a1d45eb4b789e6779770306ceab.svg" }, "order": 7 }, { "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": 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": 7, "url": "https://api.swistay.com/room-types/7/?format=api", "code": "BAR_PR", "name": "Private Bathroom", "description": "A private bathroom is a bathroom that's available for few house hold members to use", "icon": { "id": 52, "name": "Bathtub", "src": "https://api.swistay.com/media/icons/e0bf3a1d45eb4b789e6779770306ceab.svg" }, "order": 10 } ] }{ "count": 18, "next": "