rbj_godske wrote:
Hi Karel,
How to apply this ?
Best Regards
Rasmus
Basically you need to add a link in the body of your email template with a link address similar to the following.
https://server.company.com/api.aspx?Action=EditTicket&Key=
Your API Key Here&TicketID=[ticketid]&AgentEmail=
AgentEmailAddress&State=Closed
The above will assign the ticket to the designated agent and close the ticket. We couldn't figure out a way to dynamically associate the agent email address as the ticket is unassigned at this point in time. If you add it to the "Agent Assigned/Subscribed (Sent to Agent)" template you can use [agentemail] as a tag in place of the italicized "AgentEmailAddress" above.
If you have a lot of agents (we only have three), then this might not work for you, but in our case I just created three bulleted lists with the different links for each agent. The agent can then click on their link and either claim the ticket or claim it and close it in one click. We did this for those "AgentA already took care of" type of emails.
If you have someone assigning tickets to agents then you can create the link on the correct template for just closing the ticket. Obviously your use case may be different so hopefully this helps out some.
Randy