Calculate Carbon Emissions

 

The Carbon_CalculatorRQ CO2 Emissions Calculation Service provides functionality of calculating approximate amount of carbon burned in kilograms per person, per all persons and per each segment in case of air travel, hotel or car hire. 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.

API Information

Target Audience
All Sabre APIs Customers
Current Version
1.3.0
Authentication
Session Token
Service Action Code
Carbon_CalculatorRQ

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>

If you are a Sabre customer currently using Sabre APIs in production, access  Resources    

Docs Navigation