GET v1/Building/{id}
Fetches detailed information about a specific building.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Building| Name | Description | Type | Additional information |
|---|---|---|---|
| BuildingId | integer |
None. |
|
| Name | string |
None. |
|
| LocationId | integer |
None. |
|
| CampusOld | string |
None. |
|
| MachineName | string |
None. |
|
| MachineNameOld | string |
None. |
|
| DateAdded | date |
None. |
|
| AddedBy | string |
None. |
|
| Area | integer |
None. |
|
| Map | Collection of byte |
None. |
|
| DwhBuildingName | string |
None. |
|
| IdDwhBuilding | integer |
None. |
|
| OppCode | string |
None. |
|
| CenterLatitude | decimal number |
None. |
|
| CenterLongitude | decimal number |
None. |
|
| LongName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"BuildingId": 1,
"Name": "sample string 2",
"LocationId": 3,
"CampusOld": "sample string 4",
"MachineName": "sample string 5",
"MachineNameOld": "sample string 6",
"DateAdded": "2025-11-06T16:00:25.5505544-05:00",
"AddedBy": "sample string 8",
"Area": 1,
"Map": "QEA=",
"DwhBuildingName": "sample string 9",
"IdDwhBuilding": 1,
"OppCode": "sample string 10",
"CenterLatitude": 11.1,
"CenterLongitude": 1.1,
"LongName": "sample string 12"
}
application/xml, text/xml
Sample:
<Building xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SysManApi.Models"> <AddedBy>sample string 8</AddedBy> <Area>1</Area> <BuildingId>1</BuildingId> <CampusOld>sample string 4</CampusOld> <CenterLatitude>11.1</CenterLatitude> <CenterLongitude>1.1</CenterLongitude> <DateAdded>2025-11-06T16:00:25.5505544-05:00</DateAdded> <DwhBuildingName>sample string 9</DwhBuildingName> <IdDwhBuilding>1</IdDwhBuilding> <LocationId>3</LocationId> <LongName>sample string 12</LongName> <MachineName>sample string 5</MachineName> <MachineNameOld>sample string 6</MachineNameOld> <Map>QEA=</Map> <Name>sample string 2</Name> <OppCode>sample string 10</OppCode> </Building>