Account

get
Authorizations
Responses
200

200 OK

application/json
get
GET /api/account HTTP/1.1
Host: demo.busroot.com
X-API-KEY: YOUR_API_KEY
Accept: */*
{
  "isSuccess": true,
  "result": {
    "id": "text",
    "domain": "text",
    "stationCountLimit": null,
    "electricalPricePerKwh": null,
    "electricalCo2PerKwh": null,
    "currency": null,
    "enableLostProductionCost": null,
    "dashboardConfig": null,
    "redshiftPassword": null,
    "uploadTransforms": null,
    "defaultAutoEndOnQuantityComplete": null,
    "createdAt": null,
    "updatedAt": null,
    "cursors": [
      {
        "type": "text",
        "timestamp": 1,
        "value": "text",
        "valueAgo": "text"
      }
    ],
    "redshiftConfig": {
      "host": "text",
      "port": 1,
      "username": "text"
    }
  }
}
post
Authorizations
Body
enableLostProductionCostbooleanOptionalDefault: false
currencystring,null · enumOptionalPossible values:
electricalPricePerKwhnumber | nullOptional
electricalCo2PerKwhnumber | nullOptional
dashboardConfigstring | nullOptional
resetRedshiftPasswordbooleanOptional
uploadTransformsstringOptional
defaultAutoEndOnQuantityCompletebooleanOptionalDefault: false
Responses
200

200 OK

application/json
post
POST /api/account HTTP/1.1
Host: demo.busroot.com
X-API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 226

{
  "enableLostProductionCost": false,
  "currency": "GBP",
  "electricalPricePerKwh": null,
  "electricalCo2PerKwh": null,
  "dashboardConfig": null,
  "resetRedshiftPassword": true,
  "uploadTransforms": "text",
  "defaultAutoEndOnQuantityComplete": false
}
{
  "isSuccess": true,
  "result": {
    "id": "text",
    "domain": "text",
    "stationCountLimit": null,
    "electricalPricePerKwh": null,
    "electricalCo2PerKwh": null,
    "currency": null,
    "enableLostProductionCost": null,
    "dashboardConfig": null,
    "redshiftPassword": null,
    "uploadTransforms": null,
    "defaultAutoEndOnQuantityComplete": null,
    "createdAt": null,
    "updatedAt": null
  }
}