API Documentation
  • API Documentation
  • Ecosuite Project Data API
    • Authentication
    • OpenAPI reference
      • Events
        • Resolve
      • Feedback
      • Profile
      • Portfolios
      • Projects
        • Contacts
        • Pro forma
          • Versions
        • I2x
        • Records
        • Sites
          • Records
          • Systems
            • Records
        • Record documents
      • Record documents
      • Records
        • Record documents
      • Service requests
        • Generate
        • Resolve
      • Tariff
      • User groups
      • Users
        • Alerts
        • Groups
          • Reset
        • Mfa
        • Notifications
        • Resend
      • User types
      • Audit
        • Assets
        • Projects
        • Users
      • Coda
        • Milestones
        • Import
      • Connectivity
        • Data
        • Devices
      • Dashboard
        • Status
      • Energy
        • Datums
          • Most recent
          • Projects
          • Consumption
            • Cost
              • Projects
            • Predicted
              • Projects
            • Projects
          • Cumulative
            • Projects
          • Generation
            • Expected
            • Predicted
              • Projects
          • Nodes
            • Projects
        • Export
        • Instantaneous
        • Readings
        • Status
      • Finance
        • Cashflow totals
        • Report
        • Transactions
        • Sources uses
          • Sources uses
        • Export
          • Report
        • Projects
          • Billing
          • CashFlowTimeSeriesArrears
          • Categories
          • Irr categories
          • Report
          • Settings
          • Sources uses
          • Import
          • Cash flows
            • Payment logs
          • Pro forma
            • Irr
        • Record
          • Payments
        • Softledger
          • Locations
      • Media
        • Files
        • Tags
          • Storage
            • Code
            • Labels
          • Default
        • Storage
          • File
          • Code
      • Public
        • Projects
        • Energy
          • Datums
            • Projects
          • Readings
            • Projects
      • Schemas
        • Rfi
        • RfiReply
        • Dr event
        • Dr notification
        • Event
        • Participant
        • Finance
        • Notification
        • Portfolio
        • Pro forma
        • Profile
        • Project
        • Record
        • Service request
        • Site
        • System
        • User
        • User type
        • User groups
        • New tariff
        • Tariff
      • Rfi
        • Thread
          • Code
          • Resolve
          • Version
          • Replies
        • Reply
          • Version
      • Search
        • Refinements
      • Solarnetwork
        • Devices
        • Instruction
        • Nodes
        • Ssh
        • Credentials
          • Solarflux
          • Solarnode
          • Ssh
        • Metadata
          • Projects
        • Settings
          • Node ids
        • Solarnode
          • Login url
      • Tools
        • Address business details
      • Dr
        • Participants
        • Dr events
        • Dr notifications
      • Report
        • Operating
          • Project
      • Weather
        • Datums
          • Projects
        • Daylight
          • Projects
            • Sites
        • Projects
          • Sites
    • OpenAPI Specification
  • Ecosuite Time Series Data API
Powered by GitBook
On this page
  1. Ecosuite Project Data API
  2. OpenAPI reference

Tariff

PreviousResolveNextUser groups

Get a tariff.

get

Get a tariff.

Path parameters
tariffIdstringRequired

The ID of the tariff.

Responses
200
Successful operation
application/json
400
Invalid status value
application/json
get
GET //tariff/{tariffId} HTTP/1.1
Host: api.ecosuite.io
Accept: */*
{
  "tariff": {
    "assetType": "tariff",
    "author": "text",
    "created": "2025-06-16",
    "id": "text",
    "lastUpdated": "2025-06-16",
    "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
400
Invalid status value
application/json
delete
DELETE //tariff/{tariffId} HTTP/1.1
Host: api.ecosuite.io
Accept: */*
{
  "deleted": "text"
}
  • GETList all tariffs.
  • POSTCreate a new tariff.
  • PUTUpdate a tariff.
  • GETGet a tariff.
  • DELETEDelete a tariff.

List all tariffs.

get

List all tariffs.

Responses
200
Successful operation
application/json
400
Invalid status value
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
400
Invalid status value
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-16",
    "id": "text",
    "lastUpdated": "2025-06-16",
    "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
400
Invalid status value
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-16",
    "id": "text",
    "lastUpdated": "2025-06-16",
    "lastUpdatedBy": "text",
    "path": "/",
    "provider": "openei"
  }
}