Return of retrieveDetailedSessionResults11

Code:

$result = $client->retrieveDetailedSessionResults11($params['client_guid'],$params['session_id']);

Retrieve Detailed Results Tables:

stdClass Object

(

    [sessionId] => *********

    [zip_city] => San Jose

    [zip_state] => California

    [BaseCost] => 1154

    [newcost] => 658

    [details] => Array

        (

            [0] => stdClass Object

                (

                    [group] => Whole House

                    [type] => Energy Bill

                    [exiting] => $1,154

                    [upgrades] => $658

                    [savings] => $496

                    [percent] => 43%

                )

            [1] => stdClass Object

                (

                    [group] => Whole House

                    [type] => Electricity

                    [exiting] => 9,095 kWh

                    [upgrades] => 6,353 kWh

                    [savings] => 2,742 kWh

                    [percent] => 30%

                )

            [2] => stdClass Object

                (

                    [group] => Whole House

                    [type] => Natural Gas

                    [exiting] => 353 Therms

                    [upgrades] => 134 Therms

                    [savings] => 219 Therms

                    [percent] => 62%

                )

            [3] => stdClass Object

                (

                    [group] => Whole House

                    [type] => Fuel Oil

                    [exiting] => 0 Gallons

                    [upgrades] => 0 Gallons

                    [savings] => 0 Gallons

                    [percent] => 0%

                )

            [4] => stdClass Object

                (

                    [group] => Whole House

                    [type] => LPG

                    [exiting] => 0 Gallons

                    [upgrades] => 0 Gallons

                    [savings] => 0 Gallons

                    [percent] => 0%

                )

            [5] => stdClass Object

                (

                    [group] => Whole House

                    [type] => Emissions

                    [exiting] => 10,711 CO2

                    [upgrades] => 6,165 CO2

                    [savings] => 4,546 lb. CO2

                    [percent] => 42%

                )

            [6] => stdClass Object

                (

                    [group] => Heating

                    [type] => Energy Bill

                    [exiting] => $438

                    [upgrades] => $151

                    [savings] => $287

                    [percent] => 66%

                )

            [7] => stdClass Object

                (

                    [group] => Heating

                    [type] => Electricity

                    [exiting] => 58 kWh

                    [upgrades] => 25 kWh

                    [savings] => 33 kWh

                    [percent] => 57%

                )

            [8] => stdClass Object

                (

                    [group] => Heating

                    [type] => Natural Gas

                    [exiting] => 331 Therms

                    [upgrades] => 114 Therms

                    [savings] => 217 Therms

                    [percent] => 66%

                )

            [9] => stdClass Object

                (

                    [group] => Heating

                    [type] => Fuel Oil

                    [exiting] => 0 Gallons

                    [upgrades] => 0 Gallons

                    [savings] => 0 Gallons

                    [percent] => 0%

                )

            [10] => stdClass Object

                (

                    [group] => Heating

                    [type] => LPG

                    [exiting] => 0 Gallons

                    [upgrades] => 0 Gallons

                    [savings] => 0 Gallons

                    [percent] => 0%

                )

            [11] => stdClass Object

                (

                    [group] => Heating

                    [type] => Emissions

                    [exiting] => 3,909 lb. CO2

                    [upgrades] => 1,354 lb. CO2

                    [savings] => 2,555 lb. CO2

                    [percent] => 65%

                )

            [12] => stdClass Object

                (

                    [group] => Cooling

                    [type] => Energy Bill

                    [exiting] => $12

                    [upgrades] => $21

                    [savings] => $-9

                    [percent] => -75%

                )

            [13] => stdClass Object

                (

                    [group] => Cooling

                    [type] => Electricity

                    [exiting] => 163 kWh

                    [upgrades] => 282 kWh

                    [savings] => -119 kWh

                    [percent] => -73%

                )

            [14] => stdClass Object

                (

                    [group] => Cooling

                    [type] => Emissions

                    [exiting] => 118 lb. CO2

                    [upgrades] => 204 lb. CO2

                    [savings] => -86 lb. CO2

                    [percent] => -73%

                )

            [15] => stdClass Object

                (

                    [group] => Hot Water

                    [type] => Energy Bill

                    [exiting] => $172

                    [upgrades] => $65

                    [savings] => $107

                    [percent] => 62%

                )

            [16] => stdClass Object

                (

                    [group] => Hot Water

                    [type] => Electricity

                    [exiting] => 2,260 kWh

                    [upgrades] => 851 kWh

                    [savings] => 1,409 kWh

                    [percent] => 62%

                )

            [17] => stdClass Object

                (

                    [group] => Hot Water

                    [type] => Natural Gas

                    [exiting] => 0 Therms

                    [upgrades] => 0 Therms

                    [savings] => 0 Therms

                    [percent] => 0%

                )

            [18] => stdClass Object

                (

                    [group] => Hot Water

                    [type] => Fuel Oil

                    [exiting] => 0 Gallons

                    [upgrades] => 0 Gallons

                    [savings] => 0 Gallons

                    [percent] => 0%

                )

            [19] => stdClass Object

                (

                    [group] => Hot Water

                    [type] => LPG

                    [exiting] => 0 Gallons

                    [upgrades] => 0 Gallons

                    [savings] => 0 Gallons

                    [percent] => 0%

                )

            [20] => stdClass Object

                (

                    [group] => Hot Water

                    [type] => Emissions

                    [exiting] => 1,637 lb. CO2

                    [upgrades] => 616 lb. CO2

                    [savings] => 1,021 lb. CO2

                    [percent] => 62%

                )

            [21] => stdClass Object

                (

                    [group] => Large Appliances

                    [type] => Energy Bill

                    [exiting] => $301

                    [upgrades] => $251

                    [savings] => $50

                    [percent] => 17%

                )

            [22] => stdClass Object

                (

                    [group] => Large Appliances

                    [type] => Electricity

                    [exiting] => 3,578 kWh

                    [upgrades] => 2,958 kWh

                    [savings] => 620 kWh

                    [percent] => 17%

                )

            [23] => stdClass Object

                (

                    [group] => Large Appliances

                    [type] => Natural Gas

                    [exiting] => 22 Therms

                    [upgrades] => 20 Therms

                    [savings] => 2 Therms

                    [percent] => 9%

                )

            [24] => stdClass Object

                (

                    [group] => Large Appliances

                    [type] => Fuel Oil

                    [exiting] => 0 Gallons

                    [upgrades] => 0 Gallons

                    [savings] => 0 Gallons

                    [percent] => 0%

                )

            [25] => stdClass Object

                (

                    [group] => Large Appliances

                    [type] => LPG

                    [exiting] => 0 Gallons

                    [upgrades] => 0 Gallons

                    [savings] => 0 Gallons

                    [percent] => 0%

                )

            [26] => stdClass Object

                (

                    [group] => Large Appliances

                    [type] => Emissions

                    [exiting] => 2,848 lb. CO2

                    [upgrades] => 2,370 lb. CO2

                    [savings] => 478 lb. CO2

                    [percent] => 17%

                )

            [27] => stdClass Object

                (

                    [group] => Small Appliances

                    [type] => Energy Bill

                    [exiting] => $151

                    [upgrades] => $151

                    [savings] => $0

                    [percent] => 0%

                )

            [28] => stdClass Object

                (

                    [group] => Small Appliances

                    [type] => Electricity

                    [exiting] => 1,988 kWh

                    [upgrades] => 1,988 kWh

                    [savings] => 0 kWh

                    [percent] => 0%

                )

            [29] => stdClass Object

                (

                    [group] => Small Appliances

                    [type] => Natural Gas

                    [exiting] => 0 Therms

                    [upgrades] => 0 Therms

                    [savings] => 0 Therms

                    [percent] => 0%

                )

            [30] => stdClass Object

                (

                    [group] => Small Appliances

                    [type] => Emissions

                    [exiting] => 1,440 lb. CO2

                    [upgrades] => 1,440 lb. CO2

                    [savings] => 0 lb. CO2

                    [percent] => 0%

                )

            [31] => stdClass Object

                (

                    [group] => Lighting

                    [type] => Energy Bill

                    [exiting] => $80

                    [upgrades] => $19

                    [savings] => $61

                    [percent] => 76%

                )

            [32] => stdClass Object

                (

                    [group] => Lighting

                    [type] => Electricity

                    [exiting] => 1,048 kWh

                    [upgrades] => 250 kWh

                    [savings] => 798 kWh

                    [percent] => 76%

                )

            [33] => stdClass Object

                (

                    [group] => Lighting

                    [type] => Emissions

                    [exiting] => 759 lb. CO2

                    [upgrades] => 181 lb. CO2

                    [savings] => 578 lb. CO2

                    [percent] => 76%

                )

        )

)