Developers: API

API Mapping

At Greenlit we use mapping to take extensive raw emission factors, and then map them into a structure that is more applicable to the application.This means that when you setup an App with us, you can
Read more

API Responses

Specific responses for each function can be found in the associated function's documentation.The below links assist in understanding the components of a record response:The fields of a recordThe
Read more

API Response: Simple Lookups

The majority of lookup returned in a response are simple lookups, in that they are an ID as a key, and a value / description as the associated value within the array.Here is an example:"lookups":
Read more

API Response: Map Record

A map_record is a effectively an emissions factor. It is the emissions factor information and the mapping link data combined for your App. The map_used by your App can be found by using
Read more

API Function: app_details

The app_details function retrieves information about what permissions your App has within the API. This is useful for checking whether functions are available along with your write/view permissions
Read more

API Function: read

The read function retrieves the information for an emission record in Greenlit that has been created by your App. See record fields for more information on the fields returned.Example JSON request
Read more

API Function: delete

The delete function removes an emission record from Greenlit that has been created by your App.Example JSON request for this function:{     "action": "delete", // string    
Read more

API Function: update

The update function updates an emission record in Greenlit that has been created by your App. See record fields for more information on the fields both required and returned. Required fields for
Read more

API Function: create

The create function creates a new emission record in Greenlit. See record fields for more information on the fields both required and returned.Required fields for each record are: map_record,
Read more

No luck what you're looking for?

Let us know details about your question. We'll get back to you!