{
  "title": "Create Carbon Emission Record Example",
  "description": "Example request and response for creating a Scope 1 carbon emission record in Salesforce Net Zero Cloud",
  "operation": "createCarbonEmission",
  "method": "POST",
  "path": "/sobjects/CarbonEmission",
  "request": {
    "headers": {
      "Authorization": "Bearer {access_token}",
      "Content-Type": "application/json"
    },
    "body": {
      "Scope": 1,
      "EmissionSource": "Natural Gas Combustion",
      "QuantityMtCO2e": 125.7,
      "ReportingYear": 2023,
      "ReportingPeriodStartDate": "2023-01-01",
      "ReportingPeriodEndDate": "2023-12-31",
      "CalculationMethod": "ActivityBased",
      "Description": "Scope 1 emissions from natural gas used for building heating at headquarters"
    }
  },
  "response": {
    "statusCode": 201,
    "headers": {
      "Content-Type": "application/json"
    },
    "body": {
      "id": "0e8xx000000bCdAAI",
      "success": true,
      "errors": []
    }
  }
}
