How to Create the Appointment

Hello Team,

When I Create the Appointment then not getting any error but Appointment not display inside the Contact.Below is my Code

$infusionsoft->setToken(unserialize($rowGetInfo[“token”]));
$appointment_start = new DateTime(“2019-05-28T11:00:00Z”, $utc);
$appointment_start->setTimeZone($perth);
$start = $appointment_start->format(‘d-m-Y H:i:s’);
$appointment_end = new DateTime(“2019-05-28T12:00:00Z”, $utc);
$appointment_end->setTimeZone($perth);
$end = $appointment_end->format(‘d-m-Y H:i:s’);
$values = array(‘ObjectType’=>“Appointment”,‘ActionDate’=>$start, ‘EndDate’=>$end,‘ActionDescription’=>‘Testing For Appointment’,‘CreationNotes’=>‘Test1121’,‘IsAppointment’=>1,‘ContactId’=>5536,‘UserID’=>0);
$infusionsoft->data(‘xml’)->add(‘ContactAction’, $values);

Is there any more parameter required? Please give me suggestion

Thanks