List all tariffs.
/tariff
curl -L \ --url 'https://api.ecosuite.io//tariff'
{ "tariffs": [ null ] }
Create a new tariff.
curl -L \ --request POST \ --url 'https://api.ecosuite.io//tariff' \ --header 'Content-Type: application/json' \ --data '{"provider":"openei"}'
{ "tariff": { "assetType": "tariff", "author": "text", "created": "2025-02-24", "id": "text", "lastUpdated": "2025-02-24", "lastUpdatedBy": "text", "path": "/", "provider": "openei" } }
Update a tariff.
curl -L \ --request PUT \ --url 'https://api.ecosuite.io//tariff' \ --header 'Content-Type: application/json' \ --data '{"assetType":"tariff","path":"/","provider":"openei"}'
Get a tariff.
/tariff/{tariffId}
The ID of the tariff.
curl -L \ --url 'https://api.ecosuite.io//tariff/{tariffId}'
Delete a tariff.
curl -L \ --request DELETE \ --url 'https://api.ecosuite.io//tariff/{tariffId}'
{ "deleted": "text" }