osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now
Is there a List of OST APIs?
Is there more API values available then the User profile? I would also like the Organization profile.
Also, is there a way to add Organization to the top of the Ticket Detail Form? Next to the User Information Fields.
I know it can be added by the Help Topic, but this is not what I want. I do not understand why Company/Organization info needs to be separated so much.
$data = array(
'name' => 'John Doe', // from name aka User/Client Name
'email' => 'firstname.lastname@example.org', // from email aka User/Client Email
'phone' => '1234567890', // phone number aka User/Client Phone Number
'subject' => 'Test API message', // test subject, aka Issue Summary
'message' => 'This is a test of the osTicket API', // test ticket body, aka Issue Details.
'ip' => $_SERVER['REMOTE_ADDR'], // Should be IP address of the machine thats trying to open the ticket.
'topicId' => '1'; // the help Topic that you want to use for the ticket
//'Agency' => '58', //this is an example of a custom list entry. This should be the number of the entry.
//'Site' => 'Bermuda'; // this is an example of a custom text field. You can push anything into here you want.
'attachments' => array()