Changes

Jump to: navigation, search

Creating SmartConnect Functions

No change in size, 20:32, 10 June 2021
No summary
'''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 />
'''Action Type '''  -  Upload Files<br />
'''Field List'''  -  cf_123456
'''
 Mandatory fields''' to upload a file:
 
'''Mandatory fields''' to upload a file:<br />
objectid - is the [wiki/Determining_the_companyid Company ID] where the file is attached to.<br />
fieldid - [wiki/Custom_Field_ID Custom Field ID] of the Organization record that is either a [wiki/Custom_Field_Type:_Upload_-_Single_File_Storage single file type] or [wiki/Custom_Field_Type:_Upload_-_Multiple_Files_Storage multiple file type].
--End custom parameter--
<br />Note: To test use Postman. the  The API URL for upload file will be:
https://alias.smartsimple.com/API/1/company/?alias=xxxxx&companyid=xxxxxx&username=xxxxx&password=xxxxx&apitoken=xxxxx&objectid=xxxxx&fieldid=xxxxx<br />with the file included in the form data, use POST method.
Smartstaff
1,385
edits

Navigation menu