Changes

Jump to: navigation, search

Creating SmartConnect Functions

1,569 bytes added, 16:14, 26 April 2019
no edit summary
====Get System Variables====
=====Retrieve a System Variable Record=====
'''Function Name'''  -  3.03.5.1 System Variables Sample 1: Get<br />
'''Description'''  - Get information on the [[System_Variables|system variables]] by searching the System Variable ID<br />
'''Object Type'''  -  System Variables<br />
recordid: 3601<br />
--End custom parameter--
 
[[File:APIFunctionSystemVariables2.PNG|800px]]
 
'''Object Type'''  -  Company<br />
'''Action Type '''  - Delete<br />
'''Field List'''  -  <br />
--Begin custom parameter --<br />
===Transaction===
<!--72195 - SmartConnect Function on Transaction Applied to prod for May 2019 Upgrade-->Transaction should be [[Category:Transactions | configured]] before using this API function. Transactions can be attached to an object (Organization or User or UTA L1/L2).<br />** Available after May 2019 upgrade.
====Get Transaction Record====
'''Function Name'''  -  3.03.5 6 Get Method Sample 4: Retrieve a Transaction Record from a Submission Manager L1<br />
'''Description'''  - Retrieve a transaction record <br />
'''Object Type'''  -  Submission Manager - Transactions<br />
'''Field List''' - sf_End Date;;sf_Description;;sf_Subject;;sf_Start Date;;sf_Status;;sf_Modified Date;;sf_Updated By;;sf_Created Date;;sf_Created By;;sf_Type;;sf_Transaction ID;;sf_Object ID<br />
'''Mandatory fields''' to get a transaction record:<br/>
recordid -  the unique identifier from the transaction table.<br/>
--Begin custom parameter --<br />recordid:2737992<br />othersettings :<br />--End custom parameter--<br/>
====List Transaction Record====
'''Function Name'''  -  3.10.2 List Transaction RecordRecords<br />
'''Description'''  - Get a list of all transaction records <br />
'''Object Type'''  -  Submission Manager - Transactions<br />
'''Action Type '''  - List<br />
'''Field List'''  -   sf_End Date;;sf_Description;;sf_Subject;;sf_Start Date;;sf_Status;;sf_Modified Date;;sf_Updated By;;sf_Created Date;;sf_Created By;;sf_Type;;sf_Transaction ID;;sf_Object ID<br />
--Begin custom parameter --<br />
criteria:<br />
sortby:<br />
othersettings :<br />
--End custom parameter--<br/>
====Update Transaction Record====
'''Function Name'''  -  3.1005.3 Update 5.1 Create Transaction Recordin Submission Manager L1<br />'''Description'''  - Update fields of  Create new transaction record attached to a transaction Submission Manager L1 record <br />
'''Object Type'''  -  Submission Manager - Transactions<br />
'''Action Type '''  - Update<br />
'''Field List'''  -   sf_Object ID;;sf_Subject;;sf_Status;;sf_Type<br />
'''Mandatory fields''' to add a new transaction record:<br/>
recordid -  the unique identifier from the transaction table. To create new record, recordid should be '0'<br/>
sf_Object ID -  is the object(Organization, User, UTA L1/L2) the transaction would be attached to.<br/>
sf_Type -  [[Transaction_Custom_and_Standard_Field_Types|Transaction Type]] of the transaction record.<br/>
sf_Status - [[Transaction_Status|Transaction Status]] of the transaction record.<br/>
--Begin custom parameter --<br />
jsonrset : [{"recordid":"0","sf_Object ID":"10697883","sf_Type":"2184","sf_Status":"82626","sf_Subject":"Test Transaction Record"}]<br />
--End custom parameter--<br/>
 
[[File:TransactionUpdate.PNG|800px]]
====Delete Transaction Record====
'''Function Name'''  -  3.1009.4 6 Delete Transaction Record<br />
'''Description'''  - Delete a transaction record <br />
'''Object Type'''  -  Submission Manager - Transactions<br />
'''Field List'''  -  
--Begin custom parameter --<br />
jsonrset : [{"recordid":"2737992"}]<br />
--End custom parameter--
Smartstaff
1,385
edits

Navigation menu