Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

API Topic and Phone Number

Hi everyone,
After having some initial teething trouble we have now got the API ticket submit working perfectly!

But we would like to send some additional information to the ticket created using the API.

Topic ID
Phone Number
Extension Number

I have tried adding into the array the value for topicid but I get an error 'topicid: Unexpected data received in API request'

$data = array(
'name'      =>      $fullname,
'email'     =>      $emailaddress,
'subject'   =>      $subject,
'message'   =>      $messagedetails,
'ip'        =>      $_SERVER['REMOTE_ADDR'],
'topicid' => $topicid,
'attachments' => array(),
);

I know under previous API versions (http://tmib.net/using-osticket-1812-api), you can just add them.

But there is nothing mentioned under this version, anyone know what the variable names are the API is expecting?

Regards
Chris

Comments

  • *Bump*

    Anyone any offers?
  • Have you tried look at at: Admin panel -> Manage -> forms.  The variable names are listed there.
    I don't know about topic id specifically though.
Sign In or Register to comment.