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
BedrockMission!

Learn More

View all

Sign in to view all badges

SOAP Call Write to linked Table

Avatar

Avatar
Validate 1
Level 1
gunnark17854189
Level 1

Like

1 like

Total Posts

13 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
gunnark17854189
Level 1

Like

1 like

Total Posts

13 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
gunnark17854189
Level 1

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)

Avatar

Avatar
Boost 5
Level 2
isahore
Level 2

Likes

8 likes

Total Posts

36 posts

Correct Reply

11 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile

Avatar
Boost 5
Level 2
isahore
Level 2

Likes

8 likes

Total Posts

36 posts

Correct Reply

11 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile
isahore
Level 2

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)