Uploads report data to EC3.
EC3
Embodied Carbon in Construction Calculator (EC3), is a free database of construction EPDs with a matching building impact calculator for use in design and material procurement. EC3 is built by Building Transparency with a core mission to provide open access data and the tools necessary to enable broad and swift action across the building industry addressing embodied carbon's role in climate change. Bentley's iTwin platform integration with EC3 allows you to take Quantity Takeoff Reports created using the iTwin Reporting platform and export them to EC3 for convenient Life Cycle Analysis for both infrastructure projects and buildings. The iTwin platform enables the incorporation of engineering data created by various design tools. A summary of the design data is exported through this integration, allowing you to gain insights into the environmental impacts of your infrastructure project.
For guidance on creating a report, see iTwin Reporting Platform documentation.
For guidance on how to use EC3, terminology and data requirements, see EC3 User Guide.
An account with EC3 is required to use this integration. User accounts are created at EC3. For guidance on EC3, please contact EC3 support.
Bentley is not responsible or liable for third-party resources' content, products, services, or practices and does not make any representations regarding their quality, availability or accuracy. Access and use of EC3 resources are subject to the terms and conditions set forth by EC3.
Authentication
Requires Authorization
header with valid Bearer token for scope itwin-platform
.
For more documentation on authorization and how to get access token visit OAUTH2 Authorization page.
Authorization
User must have carbon_calculate
permission(s) assigned at the Project level.
Alternatively the user should be an Organization Administrator for the Organization that owns a given Project.
An Organization Administrator must have at least one of the following roles assigned in User Management: Account Administrator, Co-Administrator, or CONNECT Services Administrator. For more information about User Management please visit our Bentley Communities Licensing, Cloud, and Web Services wiki page.
Request headers
OAuth access token with itwin-platform
scope
Setting to application/vnd.bentley.itwin-platform.v1+json
is recommended.
Request body
EC3JobReportCreate (Report)
EC3 Bearer token with read write
scope. Acquiring a token is possible using EC3 APIs. Contact apisupport@buildingtransparency.org for support.
Id of Configuration to upload into EC3.
Name of the Project to be created in EC3.
Example
{ "ec3BearerToken": "token", "configurationId": "7f0a9da2-bb7f-45fa-9b90-d6e132a5fee7", "projectName": "EC3 Project Name" }
EC3JobExtractionCreate (Extraction)
EC3 Bearer token with read write
scope. Acquiring a token is possible using EC3 APIs. Contact apisupport@buildingtransparency.org for support.
Id of Configuration to upload into EC3.
Name of the Project to be created in EC3.
Id of the Extraction to upload into EC3
Example
{ "ec3BearerToken": "token", "configurationId": "7f0a9da2-bb7f-45fa-9b90-d6e132a5fee7", "projectName": "EC3 Project Name", "extractionId": "17f3502c-b406-46b0-a4ca-e896fa20dd9d" }
Response 200 OK
OK
{ "job": { "id": "f2b60c24-ae10-4cae-9c57-3b4728ef848b_e4264cd1-eb3d-4708-9b2b-3902e3c70676", "_links": { "status": { "href": "https://api.bentley.com/insights/carbon-calculation/ec3/jobs/f2b60c24-ae10-4cae-9c57-3b4728ef848b_e4264cd1-eb3d-4708-9b2b-3902e3c70676" } } } }
Response 401 Unauthorized
This response indicates that request lacks valid authentication credentials. Access token might not been provided, issued by the wrong issuer, does not have required scopes or request headers were malformed.
{ "error": { "code": "HeaderNotFound", "message": "Header Authorization was not found in the request. Access denied." } }
Response 422 Unprocessable Entity
The 422 (Unprocessable Entity) status code indicates that the request cannot be processed by the server due to a client error (e.g. malformed request syntax).
{ "error": { "code": "InvalidCarbonCalculationRequest", "message": "Error message." } }
Response 429 Too many requests
This response indicates that the client sent more requests than allowed by this API for the current tier of the client.
{ "error": { "code": "RateLimitExceeded", "message": "The client sent more requests than allowed by this API for the current tier of the client." } }
Response headers
Number of seconds to wait until client is allowed to make more requests.
EC3 Job
Id of started EC3 upload job.
{ "title": "EC3 Job", "type": "object", "properties": { "id": { "type": "string", "description": "Id of started EC3 upload job." }, "_links": { "$ref": "#/components/schemas/EC3JobLinks", "description": "Contains the hyperlinks to the related data of the EC3 Job." } }, "additionalProperties": false }
EC3 Job (create)
EC3 Bearer token with read write
scope. Acquiring a token is possible using EC3 APIs. Contact apisupport@buildingtransparency.org for support.
Id of Configuration to upload into EC3.
Name of the Project to be created in EC3.
Id of the Extraction to upload into EC3
{ "title": "EC3 Job (create)", "required": [ "ec3BearerToken", "configurationId", "projectName", "extractionId" ], "type": "object", "properties": { "ec3BearerToken": { "type": "string", "description": "EC3 Bearer token with `read write` scope. Acquiring a token is possible using [EC3 APIs](https://buildingtransparency.org/ec3/manage-apps/api-doc/guide#/2._Accessing_API/authentication.md). Contact apisupport@buildingtransparency.org for support." }, "configurationId": { "type": "string", "description": "Id of Configuration to upload into EC3." }, "projectName": { "type": "string", "description": "Name of the Project to be created in EC3." }, "extractionId": { "type": "string", "description": "Id of the Extraction to upload into EC3" } }, "additionalProperties": false }
EC3 Job (create)
EC3 Bearer token with read write
scope. Acquiring a token is possible using EC3 APIs. Contact apisupport@buildingtransparency.org for support.
Id of Configuration to upload into EC3.
Name of the Project to be created in EC3.
{ "title": "EC3 Job (create)", "required": [ "ec3BearerToken", "configurationId", "projectName" ], "type": "object", "properties": { "ec3BearerToken": { "type": "string", "description": "EC3 Bearer token with `read write` scope. Acquiring a token is possible using [EC3 APIs](https://buildingtransparency.org/ec3/manage-apps/api-doc/guide#/2._Accessing_API/authentication.md). Contact apisupport@buildingtransparency.org for support." }, "configurationId": { "type": "string", "description": "Id of Configuration to upload into EC3." }, "projectName": { "type": "string", "description": "Name of the Project to be created in EC3." } }, "additionalProperties": false }
EC3 Job response
{ "title": "EC3 Job response", "type": "object", "properties": { "job": { "$ref": "#/components/schemas/EC3Job" } }, "additionalProperties": false }
Link
Hyperlink container.
Hyperlink to the specific entity.
{ "title": "Link", "type": "object", "properties": { "href": { "type": "string", "description": "Hyperlink to the specific entity." } }, "description": "Hyperlink container.", "additionalProperties": false }
EC3 Job links
URLs for getting related data.
{ "title": "EC3 Job links", "type": "object", "description": "URLs for getting related data.", "properties": { "status": { "$ref": "#/components/schemas/Link", "description": "Link to retrieve ec3 project." } }, "additionalProperties": false }
Error
Contains error information.
One of a server-defined set of error codes.
A human-readable representation of the error.
The target of the error.
{ "type": "object", "description": "Contains error information.", "properties": { "code": { "type": "string", "description": "One of a server-defined set of error codes." }, "message": { "type": "string", "description": "A human-readable representation of the error." }, "target": { "type": "string", "description": "The target of the error.", "nullable": true } }, "required": [ "code", "message" ], "additionalProperties": true }
Error Response
Gives details for an error that occurred while handling the request. Note that clients MUST NOT assume that every failed request will produce an object of this schema, or that all of the properties in the response will be non-null, as the error may have prevented this response from being constructed.
{ "type": "object", "title": "Error Response", "description": "Gives details for an error that occurred while handling the request. Note that clients MUST NOT assume that every failed request will produce an object of this schema, or that all of the properties in the response will be non-null, as the error may have prevented this response from being constructed.", "properties": { "error": { "description": "Error information.", "$ref": "#/components/schemas/Error" } }, "required": [ "error" ], "additionalProperties": false }
Was this page helpful?