CODE
$params = array('user' => $APIusername,
'password' => $APIpassword,
'email' => $email,
'departmentId' => 4,
'priorityId' => 1,
'fullName' => $name,
'subject' => 'Subject',
'attachments' => array('name' => $filename, 'type' => $filetype, 'url' => $fileurl),
'message' => $ticket_contents,
'sendAuto' => true
);
$result = call('submitTicket', $params);
'password' => $APIpassword,
'email' => $email,
'departmentId' => 4,
'priorityId' => 1,
'fullName' => $name,
'subject' => 'Subject',
'attachments' => array('name' => $filename, 'type' => $filetype, 'url' => $fileurl),
'message' => $ticket_contents,
'sendAuto' => true
);
$result = call('submitTicket', $params);
but I get the following error:
CODE
wsdl error: phpType is struct, but value is not an array: see debug output for details
Sorry for my ignorance, but where is the debug output, and why is that array not considered an array?
Thanks!
-Ryan
Sign In »
Register Now!
Help

Back to top








