3.3.4.96 GetRangeByScopeRecordId

The GetRangeByScopeRecordId operation is used to retrieve the address range, which is mapped to a DHCP scope having the specified record identifier.

 <wsdl:operation name="GetRangeByScopeRecordId">
   <wsdl:input wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/GetRangeByScopeRecordId" message="ipam:IIpamServer_GetRangeByScopeRecordId_InputMessage" />
   <wsdl:output wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/GetRangeByScopeRecordIdResponse" message="ipam:IIpamServer_GetRangeByScopeRecordId_OutputMessage" />
 </wsdl:operation>

Upon receiving the IIpamServer_GetRangeByScopeRecordId_InputMessage request message, the server performs the following processing steps. Upon successful completion of these steps, the server MUST respond with the IIpamServer_GetRangeByScopeRecordId_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. Lookup the ADM_IPRangeTable for the row that has ScopeRecordId value to be GetRangeByScopeRecordId.scopeId.

  2. If the row is found, get the record identifier of the row and get the address range by calling the GetIPRangeFromTable procedure of ADM_IPRangeTable by passing the RecordId of the row as Param_id input parameter and GetRangeByScopeRecordId.addressFamily as the Param_addressfamily input parameter.

  3. Assign the address range present in the result to GetRangeByScopeRecordIdResponse.GetRangeByScopeRecordIdResult.