Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

The 4th edition of the Campaign Community Lens newsletter is out now!
SOLVED

SOAP Call Write to linked Table

Avatar

Level 2

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>
1 Accepted Solution

Avatar

Correct answer by
Level 4

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

View solution in original post

3 Replies

Avatar

Correct answer by
Level 4

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

Avatar

Level 4

Hi @gunnark17854189,

Can you share the updated request now?

Are you share there is no other link between the two schemas?