Changes

Creating SmartConnect Functions

44 bytes removed, 21:55, 8 December 2022
Create or Update Transaction Record in Submission Manager L1
'''Object Type'''  -  Submission Manager - Transactions<br />
'''Action Type '''  - Update<br />
'''Field List'''  -  sf_Object ID;;sf_Subject;;sf_Status;;sf_Type;;cf_Remarks;;<br />
Note that translevel is new in version 2 where translevel=1 for UTA L1 and translevel=2 for UTA L2.
--Begin custom parameter --<br />
jsonrset : [{"recordid":"0","sf_Object ID":"10697883","sf_Type":"2119","sf_Status":"82626","translevel":"1","sf_Subject":"Test Transaction Record"}]<br />
--End custom parameter--<br />
'''<span style="color: #ff0000;">New Endpoint</span>: '''/API/2/transactions/<br />
[[File:Transactions_01.png|800px]]<br />
<u>'''Sample C''' - creating new transaction record in Submission Mgr L2 from API v2</u>
 
 
<!--134010 - SmartConnect API link and unlink transactions from Objects-->
 
 
 '''Function Name'''  -  Create or Update Transaction Record in Submission Manager L2 (API v2)<br/>
 '''Description'''  - Create new transaction record attached to a Submission Manager L2 record<br/>
 '''Object Type'''  -  Submission Manager - Transactions<br/>
 '''Action Type '''  - Update<br/>
 '''Field List'''  -  sf_Object ID;;sf_Subject;;sf_Status;;sf_Type;;cf_Remarks;;<br />
Note that translevel is new in version 2 where translevel=1 for UTA L1 and translevel=2 for UTA L2.<br />
'''Mandatory fields''' to add a new transaction record:<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/>
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><br />
--Begin custom parameter --<br/>
 --End custom parameter--
'''<span style="color: #ff0000;">New Endpoint</span>: '''/API/2/transactions/<br />
[[File:Transactions_02.png|800px]]
Smartstaff
1,385
edits