Changes

Jump to: navigation, search

Creating SmartConnect Functions

469 bytes added, 19:53, 30 August 2018
no edit summary
'''Action Type '''  -  Get Meta<br />
'''Field List'''  - companies.*<br /> 
 
No parameters are needed to retrieve metadata.<br /> 
'''Action Type '''  -  Get Meta<br />
'''Field List'''  - contacts.*<br /> 
 
No parameters are needed to retrieve metadata.
<u>'''Sample 5A'''</u><br/>
'''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<br />
--Begin custom parameter --<br />
jsonrset : [{"recordid":"0","sf_Parent Company ID":"826082","sf_Is External":"1","sf_Name":"Test 1 Company","sf_Country":"10","sf_Address":"111 Peter Street","sf_City":"Toronto","sf_State / Province":"ON","cf_EIN Number":"101010101"}]<br />
--End custom parameter--<br />
[[File:APIFunctionSample6a.PNG|800px]]
<u>'''Sample 5B'''</u><br/>
'''Description'''  - Update existing organization record<br />
'''Mandatory fields''' to update existing record:<br/>
'''recordid''' - is the [[Determining_the_companyid|Company ID]] of existing organization to update.<br/>
--Begin custom parameter --<br />
jsonrset : [{"recordid":"1688403","sf_Name":"Change Company thru API"}]<br />
--End custom parameter--<br />
[[File:APIFunctionSample6b.PNG|800px]]
Smartstaff
1,385
edits

Navigation menu