... check if events was in the payload
if(!isnull(m_Body.get("events")))
{
//
// parse events out of the webhook (a list)
l_Events = m_Body.get("events").toJSONList();
//
// loop through the events
fo ...
... if found records
if(v_ResponseCode == 3000)
{
v_RelatedListXML = "";
l_SearchResults = r_SearchResults.get("data").toJSONList();
for each r_Result in l_SearchResults
{
// init
v_DateTill= ...
... e :PUT
headers: m_Header
parameters:m_Data.toString()
];
when you should have done this (note that a list is submitted to data / could use .toJSONList()):
l_Records = List();
l_Records.add(m_RecordData);
m_Da ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.