Tariff

List all tariffs.

get

List all tariffs.

Responses
200
Successful operation
application/json
get
GET //tariff HTTP/1.1
Host: api.ecosuite.io
Accept: */*
{
  "tariffs": [
    null
  ]
}

Create a new tariff.

post

Create a new tariff.

Body
providerstring · enumRequiredPossible values:
Responses
200
Successful operation
application/json
post
POST //tariff HTTP/1.1
Host: api.ecosuite.io
Content-Type: application/json
Accept: */*
Content-Length: 21

{
  "provider": "openei"
}
{
  "tariff": {
    "assetType": "tariff",
    "author": "text",
    "created": "2025-06-27",
    "id": "text",
    "lastUpdated": "2025-06-27",
    "lastUpdatedBy": "text",
    "path": "/",
    "provider": "openei"
  }
}

Update a tariff.

put

Update a tariff.

Body
assetTypestringRead-onlyOptionalDefault: tariff
authorstringRead-onlyOptional
createdstring · dateRead-onlyOptional
idstringRead-onlyOptional
lastUpdatedstring · dateRead-onlyOptional
lastUpdatedBystringRead-onlyOptional
pathstringRead-onlyOptionalDefault: /
providerstring · enumRequiredPossible values:
Responses
200
Successful operation
application/json
put
PUT //tariff HTTP/1.1
Host: api.ecosuite.io
Content-Type: application/json
Accept: */*
Content-Length: 21

{
  "provider": "openei"
}
{
  "tariff": {
    "assetType": "tariff",
    "author": "text",
    "created": "2025-06-27",
    "id": "text",
    "lastUpdated": "2025-06-27",
    "lastUpdatedBy": "text",
    "path": "/",
    "provider": "openei"
  }
}

Get a tariff.

get

Get a tariff.

Path parameters
tariffIdstringRequired

The ID of the tariff.

Responses
200
Successful operation
application/json
get
GET //tariff/{tariffId} HTTP/1.1
Host: api.ecosuite.io
Accept: */*
{
  "tariff": {
    "assetType": "tariff",
    "author": "text",
    "created": "2025-06-27",
    "id": "text",
    "lastUpdated": "2025-06-27",
    "lastUpdatedBy": "text",
    "path": "/",
    "provider": "openei"
  }
}

Delete a tariff.

delete

Delete a tariff.

Path parameters
tariffIdstringRequired

The ID of the tariff.

Responses
200
Successful operation
application/json
delete
DELETE //tariff/{tariffId} HTTP/1.1
Host: api.ecosuite.io
Accept: */*
{
  "deleted": "text"
}