Get a tariff.
The ID of the tariff.
GET //tariff/{tariffId} HTTP/1.1 Host: api.ecosuite.io Accept: */*
Successful operation
{ "tariff": { "assetType": "text", "author": "text", "created": "2025-04-30", "id": "text", "lastUpdated": "2025-04-30", "lastUpdatedBy": "text", "path": "text", "provider": "openei" } }
Delete a tariff.
DELETE //tariff/{tariffId} HTTP/1.1 Host: api.ecosuite.io Accept: */*
{ "deleted": "text" }
List all tariffs.
GET //tariff HTTP/1.1 Host: api.ecosuite.io Accept: */*
{ "tariffs": [ null ] }
Create a new tariff.
openei
ecogyei
POST //tariff HTTP/1.1 Host: api.ecosuite.io Content-Type: application/json Accept: */* Content-Length: 21 { "provider": "openei" }
Update a tariff.
tariff
/
PUT //tariff HTTP/1.1 Host: api.ecosuite.io Content-Type: application/json Accept: */* Content-Length: 21 { "provider": "openei" }