Changes

Creating SmartConnect Functions

1,360 bytes added, 17:57, 7 December 2022
Transaction
=====Create or Update Transaction Record in Submission Manager L1=====
<u>'''Sample A''' - creating new transaction record from API v1</u><br/>
'''Function Name'''  -  3.10.3.2 Create or Update Transaction Record in Submission Manager L1<br />
'''Description'''  - Create new transaction record attached to a Submission Manager L1 record <br />
sf_Status - [[Transaction_Status|Transaction Status]] of the transaction record.
--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--
 translevel [[File:TransactionUpdate.PNG|800px]] <u>'''Sample B''' - creating new transaction record from API v2</u><br/><!--134010 - SmartConnect API link and unlink transactions from Objects-->'''Function Name'''  -  Create or Update Transaction Record in Submission Manager L1 (API v2)<br />'''Description'''  - Create new transaction record attached to a 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;translevel Note that translevel is new in version 2 where translevel=1 for UTA L1 and translevel=2 for UTA L2. '''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(UTA L1) 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.translevel -  is the UTA Level (UTA L1/L2) the transaction would be attached to. <span style="color: #ff0000;">(NEW that is implemented in API v2)</span>
--Begin custom parameter --<br />
jsonrset : [{"recordid":"0","sf_Object ID":"1069788310697884","sf_Type":"2184","sf_Status":"82626","sf_Subject":"Test Transaction Record","translevel":"1"}]<br />
--End custom parameter--
 
[[File:TransactionUpdate.PNG|800px]]
====Delete Transaction Record====
====Link/Unlink Transaction Record from other objects====
<!--134010 - SmartConnect API link and unlink transactions from Objects-->
 <p>This new feature to link/unlink transactions is only available in APIv2 and only for L1 & L2 transactions. 
<u>'''Sample A - Link existing transactions to and existing L1/L2'''</u><br/>
'''Function Name'''  -  3.10.3.2 Create or Update Transaction Record in Submission Manager L1<br data-attributes="%20/">
 sf_Type -  [[Transaction_Custom_and_Standard_Field_Types|Transaction Type]] of the transaction record.<br data-attributes="/">
 sf_Status - [[Transaction_Status|Transaction Status]] of the transaction record.
 
--Begin custom parameter --<br data-attributes="%20/">
 jsonrset : [{"recordid":"0","sf_Object ID":"10697883","sf_Type":"2184","sf_Status":"82626","sf_Subject":"Test Transaction Record"}]
Smartstaff
1,385
edits