Changes

Jump to: navigation, search

Creating SmartConnect Functions

26 bytes removed, 18:52, 7 December 2022
Create or Update Transaction Record in Submission Manager L1
<u>'''Sample B''' - creating new transaction record in Submission Mgr L1 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 />
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 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":"10697884","sf_Type":"2184","sf_Status":"82626","sf_Subject":"Test Transaction Record","translevel":"1"}]<br />
--End custom parameter--
 
'''<span style="color: #ff0000;">New Endpoint</span>: '''/API/2/transactions/
 
<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)
 
 
 '''Description'''  - Create new transaction record attached to a Submission Manager L2 record<br data-attributes="%20/">
 '''Object Type'''  -  Submission Manager - Transactions<br data-attributes="%20/">
'''Mandatory fields''' to add a new transaction record:<br data-attributes="/">
 recordid recordid -  the unique identifier from the transaction table. To create new record, recordid should be '0'<br data-attributes="/"> sf_Object sf_Object ID -  is the object(UTA L2) the transaction would be attached to.<br data-attributes="/"> sf_Type sf_Type -  [[Transaction_Custom_and_Standard_Field_Types|Transaction Type]] of the transaction record.<br data-attributes="/"> sf_Status 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 data-attributes="%20/">
 jsonrset : [{"recordid":"0","sf_Object ID":"10697974","sf_Type":"2184","sf_Status":"82626","sf_Subject":"Test Transaction Record","translevel":"2"}]<br data-attributes="%20/">
 --End custom parameter--
 
'''<span style="color: #ff0000;">New Endpoint</span>: '''/API/2/transactions/
Smartstaff
1,385
edits

Navigation menu