BatchExec

Syntax

BatchExecResult BatchExec(BatchExecArg tArg)

Parameters

tArg. Operation execution parameters.

Description

The BatchExec operation is used for batch execution of other operations.

Comments

This operation enables the user to execute operations at once. The BatchExec operation results in the results of all executed operations. To execute batch operation, in the tArg.its field set a collection of separate operation execution parameters serialized in JSON/XML. The BatchExec operation results in the collection of separate operation execution results also presented as JSON/XML. To further work with the results, deserialize them from JSON/XML. If on executing of any operation an error occurs, error information is displayed instead of the actual result. The mode of operation execution in case of error in a separate operation is determined by the tArg.bIgnoreError field.

Example

To execute the example in C#, two extension procedures are used that enable the user to serialize and deserialize from XML.

Extensions

The example of batch execution of two operations for getting express report metadata. The request contains two operation execution patterns, the response contains two results of operation execution.

SOAP

JSON

C#

See also:

Specific Operations