BizTalk Adapter for Dataflex

Build 20.0.7587

Delete Schemas

Executing a Delete Updategram

The AccountId is required for deletes. Delete updategrams have a before block and an empty after block. This declares that the item specified in the before block is to be deleted. If multiple before sections are specified, the adapter will execute the deletes in bulk.

Delete Instance

Below is an instance of a delete request.

<ns0:parameters xmlns:ns0="http://www.cdata.com/CDSProvider/2020">
  <ns0:sync>
    <ns0:before>
      <ns0:Accounts AccountId="'00000000-0000-0000-0000-000000000000'"></ns0:Accounts>
    </ns0:before>
    <ns0:after></ns0:after>
  </ns0:sync>
</ns0:parameters>

Delete Schema

Below is a delete schema. The response contains the number of affected rows.

<?xml version="1.0" encoding="utf-16" ?> 
<xs:schema xmlns:b="http://schemas.microsoft.com/BizTalk/2003" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.cdata.com/CDSProvider/2020" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="parameters">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="sync">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="before">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="Accounts">
                      <xs:complexType>
                        <xs:attribute name="AccountId" type="xs:string" /> 
                        <xs:attribute name="accountid" type="xs:string" /> 
                        <xs:attribute name="Name" type="xs:string" /> 
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>

Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 20.0.7587