[[File:APIFunctionSample6a.PNG|800px]]
<u>'''<span class="single_linebreak" style="background-color: lightgray;">¶</u>Sample 1B'''</spanu> Sample 1B<br/>
'''Description''' - Update existing organization record<br />
'''Mandatory fields''' to update existing record:<br/>
'''Object Type''' - User<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 2A1C'''</u><br/>
'''Description''' - To create two new user record<br/>
'''Mandatory fields''' to add new records:<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<br/>
--Begin custom parameter --<br />
[[File:APIFunctionSample6d.PNG|800px]]
<u>'''Sample 2B1D'''</u><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.<br/>
--Begin custom parameter --<br />
====Update Multiple Addresses====
=====Update/create multiple address record of an Organization=====
'''Function Name''' - 3.05.2.1 Update Multiple Addresses Method Sample 1: update addresses of an existing Organization<br />
'''Description''' - Create new records or update existing multiple addresses of an existing organization<br />
'''Object Type''' - Company<br />
'''Action Type ''' - Update Multiple Addresses<br />
'''Field List''' - sf_Address;;sf_Address 2;;sf_City;;sf_State / Province;;sf_Country;;sf_Zip / Postal Code;;sf_Primary Address;;sf_Type;;sf_Type ID;;sf_Updated By;;sf_Last Modified;;sf_Object ID<br/>
<u>'''Sample 2A'''</u><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 company where the address will be attached to.<br/>
'''sf_Type ID''' - multiple address type <br/>
--Begin custom parameter --<br />
jsonrset : [{"recordid":"0","sf_Object ID":"1688407","sf_Type ID":"74117","sf_Address":"2018 Yonge Street","sf_Country":"10","sf_Address 2":"Suite 401111","sf_City":"Toronto","sf_State / Province":"ON"}] <br />
--End custom parameter--
[[File:APIFunctionSample6e.PNG|800px]]
<u>'''Sample 2B'''</u><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 />
jsonrset : [{"recordid":"632573","sf_Address":"New Street Address","sf_City":"New City"}]<br />
--End custom parameter--
[[File:APIFunctionSample6f.PNG|800px]]
====Update Associations====
=====Create/Update contact associations of a Level 1=====