Batch call method.

It is not uncommon for an application to send requests in series. To optimize the process, use this function to batch call REST methods instead of sending requests one by one.


Parameter Description
halt Determines if the sequence of requests to be aborted in case of an error.
cmd Specifies a standard array of requests. Notice that the request data must be quoted; therefore, the request data inside a request must be quoted again.

Note: Number of batch calls is limited to 50.

The request array can be a simple indexed array or an associative array. The return value of a preceding request may be used in each subsequent request by addressing it in a result array:


where the request ID is the request key in the request array.


XML response:

					<NAME>IT Department</NAME>

See Also

User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix Inc.», 2001-2021, «Bitrix Inc.», 2021