Changes

Jump to: navigation, search

Creating SmartConnect Functions

105 bytes added, 18:52, 10 September 2018
no edit summary
* '''Record Type''' – a list of all SmartSimple objects within this instance. This will include: Report (reports you have created in the instance), Organization (company records), Users (system users and contacts), and each Universal Tracking Application™ Level 1, Level 2 and Level 3 type that you have created in the instance.
* '''Action Type''' – this defines the action to be taken by the function. The following actions are available:  GET META, UPDATE META, GET, LIST, UPDATE, UPDATE ASSOCIATIONS, LIST ASSOCIATIONS, DOWNLOAD FILE, LIST FILES, SEARCH FILES, LIST NOTES and  VARIABLE REPLACE. Details on these Action Types / Methods are available below.
* '''Field List''' – is used to define which fields are retrievable through the function call.
==Configurations and Responses==
'''Object Type'''  -  Company<br />
'''Action Type '''  -  Get Meta<br />
'''Field List'''  - companies.*<br />
No parameters are needed to retrieve metadata.<br /> 
Available in November 2018 Upgrade<br />
====Get Metadata from Contacts====
<!--63342 - SmartConnect API - metadata option to include Orgs/Contacts-->
'''Object Type'''  -  User<br />
'''Action Type '''  -  Get Meta<br />
'''Field List'''  - contacts.*<br />No parameters are needed to retrieve metadata.<br />Available in November 2018 Upgrade<br />
===Update===
This function will create new records or update existing records based on the selected '''Object Type'''.
filename: Test.txt<br />
objectid: 1688407<br />
fieldid: 1523157<br />
--End custom parameter--<br />
Note: In the API website, the content of the file will be shown in the Response section as seen below.<br />
Smartstaff
1,385
edits

Navigation menu