3.3.4.1 BulkUpdateBlocks

This 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 request message, the server performs the following processing steps. Upon successful completion of the steps specified below, the server MUST respond with the IIpamServer_BulkUpdateBlocks_OutputMessage message.In the event of a failure, an appropriate SOAP fault MUST be sent to the client as specified in section 2.2.2.1.

  1. If BulkUpdateBlocks.blocksToUpdate is either null or empty, set BulkUpdateBlocksResponse.BulkUpdateBlocksResult to null and send the response message.

  2. Initialize the BulkUpdateBlocksResponse.BulkUpdateBlocksResult to a collection of ArrayOfKeyValuePairOflongIpamExceptionmhTjmZB3.

  3. For each of the IPBlock specified as a part of BulkUpdateBlocks.blocksToUpdate perform the following steps:

    1. Call the processing steps in UpdateBlock by passing the IPBlock data.

    2. 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.