Floor-plans

Find Floor Plan URLs

This endpoint is used to find the various floor-plans and their corresponding basic layer-set links available for a given building and floor . These links can be used in web sites or <iframes/> as needed.

See Floor Plan Links for more information on additional parameters that can be appended to the links provided through this endpoint.

GET /api/floorplan/url/?building=&floor=&room=

is an optional parameter. and `` are required.

Sample Call and Response

GET http://localhost:8000/api/floorplan/url/?building=HQ&floor=19&room=107
[
    {
        "id": 4626,
        "location_type": "room",
        "building": "HQ",
        "floor": "19",
        "room": "107",
        "layer_sets": [
            {
                "set_id": 2,
                "set_name": "Architectural Background Only",
                "url": "http://localhost:8000/osis/floor/1/2/?room=107",
                "url_stripped": "http://localhost:8000/osis/s/floor/1/2/?room=107",
                "url_stripped_only": "http://localhost:8000/osis/so/floor/1/2/?room=107"
            },
            {
                "set_id": 4,
                "set_name": "Room (Demo)",
                "url": "http://localhost:8000/osis/floor/1/4/?room=107",
                "url_stripped": "http://localhost:8000/osis/s/floor/1/4/?room=107",
                "url_stripped_only": "http://localhost:8000/osis/so/floor/1/4/?room=107"
            },
            {
                "set_id": 3,
                "set_name": "Room",
                "url": "http://localhost:8000/osis/floor/1/3/?room=107",
                "url_stripped": "http://localhost:8000/osis/s/floor/1/3/?room=107",
                "url_stripped_only": "http://localhost:8000/osis/so/floor/1/3/?room=107"
            }
        ]
    }
]