SOAP Call Write to linked Table | Community
Skip to main content
New Participant
June 18, 2020
Solved

SOAP Call Write to linked Table

  • June 18, 2020
  • 1 reply
  • 1783 views

Hi,

According to the documentation, it must be possible to write to a linked table from the nms: recipient:

https://docs.adobe.com/content/help/en/campaign-classic/using/configuring-campaign-classic/api/data-oriented-apis.html#example-on-links

 

Here in the example I try to create a recipient and at the same time write in the table "Communication data" such as email and telephone number.

The cus:Kommunikationsdaten data is linked to the nms: recipient via the customer number:

 

 <element integrity="neutral" label="Recipient" name="Recipient" revIntegrity="neutral"
revLabel="Kommunikationsdaten" target="nms:recipient" type="link">
<join xpath-dst="@Kundennummer" xpath-src="@Kundennummer"/>
</element>

 

 

Why does it not work with this soap call:

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:xtk:session">
   <soapenv:Header/>
   <soapenv:Body>
      <urn:Write>
         <urn:sessiontoken>XXXX</urn:sessiontoken>
         <urn:domDoc>
           <recipient xtkschema="nms:recipient" firstName="Vorname" lastName="Nachname" birthDate="1985/12/12" folder-id="912971" Kundennummer="L60000" _key="@Kundennummer">
           <Kommunikationsdaten _key="@Kundennummer" Kundennummer="123123" Kommunikationsart="2" Kennung="mail@mail.de" _operation="insertOrUpdate"/>
  </recipient>
         </urn:domDoc>
      </urn:Write>
   </soapenv:Body>
</soapenv:Envelope>
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by isahore

Hi @gunnark17854189,

Check your SOAP request: the Kundennummer value is different in the recipient and KommunikationsDaten elements.

Once same, it should work.

Let me know if that helped.

 

Thanks,

Ishan

1 reply

isahore
isahoreAccepted solution
New Participant
June 18, 2020

Hi @gunnark17854189,

Check your SOAP request: the Kundennummer value is different in the recipient and KommunikationsDaten elements.

Once same, it should work.

Let me know if that helped.

 

Thanks,

Ishan

New Participant
June 19, 2020
Thanks but still the same Problem