Closed gwgrubbs closed 4 years ago
The data dictionary specifies a data type of numeric for certification "size" and annual data "asset_size", but calls to get asset data returned from
[GET] /api/v1/entities/{entity_id}/assets
return the values as strings.
Expected:
... "certifications": [ { "id": 123, "certification_id": 959, "name": "LEED/Building Design and Construction (BD+C)", "level": "Platinum", "size": 1757330.0, "_validations": { "errors": {} } } ], "asset_size": 1757330.0, ...
Actual:
... "certifications": [ { "id": 123, "certification_id": 959, "name": "LEED/Building Design and Construction (BD+C)", "level": "Platinum", "size": "1757330.0", "_validations": { "errors": {} } } ], "asset_size": "1757330.0", ...
thanks for flagging this. we will deploy a fix soon.
The data dictionary specifies a data type of numeric for certification "size" and annual data "asset_size", but calls to get asset data returned from
return the values as strings.
Expected:
Actual: