3.3.4.31 GetBlocksByIds

This operation can be used to retrieve the address block data for a specified set of record identifiers.

 <wsdl:operation name="GetBlocksByIds">
   <wsdl:input wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/GetBlocksByIds" message="ipam:IIpamServer_GetBlocksByIds_InputMessage" />
   <wsdl:output wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/GetBlocksByIdsResponse" message="ipam:IIpamServer_GetBlocksByIds_OutputMessage" />
 </wsdl:operation>

Upon receiving the IIpamServer_GetBlocksByIds_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_GetBlocksByIds_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. Initialize GetBlocksByIdsResponse.GetBlocksByIdsResult.

  2. For each of the recordId specified in GetBlocksByIds.ids, perform the following:

    1. Call the procedure GetIPBlockFromTable of ADM_IPBlocksTable by passing the following parameters:

      • Param_blockId is set to recordId

      • Param_addressfamily is set to GetBlocksByIds.addressFamily

    2. If the result is not null, add it to GetBlocksByIdsResponse.GetBlocksByIdsResult.