3.3.4.58 GetAllPoliciesFromDB

The GetAllPoliciesFromDB operation is used to get a list of DhcpPolicyV4 from a list of policyIDs.

 <wsdl:operation name="GetAllPoliciesFromDB">
   <wsdl:input wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/GetAllPoliciesFromDB" message="ipam:IIpamServer_GetAllPoliciesFromDB_InputMessage" />
   <wsdl:output wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/GetAllPoliciesFromDBResponse" message="ipam:IIpamServer_GetAllPoliciesFromDB_OutputMessage" />
 </wsdl:operation>

The protocol client sends an IIpamServer_GetAllPoliciesFromDB_InputMessage request. The server then performs the following processing steps. When the operation completes successfully, the protocol server MUST respond with the IIpamServer_GetAllPoliciesFromDB_OutputMessage response. 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 either of the following conditions is not met, an appropriate SOAP fault MUST be generated as specified in section 2.2.2.1:

    • GetAllPoliciesFromDB.policyIds  is not NULL

    • GetAllPoliciesFromDB.policyIds.Count is greater than or equal to 1

  2. The procedure GetPolicyById in ADM_DhcpPolicyTable is called for each policyId in GetPolicyById.policyIds. The returned DhcpPolicyV4 complex type (section 2.2.4.132) from each call is collected and passed in the output message.