Download OpenAPI specification:Download
Login to request api token.
username required | string |
password required | string |
{- "username": "string",
- "password": "string"
}
{- "access_token": "string",
- "token_type": "bearer",
- "refresh_token": "string",
- "expires_in": 0,
- "scope": "string"
}
Add a new category.
category required | string (CategoryName) ^[A-Za-z0-9-_\.:]+$ Category name. |
name required | string (CategoryName) ^[A-Za-z0-9-_\.:]+$ Category name. |
description | string The human readable description of your category. |
unit | string The physical measurment unit. |
fractionalDigits | number Default: 2 decimal precission. |
order | number sorting order higher number come first. |
{- "name": "EV",
- "description": "mains power",
- "unit": "m3",
- "fractionalDigits": 3,
- "order": 1
}
{- "message": "string"
}
Update a category.
category required | string (CategoryName) ^[A-Za-z0-9-_\.:]+$ Category name. |
name required | string (CategoryName) ^[A-Za-z0-9-_\.:]+$ Category name. |
description | string The human readable description of your category. |
unit | string The physical measurment unit. |
fractionalDigits | number Default: 2 decimal precission. |
order | number sorting order higher number come first. |
{- "name": "EV",
- "description": "mains power",
- "unit": "m3",
- "fractionalDigits": 3,
- "order": 1
}
{- "message": "string"
}
List values of a category.
category required | string (CategoryName) ^[A-Za-z0-9-_\.:]+$ Category name. |
limit | integer Limits the number of entries delivered. |
reverse | boolean Reverses the order in which the entries are delivered. |
[- {
- "date": "2019-08-24T14:15:22Z",
- "value": 0
}
]
One value of a category.
category required | string (CategoryName) ^[A-Za-z0-9-_\.:]+$ Category name. |
date required | string <date-time> (Date) Date time |
limit | integer Limits the number of entries delivered. |
reverse | boolean Reverses the order in which the entries are delivered. |
{- "date": "2019-08-24T14:15:22Z",
- "value": 0
}
Insert a value into a category.
category required | string (CategoryName) ^[A-Za-z0-9-_\.:]+$ Category name. |
date required | string <date-time> (Date) Date time |
limit | integer Limits the number of entries delivered. |
reverse | boolean Reverses the order in which the entries are delivered. |
date required | string <date-time> date + time when the value was present |
value required | number physical value on the meter |
{- "date": "2019-08-24T14:15:22Z",
- "value": 0
}
Delete a value from a category.
category required | string (CategoryName) ^[A-Za-z0-9-_\.:]+$ Category name. |
date required | string <date-time> (Date) Date time |
limit | integer Limits the number of entries delivered. |
reverse | boolean Reverses the order in which the entries are delivered. |
List values of a meter.
category required | string (CategoryName) ^[A-Za-z0-9-_\.:]+$ Category name. |
meter required | string (MeterName) ^[A-Za-z0-9-_\.:]+$ Meter name. |
limit | integer Limits the number of entries delivered. |
reverse | boolean Reverses the order in which the entries are delivered. |
[- {
- "date": "2019-08-24T14:15:22Z",
- "value": 0
}
]
One value of a meter.
category required | string (CategoryName) ^[A-Za-z0-9-_\.:]+$ Category name. |
meter required | string (MeterName) ^[A-Za-z0-9-_\.:]+$ Meter name. |
date required | string <date-time> (Date) Date time |
limit | integer Limits the number of entries delivered. |
reverse | boolean Reverses the order in which the entries are delivered. |
{- "date": "2019-08-24T14:15:22Z",
- "value": 0
}
Insert a value into a meter.
category required | string (CategoryName) ^[A-Za-z0-9-_\.:]+$ Category name. |
meter required | string (MeterName) ^[A-Za-z0-9-_\.:]+$ Meter name. |
date required | string <date-time> (Date) Date time |
limit | integer Limits the number of entries delivered. |
reverse | boolean Reverses the order in which the entries are delivered. |
date required | string <date-time> date + time when the value was present |
value required | number physical value on the meter |
{- "date": "2019-08-24T14:15:22Z",
- "value": 0
}
Delete a value from a meter.
category required | string (CategoryName) ^[A-Za-z0-9-_\.:]+$ Category name. |
meter required | string (MeterName) ^[A-Za-z0-9-_\.:]+$ Meter name. |
date required | string <date-time> (Date) Date time |
limit | integer Limits the number of entries delivered. |
reverse | boolean Reverses the order in which the entries are delivered. |
One note of a category.
category required | string (CategoryName) ^[A-Za-z0-9-_\.:]+$ Category name. |
note required | string (NoteName) ^[A-Za-z0-9-_\.:]+$ Note identifier. |
{- "name": "2011-10-05T14:48:00.000Z",
- "description": "power outage"
}
add a note to a meter.
category required | string (CategoryName) ^[A-Za-z0-9-_\.:]+$ Category name. |
note required | string (NoteName) ^[A-Za-z0-9-_\.:]+$ Note identifier. |
name required | string (NoteName) ^[A-Za-z0-9-_\.:]+$ Note identifier. |
description | string The human readable description of your category. |
{- "name": "2011-10-05T14:48:00.000Z",
- "description": "power outage"
}
Update a note.
category required | string (CategoryName) ^[A-Za-z0-9-_\.:]+$ Category name. |
note required | string (NoteName) ^[A-Za-z0-9-_\.:]+$ Note identifier. |
name required | string (NoteName) ^[A-Za-z0-9-_\.:]+$ Note identifier. |
description | string The human readable description of your category. |
{- "name": "2011-10-05T14:48:00.000Z",
- "description": "power outage"
}
List notes of a meter.
category required | string (CategoryName) ^[A-Za-z0-9-_\.:]+$ Category name. |
meter required | string (MeterName) ^[A-Za-z0-9-_\.:]+$ Meter name. |
[- {
- "name": "2011-10-05T14:48:00.000Z",
- "description": "power outage"
}
]
Add a note to a meter.
category required | string (CategoryName) ^[A-Za-z0-9-_\.:]+$ Category name. |
meter required | string (MeterName) ^[A-Za-z0-9-_\.:]+$ Meter name. |
note required | string (NoteName) ^[A-Za-z0-9-_\.:]+$ Note identifier. |
name required | string (NoteName) ^[A-Za-z0-9-_\.:]+$ Note identifier. |
description | string The human readable description of your category. |
{- "name": "2011-10-05T14:48:00.000Z",
- "description": "power outage"
}
Update a note.
category required | string (CategoryName) ^[A-Za-z0-9-_\.:]+$ Category name. |
meter required | string (MeterName) ^[A-Za-z0-9-_\.:]+$ Meter name. |
note required | string (NoteName) ^[A-Za-z0-9-_\.:]+$ Note identifier. |
name required | string (NoteName) ^[A-Za-z0-9-_\.:]+$ Note identifier. |
description | string The human readable description of your category. |
{- "name": "2011-10-05T14:48:00.000Z",
- "description": "power outage"
}
List meters of a category.
category required | string (CategoryName) ^[A-Za-z0-9-_\.:]+$ Category name. |
[- {
- "name": "EV-2020",
- "serial": "123",
- "validFrom": "2011-10-05T14:48:00.000Z",
- "description": "new meter from utility provider"
}
]
Add a meter to a category.
category required | string (CategoryName) ^[A-Za-z0-9-_\.:]+$ Category name. |
meter required | string (MeterName) ^[A-Za-z0-9-_\.:]+$ Meter name. |
name required | string (MeterName) ^[A-Za-z0-9-_\.:]+$ Meter name. |
description | string The human readable description of your meter. |
unit | string The physical measurment unit. |
fractionalDigits | number Default: 2 decimal precission. |
serial | string The serial number of the meter. |
validFrom | string <date-time> date + time when this meter becomes valid. |
{- "name": "EV-2020",
- "serial": "123",
- "validFrom": "2011-10-05T14:48:00.000Z",
- "description": "new meter from utility provider"
}
Update a meter.
category required | string (CategoryName) ^[A-Za-z0-9-_\.:]+$ Category name. |
meter required | string (MeterName) ^[A-Za-z0-9-_\.:]+$ Meter name. |
name required | string (MeterName) ^[A-Za-z0-9-_\.:]+$ Meter name. |
description | string The human readable description of your meter. |
unit | string The physical measurment unit. |
fractionalDigits | number Default: 2 decimal precission. |
serial | string The serial number of the meter. |
validFrom | string <date-time> date + time when this meter becomes valid. |
{- "name": "EV-2020",
- "serial": "123",
- "validFrom": "2011-10-05T14:48:00.000Z",
- "description": "new meter from utility provider"
}