Support for RestApi v2

RestApi v2 enables bulking of transactions, i.e. the option to trigger several transactions within a single REST call. The default batch size in VXL is 80. This means that instead sending x number of separate transactions one-by-one, bulking enables the possibility to group transaction according to the to the batch size. This makes execution more efficient since the same running program instance will perform all transactions without the need to potentially start a new job for every single one.

Example:

These 320 transactions are group according to the batch size of 80, i.e. 320/80 = 4 batches are sent which are proceeded by M3.

Please note:

In the VXL client under Settings > Functions it is possible to override the default batch size.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/d8c30035-8f06-409d-a691-7e978620ec78/image-20200522-094023.png

To activate RestApi v2 for an M3 CE environment please follow these steps:

Locate the M3 Environment and click the Edit-button:

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/6cc417b3-83ba-44e4-8d43-2395d127d1e0/image-20200525-144143.png

Go the API URL and change it from /m3api-rest/execute/ to /m3api-rest/v2/execute/

Before:

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/cf86cee0-9947-483b-bad3-bdee840ed3a1/image-20200525-145306.png

After:

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/0258f7ca-9438-40b1-8ffe-6c5dab61bcdd/image-20200525-145319.png