3.3.4.24 DeleteCustomFieldAssociation

The DeleteCustomFieldAssociation operation deletes an association between two custom fields from the IPAM data store. This operation does not delete the custom fields themselves.

 <wsdl:operation name="DeleteCustomFieldAssociation">
   <wsdl:input wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/DeleteCustomFieldAssociation" message="ipam:IIpamServer_DeleteCustomFieldAssociation_InputMessage" />
   <wsdl:output wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/DeleteCustomFieldAssociationResponse" message="ipam:IIpamServer_DeleteCustomFieldAssociation_OutputMessage" />
 </wsdl:operation> 

Upon receiving the IIpamServer_DeleteCustomFieldAssociation_InputMessage request message, the server performs the following processing steps. Upon successful completion of these steps, the server MUST respond with the IIpamServer_DeleteCustomFieldAssociation_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. If DeleteCustomFieldAssociation.customFieldAssociation is NULL, DeleteCustomFieldAssociation.customFieldAssociation.CustomField1 is NULL, or DeleteCustomFieldAssociation.customFieldAssociation.CustomField2 is NULL, an appropriate SOAP fault MUST be raised.

  2. For each valueAssociation in DeleteCustomFieldAssociation.customFieldAssociation. CustomFieldValueAssociations perform the following.

  3. Delete the row from ADM_MultiValueCustomFieldValueAssociationTable with values as valueAssociation.m_Item1.RecordId, valueAssociation.m_Item2.RecordId. If no rows were found with matching values, an appropriate SOAP fault MUST be sent.