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

SOLVED

SOAP Call Write to linked Table

gunnark17854189
Level 2
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
isahore
Correct answer by
Level 3
Level 3

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
isahore
Correct answer by
Level 3
Level 3

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

isahore
Level 3
Level 3

Hi @gunnark17854189,

Can you share the updated request now?

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