3.3.4.27 GetBlockById

This operation is used to retrieve the address block with the specified RecordId from the IPAM data store.

 <wsdl:operation name="GetBlockById">
   <wsdl:input wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/GetBlockById" message="ipam:IIpamServer_GetBlockById_InputMessage" />
   <wsdl:output wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/GetBlockByIdResponse" message="ipam:IIpamServer_GetBlockById_OutputMessage" />
 </wsdl:operation>

Upon receiving the IIpamServer_GetBlockById_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_GetBlockById_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. Fetch the IPBlock for the specified RecordId by invoking the procedure GetIPBlockFromTable of ADM_IPBlocksTable by passing GetBlockById.id as Param_blockId and GetBlockById.addressFamily as Param_addressfamily.

  2. Assign the returned result to GetBlockByIdResponse.GetBlockByIdResult.