Hotel Stay Impact Calculation
Hotel Stay Impact Calculation
Get a step-by-step CO2e breakdown for a specific hotel stay
GET
Hotel Stay Impact Calculation
Hotel Stay Impact Calculation
Returns the step-by-step emission calculation for a specific hotel stay, showing exactly how the CO2e figure was derived from the DEFRA room-night emission factor.Request
Headers
Bearer token for authenticationExample:
Bearer sk_live_1234567890abcdefYour organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faPath Parameters
The unique identifier (UUID) of the hotel stay recordExample:
550e8400-e29b-41d4-a716-446655440000Response
The response contains the full step-by-step calculation breakdown as used by the Dcycle kernel. The exact shape reflects the kernel’s multi-DB calculation result for the DEFRA hotel room-night activity.Calculation Methodology
CO2e is computed as:- nights =
check_out_date − check_in_datein days - EF = DEFRA hotel room-night emission factor for the stay’s country (from the
defra_hotel_stayskernel activity,HOTEL_STAYScategory)
total_impacts row is written per night so that partial-period exports and dashboards pro-rate correctly.
Example
Common Errors
404 Not Found
Cause: The hotel stay ID does not exist or belongs to a different organization.Related Endpoints
Get Hotel Stay
Retrieve full stay details
List Hotel Stays
Browse all stays for the organization

