Page 69/95
21January2021/Version 0
LEM International SA
Chemin des Aulx 8
1228 PLAN-LES-OUATES Switzerland
www.lem.com
7. Software concepts
7.1. Interfaces
Ethernet is the communication channel for the DCBM. It supports HTTP/REST communication to
receive requests and provide measurements and other data.
The REST-compatible API is an application programming interface that uses HTTP requests to
obtain (GET), place (PUT) and publish (POST) data.
A RESTful API conforms to the Representational State Transfer or "REST" model.
This interface is using JSON format for the data payload.
URI with default IP
Methods
Description
192.168.1.2/v1/
status
GET
Status of the DCBM
192.168.1.2/v1/
settings
GET, PUT
Settings of the DCBM
192.168.1.2/v1/
logbook
GET
Event logger of the DCBM
192.168.1.2/v1/
livemeasure
GET
Live measurements
192.168.1.2/v1/
legal
GET, PUT, POST
Transaction management (start & stop) and
transaction data structure, current or stored,
in LEM proprietary format
192.168.1.2/v1/
ocmf
GET
Transaction data structure, current or
stored, in certified, billable, OCMF-
compliant format
192.168.1.2/v1/
certificate
GET
HTTPS certificate of the DCBM
Table 5: REST API access and associated HTTP methods
The optical communication channel in the DCBM is disabled in the current
version.
I
i