Changes

Jump to: navigation, search

Creating SmartConnect Functions

3 bytes added, 13:51, 15 October 2018
no edit summary
'''Sending API requests request using cURL'''<br/>
cURL command below is an example on how to send API request to ''Get Metadata of a Universal Tracking Application'' using [https://curl.haxx.se/ cURL].
'''Action Type '''  -  Download File<br />
'''Field List'''  -
 
'''Mandatory fields''' to download a file:<br/>
filename - name of the file to be downloaded.<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 />
[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]
[[File:APIFunctionDownloadFile1.PNG|800px]]
 
===Search File===
This function will retrieve a list of files by searching for a keyword.
Smartstaff
1,385
edits

Navigation menu