Search found 4 matches

by blueCat1301
01 Jul 2013, 08:53
Forum: Developers
Topic: Filter/Throtle tickets created via SOAP
Replies: 6
Views: 1976

Re: Filter/Throtle tickets created via SOAP

Hi, I tried TicketDelete, but probably am doing something wrong. I used the code bellow, but the system log filled with errors like "Column 'queue_id' cannot be null, SQL: 'INSERT INTO ticket_history (name, history_type_id, ticket_id, article_id, queue_id, owner_id, priority_id, state_id, type_...
by blueCat1301
30 Jun 2013, 23:14
Forum: Developers
Topic: Filter/Throtle tickets created via SOAP
Replies: 6
Views: 1976

Re: Filter/Throtle tickets created via SOAP

Hi, Thank you for your suggestion. My intention is to not allow tickets to be created if certain conditions are meet. The idea with filter looks great. One more question: how do I prevent ticket creation? Or delete it? Returning 0 does not work, and deleting the ticket is horribly wrong :-(. Any hel...
by blueCat1301
29 Jun 2013, 11:45
Forum: Developers
Topic: Filter/Throtle tickets created via SOAP
Replies: 6
Views: 1976

Re: Filter/Throtle tickets created via SOAP

Thank you for your suggestion. Event mechanism looks very promising. I still have an issue: TicketCreate event fires for all ticket creations, no matter the method of creation. I need to filter only those tickets created via SOAP. How can I find out how a ticket was created? How can I filter only Ti...
by blueCat1301
28 Jun 2013, 16:11
Forum: Developers
Topic: Filter/Throtle tickets created via SOAP
Replies: 6
Views: 1976

Filter/Throtle tickets created via SOAP

Hi, What would be be best way to create a filter for ticket creation via SOAP? My goal is to limit the creation rate for tickets via SOAP: if creation a of a duplicate (same user, same subject) ticket is attempted faster than - let's say - 5 per minute, this filter should deny the creation of ticket...