The Default Utility Cost API provides Green Building Studio client developers a facility for discovering what is the default electric and fuel utility cost is use by Green Building Studio base on location and building type.
To access the Default Utility Cost API, use:
https://gbs.autodesk.com/gbs/api/v1/project/defaultUtilityCost/buildingTypeId/latitude/longitude/responseFormat
where responseFormat may be either of the following values:
-
json indicates output in JavaScript Object Notation (JSON)
-
xml indicates output as XML
Note: If responseFormat is omitted, the output will default to XML.
GET
-
BuildingTypeId- see Building Type API
-
-
Default Utility Cost API Responses
|
Default Utility Cost API responses are returned in the format indicated in the responseFormat within the request URL.
JSON Output Example
|
{"ElecCost":0.1254,"FuelCost":0.754625142}
|
XML Output Example
|
<DefaultUtilityItem xmlns="http://gbs.autodesk.com/gbs/api/DataContract/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<ElecCost>0.1254</ElecCost>
<FuelCost>0.754625142</FuelCost>
</DefaultUtilityItem>
|