Home Energy Scoring‎ > ‎API Definitions‎ > ‎API Methods‎ > ‎2017.2‎ > ‎

commit_results

This method can be called after the calculate_base_building method has been successfully run.  It locks the inputs and returns the results of the building calculation.  Before it is run the user should be shown a copy of the inputs and asked to verify that they are correct.  This method must be called before calculate_package_building may be called.

Parameters

NameDescriptionTypeRequiredOptions
 session_token Get from the get_session_token methodstringYes 
user_keyAPI key for accessstringYes
 building_id ID of building to calculate intYes 



Response

Identical to the response of the retrieve_label_results method



Roles

Method access is limited by the roles assigned the user to whom the session token was assigned

RoleAccess
AssessorMust be the assessor who created the building
PartnerNo access
 Admin Allowed to commit any building