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.
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
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
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now