Return all floor plans for specific business
GEThttps://api.staging.powerapi.com/api/v1/businesses/:id/floor_plans
Return all floor plans for specific business
Request
Path Parameters
id stringrequired
Query Parameters
include string
Include associations (delimited with comma). Available associations: tables
page int32
Default value: 1
Page offset to fetch.
per_page int32
Default value: 10
Number of results to return per page.
Responses
- 200
Return all floor plans for specific business
- application/vnd.api+json
- Schema
- Example (from schema)
Schema
data
object[]
required
meta
object
required
{
"data": [
{
"id": "string",
"type": "floor_plans",
"links": {
"self": "string"
},
"attributes": {
"name": "Main",
"height": 1000,
"width": 1000
}
}
],
"meta": {
"total-count": 0,
"total-pages": 0
}
}
- curl
- python
- go
- nodejs
- ruby
- java
- powershell
- CURL
curl -L 'https://api.staging.powerapi.com/api/v1/businesses/:id/floor_plans' \
-H 'Accept: application/vnd.api+json' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear