Green Project API (1.0.5)

Download OpenAPI specification:Download

Green Project API for partner Partnership

company

Requests about a company's environmental data

returns a list of companies which the partner is authorized to access.

Authorizations:
oAuthNoScopes

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Returns details about the specified company

Authorizations:
oAuthNoScopes
path Parameters
companyId
required
string <uuid>

the GPT ID of a company

Responses

Response samples

Content type
application/json
{
  • "gpt_company_id": "62ba058cfb154f9a49d6ac03",
  • "partner_company_id": "partner-cust-abcd1234",
  • "gpt_company_name": "Example PortCo A",
  • "frequency": "quarterly",
  • "data_years": [
    ]
}

emissions

Returns aggregated emissions totals for the year broken down by business unit

Authorizations:
oAuthNoScopes
path Parameters
company_id
required
string <uuid>

the ID of a company (partner must be authorized to access this company)

year
required
number
Example: 2021

returns annual emissions summary for company, regardless of the company's frequency

Responses

Response samples

Content type
application/json
{
  • "data_properties": {
    },
  • "location_based_emissions": [
    ],
  • "market-based_emissions": [
    ]
}

Returns aggregated emissions totals for the specified year at the specified business unit

Authorizations:
oAuthNoScopes
path Parameters
company_id
required
string <uuid>

the ID of a company (c)

year
required
number
Example: 2021

the year for which to get data

business_unit
required
string
Example: pencils - sales

the business unit code from partner

Responses

Response samples

Content type
application/json
{
  • "data_properties": {
    },
  • "location-based_emissions": [
    ],
  • "market-based_emissions": [
    ]
}

Returns aggregated emissions totals for the specified year, across all business units

Authorizations:
oAuthNoScopes
path Parameters
company_id
required
string <uuid>

the ID of a company (c)

year
required
number
Example: 2021

the year for which to get data

Responses

Response samples

Content type
application/json
{
  • "data_properties": {
    },
  • "location-based_emissions": [
    ],
  • "market-based_emissions": [
    ]
}

surveys

POST a CSV file formatted according to Green Project's data ingestion format

Authorizations:
oAuthNoScopes
path Parameters
companyId
required
string

The ID of the company (client must be authorized to access this company's data)

query Parameters
year
required
number
Example: year=2022

Survey data year

period
required
string
Enum: "q1" "q2" "q3" "q4" "yr" "jan" "feb" "mar" "apr" "may" "jun" "jul" "aug" "sep" "oct" "nov" "dec"

The survey period within the specified year

Request Body schema: application/csv

.csv file containing the data for the portfolio company for this survey period

string <base64>

Responses

Response samples

Content type
application/json
{
  • "surveyId": "62bb256b44425ae8acb16b35",
  • "surveyStatus": "IN_PROGRESS"
}