Changes

Jump to: navigation, search

Creating SmartConnect Functions

485 bytes added, 15:44, 6 September 2018
no edit summary
==SmartConnect Function Samples==
Visit the '''[https://api.smartsimple.com/devtools/dev_apiapi.html interactive demonstration page]''' to test the sample functions.
===Get===
====Report Query====
<!--71845 - SmartConnect Function - Report-Query doesn't show the data-->
 
'''Function Name'''  -  3.02.1 Get Report Sample 1: Report Query<br />
'''Description'''  - To retrieve data from a report.<br />
'''objectid''' - is the [[Determining_the_companyid|Company ID]] where the file is attached to.<br/>
'''fieldid''' - [[Custom_Field_ID|Custom Field ID]] of the Organization record that is either a [[Custom_Field_Type:_Upload_-_Single_File_Storage|single file type]] or [[Custom_Field_Type:_Upload_-_Multiple_Files_Storage|multiple file type]].
 
--Begin custom parameter --<br />
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 /> <a href="https://api.smartsimple.com/API/1/report/?url=https://api.smartsimple.com/API/1/report/&companyid=825646&alias=api&username=dataimport@smartsimple.com&password=smartsimple1&apitoken=W0t2dV58fmZGR1lzUmVDc2xibnd8BEdfAgMBAg~~&filename=Test.txt&objectid=1688407&fieldid=1523157">Click here to download the file</a> [[File:APIFunctionDownloadFile1.PNG|800px]]
Smartstaff
1,385
edits

Navigation menu