Skip to content

General Information

This is the complete specification of the EcoTransIT World Rest Api
Please note: in order to try out the API you need to contact our team to get a test account.

Authorization

If you are already a customer or have a test account see your instance of swagger-ui https://customer-name.ecotransit.org/swagger-ui (replace customer-name with your company name or the test server name) for details on authorization and how to send your first request to the REST API!

Download OpenAPI description
Languages
Servers
https://customer-name.ecotransit.org

calculate Emissions for specified Transport

Operations

calculate Emissions for round trip (milkrun)

Operations

get general Information about the api

Operations

Request

Returns the current version of the etw-rest api

curl -i -X GET \
  https://customer-name.ecotransit.org/etw-rest/getVersion

Responses

successful operation

Bodyapplication/json
webserviceobject(serviceInfo)required
webservice.​namestringrequired
Example: "REST webservice"
webservice.​parameterobject
webservice.​tagsArray of strings
webservice.​dataSourcesArray of objects(dataSource)
backendServicesArray of objects(serviceInfo)
Response
application/json
{ "webservice": { "name": "REST webservice", "parameter": {}, "tags": [], "dataSources": [] }, "backendServices": [ {} ] }