Changes

Jump to: navigation, search

Creating SmartConnect Functions

969 bytes added, 17:26, 25 April 2019
no edit summary
--End custom parameter--
''Note:'' Please always use ''objectid'' (as per May 2019 update). ''recordid'' still works.
[[File:APIFunctionSample5j.PNG|800px]]
--End custom parameter--
''Note:'' Please always use ''objectid'' (as per May 2019 update). ''recordid'' still works.
[[File:APIFunctionSample5k.PNG|800px]]
<br/>
'''Mandatory fields''' to add new records:<br/>
recordid objectid -  is the [[Determining_the_opportunityid|Opportunity ID]] where the user will be associated to.<br/>contactid - [[Determining_the_userid|User ID]]rolename / roleid -  association role of the user
isupdate -  "1" for yes to update and "0" for to add new record <br/>
Parameter Option#1--Begin custom parameter --<br />jsonrset : [{"objectid":"10697883","contacts":[{"contactid":"3108577","rolename ":"Meeting Participant","isupdate":"0"}]}] <br />--End custom parameter-- Parameter Option#2 - Starting May 2019 Upgrade--Begin custom parameter --<br />jsonrset : [{"objectid":"10697883","contacts":[{"contactid":"3108577","rolename":"Signee Internal"}]}] <br />--End custom parameter--  association role of the user
Parameter Option#3 - adding multiple contacts sample
--Begin custom parameter --<br />
jsonrset : [{"recordidobjectid":"827616510697883","contacts":[{"contactid":"31085773108226","rolename":"Meeting ParticipantSignee Internal"},{"contactid":"3108119","isupdaterolename":"0Meeting Participant"}]}] <br />
--End custom parameter--
[[File:APIFunctionSample6g.PNG|800px]]
 
<u>'''Sample 3B'''</u><br/>
<br />
'''Mandatory fields''' to update records:<br/>
recordid objectid - is the [[Determining_the_opportunityid|Opportunity ID]] where the user will be associated to.<br/>
isupdate -  "1" for yes and "0" for no
contactid - [[Determining_the_userid|User ID]]
associationid - is the system's unique numerical value associated with each Association record
rolename / roleid -[[Determining the roleid|'''Role ID''']]
--Begin custom parameter --<br />
jsonrset : [{"recordidobjectid":"827616510697883","contacts":[{"isupdate":"1","contactid":"310842988435720","rolename":"Signee InternalStaff","isupdateassociationid":"12829620"}]}]<br />
--End custom parameter--
'''Description'''  - To delete existing user associated with an existing Submission Manager Level 1<br/>
'''Mandatory fields'''<br/>
recordid objectid -  is the [[Universal Tracking Application]] Level 1 where the user will be associated with.<br/>
isdelete -  "1" for yes to delete<br/>
rolename / roleid -  association role of the usercontactid - [[Determining_the_userid|User ID]]associationid - is the system's unique numerical value associated with each Association record
--Begin custom parameter --<br />
jsonrset : {"recordidobjectid": "827616510697883", "contacts" : [{"isdelete": "1", "contactid": "31090033108991", "rolename": "Meeting Participant","associationid":"2829623"}]}<br />
--End custom parameter--
Smartstaff
1,385
edits

Navigation menu