3.3.4.2 BulkUpdateBlocks
The BulkUpdateBlocks operation is used to update multiple address blocks.
-
<wsdl:operation name="BulkUpdateBlocks"> <wsdl:input wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/BulkUpdateBlocks" message="ipam:IIpamServer_BulkUpdateBlocks_InputMessage" /> <wsdl:output wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/BulkUpdateBlocksResponse" message="ipam:IIpamServer_BulkUpdateBlocks_OutputMessage" /> </wsdl:operation>
Upon receiving the IIpamServer_BulkUpdateBlocks_InputMessage, the server performs the following processing steps. Upon successful completion of these steps, the server MUST respond with the IIpamServer_BulkUpdateBlocks_OutputMessage. In the event of a failure, an appropriate SOAP fault MUST be sent to the client as specified in section 2.2.2.1:
If BulkUpdateBlocks.blocksToUpdate is either NULL or empty, set BulkUpdateBlocksResponse.BulkUpdateBlocksResult to NULL and send the response message.
Initialize the BulkUpdateBlocksResponse.BulkUpdateBlocksResult to a collection of ArrayOfKeyValuePairOflongIpamExceptionmhTjmZB3 (section 2.2.4.431).
For each IPBlock specified as a part of BulkUpdateBlocks.blocksToUpdate, do the following:
Call the processing steps in UpdateBlock by passing the IPBlock data.
If the processing steps in UpdateBlock result in a fault, add an entry into BulkUpdateBlocksResponse.BulkUpdateBlocksResult having the IPBlock.RecordId as key and the value being IpamException detailing the reason for the fault.