SOAP Call Write to linked Table

gunnark17854189

18-06-2020

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-...

 

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>

Accepted Solutions (1)

Accepted Solutions (1)

isahore

18-06-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

Answers (0)