Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • A comment so humans can identify the mappings.
  • A filter part to select telegrams that the mapping shall be applied to. The mapping is applied if all filters match true.
  • A object "heat" or "water" defining which values of the telegram shall be mapped in to which Field of a Domain Model output.


API Endpoint

  • curl Example: (With mapping from: domainMappings.json File)
  • Method: POST
  • Path: /api/meterData
  • URL Params:
    • raw: Raw OMS/WMBUS Telegram in Hex:

...

    • e.g. 44442d2c0198508035048d20aac070c420dd3d967a564c53dfe4dedfbc45e8d41912db6c0973921bef3c2d5dc8d3b6fe01cc272258cd728f825a2d2e76b256fd722680

...

    • key: decryption key as Hex String

...

    • e.g. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  • Body: Type: application/json with a Mapping Configuration as described on this Page.

...


Curl Example:Endpoint: POST https://platform.lobaro.com/api/meterData

Code Block
titlecurl
curl -X 'POST' \  'localhost:8082https://platform.lobaro.com/api/meterData?raw=44442d2c0198508035048d20aac070c420dd3d967a564c53dfe4dedfbc45e8d41912db6c0973921bef3c2d5dc8d3b6fe01cc272258cd728f825a2d2e76b256fd722680&key=7ADA08C8C89C7D21EAEE6F662BF0A6ED' \
-H 'accept: \ application/json' -H 'Authorization: Bearer eyJh[...]' -H "Content-Type: application/json" -d @domainMappings.json 

...