3.3.4.53 GetScopesByIds

This operation can be used to retrieve the DhcpScope data for the multiple record identifiers specified in the IPAM data store.

 <wsdl:operation name="GetScopesByIds">
       <wsdl:input wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/GetScopesByIds" message="ipam:IIpamServer_GetScopesByIds_InputMessage" />
       <wsdl:output wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/GetScopesByIdsResponse" message="ipam:IIpamServer_GetScopesByIds_OutputMessage" />
 </wsdl:operation>

Upon receiving the IIpamServer_GetScopesByIds_InputMessage request message, the server performs the following processing steps.

  1. For each id in GetScopesByIds.ids:

    1. Call the procedure GetScopeFromTable in ADM_DHCPScopesTable passing id as Param_id and GetScopesByIds.addressFamily as Param_addressfamily. If the Result_scope is returned, add it to GetScopesByIdsResponse.GetScopesByIdsResult with the key being the id and the Result_scope being the value.

Upon successful completion of the steps specified above, the server MUST respond with the IIpamServer_GetScopesByIds_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.