Mark leads as used and stop follow-ups
Use the markLeads method to mark a lead as used and/or stop follow-ups.
Request parameters
Parameters
Required
LeadCode
Required (string) Unique system-generated identifier.
Used
Required (boolean)
With possible values: TRUE and FALSE.
StopFollowups
Required (boolean)
With possible values: TRUE and FALSE.
Request sample
<?php
require ('PATH_TO_AUTH');
$markLead = [\
'LeadCode' => '60E6C4B574',\
'StopFollowups' => false,\
'Used' => true\
];
$jsonRpcRequest = array (
'method' => 'markLeads',
'params' => array($sessionID, [$markLead]),
'id' => $i++,
'jsonrpc' => '2.0'
);
var_dump (callRPC((Object)$jsonRpcRequest, $host, true));Response sample
Last updated
Was this helpful?