Changes

Jump to: navigation, search

Creating SmartConnect Functions

648 bytes added, 14:29, 30 August 2018
no edit summary
This function will retrieve a list of contacts based on criteria specified.
'''Function Name'''  -  3.0203.1.1 List Method Sample 1: Retrieve a list of Contacts<br />
'''Object Type'''  -  User<br />
'''Action Type '''  -  List<br />
'''Field List'''  -  sf_User ID;;sf_First Name;;sf_Address;;sf_Address 2;;sf_City;;sf_Country;;sf_State / Province;;sf_Zip / Postal Code;;
<u>'''Sample 1A'''</u><br/>
To retrieve a list of contacts where the first name begins with "J" and sorted by first name in ascending order<br />
--Begin custom parameter --<br />
[[File:APIFunctionSample5a.PNG|800px]]
<u>'''Sample 1B'''</u><br/>
To retrieve a list of contacts where the first name begins with "S" and the address contains "Peter" and sorted by first name in ascending order<br />
--Begin custom parameter --<br />
=====Retrieve a list of organizations=====
'''Function Name'''  -  x3.03.1.2 List Method Sample 2: Retrieve a list of Organizations<br />'''Object Type'''  -  xCompany<br />'''Action Type '''  -  xList<br />'''Field List'''  -  sf_Company ID;;sf_Name;;sf_Address;;sf_Address 2;;sf_City;;sf_Country;;sf_State / Province;;sf_Zip / Postal Code;;cf_Mission Statement<u>'''Sample sA'''</u><br/>To retrieve a list of organizations with organization name that starts with "BR"  x--Begin custom parameter --<br data-attributes="%20/"> criteria : [{"andor":"and","field":"sf_NAME","operator":"like","value":"BR%"}]<br data-attributes="%20/"> sortby : <br data-attributes="%20/"> getstorevalue :<br data-attributes="%20/"> --End custom parameter-- [[File:APIFunctionSample5c.PNG|800px]]
=====Retrieve a list of claims=====
Smartstaff
1,385
edits

Navigation menu