An API to serve the Provisioning GUI
Create a new box
POST /boxes/create
Replace a box with a new or existing box
POST /boxes/create
Get all assigned boxes for the current user
GET /boxes/all
Get all unassigned boxes for the current user
GET /boxes/all
Get a box by it's id
GET /boxes/{id}
Get all meters for a box
GET /boxes/{id}/meters
Update an existing box
PUT /boxes/{id}
Upgrade the status of a box
PATCH /boxes/{id}/status-upgrade
Update the date of a box configuration
PATCH /boxes/{id}/config-update
Tag a box for re-configuration
PATCH /boxes/{id}/config-start
Delete an existing box
DELETE /boxes/{id}
Get all buildings for the current user
GET /buildings/all
Get a building by it's id
GET /buildings/{id}
Get all boxes for a building
GET /buildings/{id}/boxes
Get all config ports for a building
GET /buildings/{id}/config-ports
Get client for current user
GET /clients
Get all available config port for a user
GET /config-ports/all
Create a measurement
POST /measurements/{id}
Get all assigned measurements for the current user
GET /measurements/all
Get all unassigned measurements for the current user
GET /measurements/stock
Get a measurement by its id
GET /measurements/{id}
Update an existing measurement
PUT /measurements/{id}
Delete a measurement
DELETE /measurements/{id}
Get all models
GET /meter-models/all
Get the number of default measurements for a model
GET /meter-models/{id}/count-default-measurements
Create a new meter
POST /meters/{id}/create
Get all assigned meters for the current user
GET /meters/all
Get all unassigned meters for the current user
GET /meters/stock
Get a meter by it's id
GET /meters/{id}
Get all measurements for a meter
GET /meters/{id}/measurements
Update an existing meter
PUT /meters/{id}
Upgrade the status of a meter
PATCH /meters/{id}/status-upgrade
Delete a meter
DELETE /meters/{id}
Get all model types
GET /model-types/all
Get all OBIS codes
GET /obis-codes/all
Get all statuses
GET /statuses/all
Get all interface types
GET /interface-types/all
Get all units
GET /units/all
Register a new user
POST /users/register
Login to application and receive user object with token
POST /users/login
Login to application using JWT token
POST /users/session