Skip to main content

Calculate Carbon Emissions

1.3.0
Air
Utility
SOAP API

The Calculate Carbon Emissions (Carbon_CalculatorRQ) (CO2) API is used to calculate the approximate amount of carbon burned in kilograms per person, perĀ all persons, and per each segment, during air travel, hotel, or car hire.

Target Audience
Travel Agency
Airline Carrier
Current Version
1.3.0
Authentication
Session Token
Service Action Code
Carbon_CalculatorRQ

The model computes carbon burn based on input parameters (such as origin and destination (distance) or aircraft type) as well as constants stored in Sabre's Travel Data Warehouse.

Sample Request
<Carbon_CalculatorRQ Version="1.0" TimeStamp="2011-04-01T03:41:24">
	<Segments>
		<Segment>
			<Car>
				<NumberOfDays>1</NumberOfDays>
				<NumberInParty>2</NumberInParty>
				<NumberOfUnitsBooked>1</NumberOfUnitsBooked>
				<CarClassificationCode>S</CarClassificationCode>
				<CarTypeCode>C</CarTypeCode>
				<CarTransmissionTypeCode>M</CarTransmissionTypeCode>
				<CarAirConditioningCode>R</CarAirConditioningCode>
				<CountryCode>USA</CountryCode>
				<MapRegion>999</MapRegion>
			</Car>
		</Segment>
		<Segment>
			<Car>
				<NumberOfDays>7</NumberOfDays>
				<NumberInParty>5</NumberInParty>
				<NumberOfUnitsBooked>1</NumberOfUnitsBooked>
				<CarClassificationCode>S</CarClassificationCode>
				<CarTypeCode>C</CarTypeCode>
				<CarTransmissionTypeCode>A</CarTransmissionTypeCode>
				<CarAirConditioningCode>N</CarAirConditioningCode>
				<CountryCode>USA</CountryCode>
				<MapRegion>US</MapRegion>
			</Car>
		</Segment>
		<Segment>
			<Car>
				<NumberOfDays>1</NumberOfDays>
				<NumberInParty>5</NumberInParty>
				<NumberOfUnitsBooked>7</NumberOfUnitsBooked>
				<CarClassificationCode>S</CarClassificationCode>
				<CarTypeCode>C</CarTypeCode>
				<CarTransmissionTypeCode>M</CarTransmissionTypeCode>
				<CarAirConditioningCode>R</CarAirConditioningCode>
				<CountryCode>PL</CountryCode>
				<MapRegion>EUR</MapRegion>
			</Car>
		</Segment>
	</Segments>
</Carbon_CalculatorRQ>
Sample Response
<Carbon_CalculatorRS TimeStamp="2012-12-18T08:07:51" Target="Production" Version="1.0">
	<Success>Success</Success>
	<CarbonEmissions>
		<Segments>
			<Segment>
				<Car>
					<NumberOfDays>1</NumberOfDays>
					<NumberInParty>2</NumberInParty>
					<NumberOfUnitsBooked>1</NumberOfUnitsBooked>
					<CarClassificationCode>S</CarClassificationCode>
					<CarTypeCode>C</CarTypeCode>
					<CarTransmissionTypeCode>M</CarTransmissionTypeCode>
					<CarAirConditioningCode>R</CarAirConditioningCode>
					<CountryCode>USA</CountryCode>
					<MapRegion>999</MapRegion>
				</Car>
				<CO2Value PerSegment="28" PerParty="28" PerPassenger="14"/>
			</Segment>
			<Segment>
				<Car>
					<NumberOfDays>7</NumberOfDays>
					<NumberInParty>5</NumberInParty>
					<NumberOfUnitsBooked>1</NumberOfUnitsBooked>
					<CarClassificationCode>S</CarClassificationCode>
					<CarTypeCode>C</CarTypeCode>
					<CarTransmissionTypeCode>A</CarTransmissionTypeCode>
					<CarAirConditioningCode>N</CarAirConditioningCode>
					<CountryCode>USA</CountryCode>
					<MapRegion>US</MapRegion>
				</Car>
				<CO2Value PerSegment="195" PerParty="195" PerPassenger="39"/>
			</Segment>
			<Segment>
				<Car>
					<NumberOfDays>1</NumberOfDays>
					<NumberInParty>5</NumberInParty>
					<NumberOfUnitsBooked>7</NumberOfUnitsBooked>
					<CarClassificationCode>S</CarClassificationCode>
					<CarTypeCode>C</CarTypeCode>
					<CarTransmissionTypeCode>M</CarTransmissionTypeCode>
					<CarAirConditioningCode>R</CarAirConditioningCode>
					<CountryCode>PL</CountryCode>
					<MapRegion>EUR</MapRegion>
				</Car>
				<CO2Value PerSegment="216" PerParty="216" PerPassenger="43"/>
			</Segment>
		</Segments>
		<CO2TotalValue PerSegment="439" PerParty="439" PerPassenger="96" DistanceInMiles="0"/>
	</CarbonEmissions>
</Carbon_CalculatorRS>