Commit 510e0b45 authored by Vikas's avatar Vikas

Added new example

parent 30269b48
<?xml version="1.0"?>
<api method="post">
<create module="Potentials">
<record>
<field name="potentialname" value="@potentialname"></field>
<field name="closingdate" value="@closingdate"></field>
<field name="pipeline" value="Standard"></field>
<field name="related_to" module="Accounts">
<select>
<where>
<field name="accountname" value="@company"></field>
</where>
</select>
<create>
<record>
<field name="accountname" value="@company"></field>
</record>
</create>
</field>
<field name="contact_id" module="Contacts">
<select>
<where>
<field name="email" value="@email"></field>
</where>
</select>
<create>
<record>
<field name="lastname" value="@lastname"></field>
<field name="contacttype" value="Lead"></field>
<field name="account_id" module="Accounts">
<select>
<where>
<field name="accountname" value="@company"></field>
</where>
</select>
</field>
</record>
</create>
</field>
</record>
</create>
</api>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment