AnsweredAssumed Answered

Meeting duration or end date via API

Question asked by Joe Carter on Aug 16, 2017
Latest reply on Mar 13, 2018 by Angel Martinez


I am using the API to create a Meeting and have an issue with setting the duration/end date.  My record arguments are below


$startdate = date('Y-m-d H:m',strtotime('2017-08-16 09:00'));
$endate = date('Y-m-d H:m',strtotime('2017-08-16 18:00'));


$record_arguments = array(
            "date_end" => date(DATE_ISO8601, strtotime($endate)),
            "date_start" => date(DATE_ISO8601, strtotime($startdate)),
            "name" => "Meeting Booked - ",
            "assigned_user_id" => $OppArray['assigned_user_id'],
            "parent_type" => "Opportunities",
            "parent_id" => $OppArray['id'],


It works fine except the date_end always end up the same as date_start