Closed gwgrubbs closed 4 years ago
The Batch Assets Operation endpoint returns a value type of string for certification size
The data dictionary specifies a data type of numeric for certification "size", but assets in the response are strings.
[POST] /api/v1//entities/{entity_id}/assets/batches
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": {} } } ] ...
Actual:
... "certifications": [ { "id": 123, "certification_id": 959, "name": "LEED/Building Design and Construction (BD+C)", "level": "Platinum", "size": "1757330.0", "_validations": { "errors": {} } } ] ...
thanks for flagging this. we will deploy a fix soon.
The Batch Assets Operation endpoint returns a value type of string for certification size
The data dictionary specifies a data type of numeric for certification "size", but assets in the response are strings.
return the values as strings.
Expected:
Actual: