Changes

Jump to: navigation, search

Creating SmartConnect Functions

1,270 bytes added, 20:21, 10 June 2021
No summary
'''Field List'''  - companies.*
No parameters are needed to retrieve metadata.
 
[[File:APIFunctionGetOrgMeta.PNG|800px]]
No parameters are needed to retrieve metadata.
[[File:APIFunctionGetUserMeta.PNG|800px]]
 
===Report===
This function will retrieve the results of the query from an existing report by using the [[Determining_the_reportid|'''reportid''']].
[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]]
=== ===
====<span id="Download_File.28s.29_from_a_company_profile" class="mw-headline">Upload File(s) to a company profile</span>====
'''Function Name'''  -  3.06.2 Upload File Method Sample 1: Upload file(s) to an existing company record<br />'''Description'''  - Upload the file based on the criteria indicated.<br />'''Object Type'''  -  Company<br />'''Action Type '''  -  Upload Files<br />'''Field List'''  - '''Mandatory fields''' to upload a file:<br />filename - name of the file to be uploaded.<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].
 
--Begin custom parameter --<br />objectid: 1688407<br />fieldid: 1523157<br />--End custom parameter--
 
<br />Note: To test use Postman. 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.
 
=== ===
===Search File===
This function will retrieve a list of files by searching for a keyword.
Smartstaff
1,385
edits

Navigation menu