GET api/buildings/{buildingId}/spaces
Get all spaces that belong to specified building ID
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| buildingId |
|
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
List of parking spaces assigned to the building
Collection of ParkingSpaceViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SpaceName |
Space name |
string |
None. |
| SpaceId |
ParkingSpaceId |
integer |
None. |
| BuildingId |
BuildingId |
integer |
None. |
| UnitId |
UnitId |
integer |
None. |
| SpaceType |
Space type |
BuildingSpaceTypeViewModel |
None. |
| Unit |
Unit parking spaces assigned to |
UnitViewModel |
None. |
| SpaceDescription |
ParkingSpaceDescription |
string |
Required Matching regular expression pattern: ^[\w\d\s]*$ Max length: 50 |
| TaxRate |
TaxRate |
decimal number |
Range: inclusive between 0 and 100 |
| SpaceTypeId |
Space Type Id |
integer |
Required |
| PercentageOfOwnership |
Percentage of ownership |
decimal number |
Required Range: inclusive between 0 and 100 |