kemeris Posted October 7, 2016 Report Posted October 7, 2016 Hi! I'm wondering is it possible to add new ticket to Support manager plugin remotely via API . Thanks. Quote
0 Blesta Addons Posted October 7, 2016 Report Posted October 7, 2016 Yes , you can . maybe something like $reply_data = array( 'ticket_id'=>9, 'vars' => array( 'ticket_id'=>9, 'staff_id' => null, // the reply is from this staff user 'client_id' => 2, // the reply is from this client user 'contact_id' => null, // the reply is from this client contact user 'type' => "reply", // this is a ticket reply 'details' => "API reply", // the ticket reply description 'status' => "open", // status of the ticket 'staff_id' => null, // the staff user the ticket is assigned to ), 'files' => null, 'new_ticket' => false // this reply is for a newly created ticket ); $response = $api->post("support_manager.support_manager_tickets", "addReply", $reply_data); Michael 1 Quote
0 kemeris Posted October 7, 2016 Author Report Posted October 7, 2016 Great, thank you naja7host Quote
Question
kemeris
Hi!
I'm wondering is it possible to add new ticket to Support manager plugin remotely via API .
Thanks.
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.