OData batch message contains too many parts - HxGN SDx - Update 63 - Administration & Configuration - Hexagon

HxGN SDx API Services Configuration

Language
English
Product
HxGN SDx
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10

Problem

When you try to insert more than 100 query operations in a batch, the server responds with the following exception message:

The current batch message contains too many parts. A maximum number of '100' query operations and '1000' change sets are allowed in a batch message.

Solution

The default values have been set in Server Manager for OData batch operations using the property settings, APIServicesMaxPartsPerBatch and APIServicesMaxOperationsPerChangeset. You can override the default values to optimize the processing capability of batch operations to match your systems performance. For more information, see Optimize OData batch operations.