Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Adds a record to a data set. The data set is defined in the RelatedDataRecord .
Dataset has to be created in "Mapp Engage > Attributes > Related Data".
Make sure the dataset has at least one column.

Example request

Code Block
<soapenv:Envelope 
   xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
   xmlns:ecm="http://ecircle.com/developer/ecmapi">
   <soapenv:Header/>
   <soapenv:Body>
      <ecm:relatedDataCreateRecord>
         <record>
            <datasetName>myproducts</datasetName>
            <key>3</key>
            <!--Zero or more repetitions:-->
            <data>
               <name>id</name>
               <value>3</value>
            </data>
            <data>
               <name>product</name>
               <value>drums</value>
            </data>            
         </record>
      </ecm:relatedDataCreateRecord>
   </soapenv:Body>
</soapenv:Envelope>