Changes

Creating SmartConnect Functions

131 bytes added, 20:38, 30 August 2018
no edit summary
'''Field List'''  - contacts.*<br /> 
No parameters are needed to retrieve metadata.
 
===Update===
====Update====
'''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
'''sf_Category ID List''' - when categories is part [[Client_Categories|Category]] of the design, this custom field is mandatorycompany to be added.<br/>
--Begin custom parameter --<br />
'''Action Type '''  -  Update<br />
'''Field List'''  - sf_User ID;;sf_Last Name;;sf_First Name;;sf_Prefix;;sf_Suffix;;sf_Title;;sf_Phone;;sf_Email;;sf_Company ID;;sf_Title;;sf_Is External;;sf_Role ID List<br /> 
<u>'''Sample 5A2A'''</u><br/>'''Description'''  - Create  To create two new organization user record<br/>'''Mandatory fields''' to add a new recordrecords:<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
'''sf_Role ID List''' - [[Category:Roles|role]] of a user
--Begin custom parameter --<br />
jsonrset : [{"recordid":"0","sf_Parent Company sf_Company ID":"8260821688403","sf_Is External":"1","sf_Namesf_First Name":"Test 1 CompanyJohn","sf_Last Name":"Doe","sf_Role ID List":",14078,"},{"recordid":"0","sf_Countrysf_Company ID":"101688403","sf_Addresssf_Is External":"111 Peter Street1","sf_Citysf_First Name":"TorontoMary","sf_State / Provincesf_Last Name":"ONDoe","cf_EIN Numbersf_Role ID List":"101010101,14078,"}]<br />
--End custom parameter--
[[File:APIFunctionSample6aAPIFunctionSample6d.PNG|800px]]
<u>'''Sample 5B2B'''</u><br/>'''Description'''  - Update  To update last name of existing organization recorduser records<br />'''Mandatory fields''' to update existing recordrecords:<br/>'''recordid''' - is the [[Determining_the_companyidDetermining_the_userid|Company User ID]] of existing organization to updateuser.<br/>
--Begin custom parameter --<br />
jsonrset : [{"recordid":"168840387983424","sf_Namesf_Last Name":"Change Company Last Name thru API"},{"recordid":"88159403","sf_Last Name":"Smith"}]<br />
--End custom parameter--
[[File:APIFunctionSample6bAPIFunctionSample6c.PNG|800px]] 
Smartstaff
1,385
edits