Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
api_designer
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vtap
api_designer
Commits
510e0b45
Commit
510e0b45
authored
Feb 14, 2022
by
Vikas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added new example
parent
30269b48
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
0 deletions
+42
-0
Create_Potentials_With_Account_And_Contacts
Create_Potentials_With_Account_And_Contacts
+42
-0
No files found.
Create_Potentials_With_Account_And_Contacts
0 → 100644
View file @
510e0b45
<?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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment