Closed EmilTemirov closed 9 years ago
How can I obtain the asset_propertytype value? My GET request to **/api/responses/:response_id/asset_leveldata** doesn't returns any asset_property_type value:
{ "id": 303, "oauth_application_id": 14, "created_at": "2015-02-17T09:43:05Z", "updated_at": "2015-02-17T09:43:05Z", "errors": {}, "buildings": [ { "created_at": "2015-02-17T09:43:05Z", "updated_at": "2015-03-17T15:18:42Z", "asset_name": "The White House", "asset_country": "", "asset_address": "1600 Pennsylvania Aven", "asset_size": -12, "partners_id": "23234", "survey_data": { "2013": { "asset_own": 1, "en_man_bcf_abs": 50000, "errors": {} }, "2014": { "asset_own": 1, "en_man_bcf_abs": -100, "en_man_bcf_cov": 1200, "en_man_bcf_tot": 1200, "errors": { "en_man_bcf_abs": [ "not_negative" ] } } }, "errors": { "asset_size": [ "not_negative" ] } }, { "created_at": "2015-02-25T14:12:39Z", "updated_at": "2015-02-25T14:12:39Z", "asset_name": "The White House", "asset_country": "", "asset_address": "1600 Pennsylvania Avenue NW, Washington DC", "asset_size": null, "partners_id": "232349", "survey_data": { "2013": { "asset_own": 1, "en_man_bcf_abs": 50000, "errors": {} }, "2014": { "asset_own": 1, "en_man_bcf_abs": -100, "en_man_bcf_cov": 1200, "en_man_bcf_tot": 1200, "errors": { "en_man_bcf_abs": [ "not_negative" ] } } }, "errors": {} }, { "created_at": "2015-03-17T15:39:56Z", "updated_at": "2015-03-17T15:39:56Z", "asset_name": "Test asset 123", "asset_country": "", "asset_address": "1600 Pennsylvania Avenue NW, Washington DC", "asset_size": null, "partners_id": "2323433", "survey_data": { "2013": { "asset_own": 1, "en_man_bcf_abs": 50000, "errors": {} }, "2014": { "errors": {} } }, "errors": {} } ] }
I see where this happens... we are working on a fix for it.
How can I obtain the asset_propertytype value? My GET request to **/api/responses/:response_id/asset_leveldata** doesn't returns any asset_property_type value: