TDoxEXCHANGE


Click here for a complete list of operations.

ImportEvent

Import single event

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /V2_1/TDoxEXCHANGE.asmx HTTP/1.1
Host: exchangedata.mytdox.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://exchangedata-tdox.azurewebsites.net/ImportEvent"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ImportEvent xmlns="https://exchangedata-tdox.azurewebsites.net/">
      <tokenWS>string</tokenWS>
      <evt />
      <categoryListToAssignate>
        <string>string</string>
        <string>string</string>
      </categoryListToAssignate>
      <testMode>boolean</testMode>
      <flagSuppressCheckNameVariables>boolean</flagSuppressCheckNameVariables>
      <flagForceDelete>boolean</flagForceDelete>
      <filterRemover>
        <TimeRange_Filter_Single>
          <Start>dateTime</Start>
          <End>dateTime</End>
          <User>string</User>
          <Model>string</Model>
        </TimeRange_Filter_Single>
        <ListObjects_Filter>
          <List_Objects>
            <ObjectFilter xsi:nil="true" />
            <ObjectFilter xsi:nil="true" />
          </List_Objects>
        </ListObjects_Filter>
        <ForeignKey_Filter>
          <Model>string</Model>
          <ForeignKeyEvents>
            <string>string</string>
            <string>string</string>
          </ForeignKeyEvents>
          <ForeignKeyEventElements>
            <string>string</string>
            <string>string</string>
          </ForeignKeyEventElements>
        </ForeignKey_Filter>
      </filterRemover>
    </ImportEvent>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ImportEventResponse xmlns="https://exchangedata-tdox.azurewebsites.net/">
      <ImportEventResult>
        <PropDDS>string</PropDDS>
        <ErpCode>string</ErpCode>
        <ResultString>string</ResultString>
        <ResultCode>OK or WA or KO</ResultCode>
      </ImportEventResult>
    </ImportEventResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /V2_1/TDoxEXCHANGE.asmx HTTP/1.1
Host: exchangedata.mytdox.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <ImportEvent xmlns="https://exchangedata-tdox.azurewebsites.net/">
      <tokenWS>string</tokenWS>
      <evt />
      <categoryListToAssignate>
        <string>string</string>
        <string>string</string>
      </categoryListToAssignate>
      <testMode>boolean</testMode>
      <flagSuppressCheckNameVariables>boolean</flagSuppressCheckNameVariables>
      <flagForceDelete>boolean</flagForceDelete>
      <filterRemover>
        <TimeRange_Filter_Single>
          <Start>dateTime</Start>
          <End>dateTime</End>
          <User>string</User>
          <Model>string</Model>
        </TimeRange_Filter_Single>
        <ListObjects_Filter>
          <List_Objects>
            <ObjectFilter xsi:nil="true" />
            <ObjectFilter xsi:nil="true" />
          </List_Objects>
        </ListObjects_Filter>
        <ForeignKey_Filter>
          <Model>string</Model>
          <ForeignKeyEvents>
            <string>string</string>
            <string>string</string>
          </ForeignKeyEvents>
          <ForeignKeyEventElements>
            <string>string</string>
            <string>string</string>
          </ForeignKeyEventElements>
        </ForeignKey_Filter>
      </filterRemover>
    </ImportEvent>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <ImportEventResponse xmlns="https://exchangedata-tdox.azurewebsites.net/">
      <ImportEventResult>
        <PropDDS>string</PropDDS>
        <ErpCode>string</ErpCode>
        <ResultString>string</ResultString>
        <ResultCode>OK or WA or KO</ResultCode>
      </ImportEventResult>
    </ImportEventResponse>
  </soap12:Body>
</soap12:Envelope>