Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

MES Web API V1

Transaction Control

The MES Web API V3 has a transaction endpoint that allows you to manage transaction control independent from the MES middleware. When managing transaction control, the subsequent calls need to be completed before the transaction times out.

To start transaction control, call a POST on:

fullyqualifiedhostname/mesmw/api/v3/transaction

This returns a model with the transaction ID. Other calls that are to be executed within this transaction, which can be MES Web API V1 calls, must pass the transaction ID in the header of the call or as the trans_id parameter.

Once all calls are completed, call a PUT to:

fullyqualifiedhostname/mesmw/api/v3/transaction?action=commit (or abort)

This also requires the transaction ID passed in the header of the call or as the trans_id parameter.

If the transaction times out, a 404 error is returned saying that the transaction ID doesn't exist either because it timed out or was not started.

TitleResults for “How to create a CRG?”Also Available in