You can both collect & publish data with use of rest API calls.

IT IS STRONGLY RECOMENDED THAT THE DUTY IS TESTED IN A TEST ENV. BEFORE IMPLEMENTED IN PRODUCTION !

Here is an example on how you can update records in M3

Prerequisite

V 1.23 or higher must be installed

A connection to the grid must be defined.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/0fcd771c-025e-4925-84b9-c02ec223127f/image2018-1-9_13-11-57.png

Define setup in VBU

Define statistics definition

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/aa90ae48-9c8f-4cdc-86fe-7f1c2b8d7c11/image2018-1-9_13-14-23.png

Define duty

Normally you will need at least 3 steps

  1. Get information about records you want to update. Be sure that you only have correct records i
  2. Write result to Butler Database
  3. Update M3 with Rest API

Set up of Rest API within a duty

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/2bb952fa-1521-4b77-816a-f7c3c6172a12/image2018-1-9_13-22-49.png