Changes

Creating SmartConnect Functions

135 bytes removed, 17:43, 6 September 2018
no edit summary
'''Description'''  - Create new organization record<br/>
'''Mandatory fields''' to add a new record:<br/>
'''recordid''' -  to create new record, recordid should be '0'<br/>'''sf_Parent Company ID''' -  is the company holder or the parent company for the organization to be added.<br/>'''sf_Is External''' -  either "1" for external and "0" for internal organization
'''Description'''  - Update existing organization record<br />
'''Mandatory fields''' to update existing record:<br/>
'''recordid''' - is the [[Determining_the_companyid|Company ID]] an of existing organization to update.<br/>
--Begin custom parameter --<br />
jsonrset : [{"recordid":"1688403","sf_Name":"Change Company thru API"}]<br />
'''Description'''  - To create two new user record<br/>
'''Mandatory fields''' to add new records:<br/>
'''recordid''' -  to create new record, recordid should be '0'<br/>'''sf_Parent Company ID''' -  is the company holder or the parent company for the organization to be added.<br/>'''sf_Is External''' -  either "1" for external and "0" for internal organization<br/>'''sf_Role ID List''' - [[Category:Roles|role]] of a user
--Begin custom parameter --<br />
'''Description'''  - To update last name of existing user records<br />
'''Mandatory fields''' to update records:<br/>
'''recordid''' - is the [[Determining_the_userid|User ID]] of existing user.
--Begin custom parameter --<br />
'''Description'''  - To create new multiple address for an existing company<br/>
'''Mandatory fields''' to add new records:<br/>
'''recordid''' -  to create new record, recordid should be '0'<br/>'''sf_Object ID''' -  is the [[Determining_the_companyid|Company ID]] where the address will be attached to.<br/>'''sf_Type ID''' -  multiple address type
--Begin custom parameter --<br />
'''Description'''  - To update address of existing multiple address record<br />
'''Mandatory fields''' to update records:<br/>
'''recordid''' - is the unique identifier from the Association table.
--Begin custom parameter --<br />
'''Description'''  - To create new user associated with an existing Submission Manager Level 1<br/>
'''Mandatory fields''' to add new records:<br/>
'''recordid''' -  is the [[Determining_the_companyid|Company ID]] where the user will be associated to.<br/>'''isupdate''' -  "1" for yes to update and "0" for to add new record <br/>'''rolename''' -  association role of the user
--Begin custom parameter --<br />
'''Description'''  - To update association information of an existing Submission Manager Level 1 record<br />
'''Mandatory fields''' to update records:<br/>
'''recordid''' - is the [[Determining_the_companyid|Company ID]] where the user will be associated to.<br/>'''isupdate''' -  "1" for yes and "0" for no
--Begin custom parameter --<br />
'''Action Type '''  -  Download File<br />
'''Field List'''  -
 
'''Mandatory fields''' to download a file:<br/>
'''filename''' - name of the file to be downloaded.<br/>'''objectid''' - is the [[Determining_the_companyid|Company ID]] where the file is attached to.<br/>'''fieldid''' - [[Custom_Field_ID|Custom Field ID]] of the Organization record that is either a [[Custom_Field_Type:_Upload_-_Single_File_Storage|single file type]] or [[Custom_Field_Type:_Upload_-_Multiple_Files_Storage|multiple file type]].  
--Begin custom parameter --<br />
filename: Test.txt<br />
--Begin custom parameter --<br />
recordid: 3601<br />
--End custom parameter--<br />
[[File:APIFunctionSystemVariables2.PNG|800px]]
--Begin custom parameter --<br />
jsonrset : [{"recordid":"9313","sf_Value":"2"}]<br />
--End custom parameter--<br />
[[File:APIFunctionSystemVariables3.PNG|800px]]
Smartstaff
1,385
edits