The SendAndCloseTicketActor allows an agent to send an e-mail and close the corresponding ticket. It is located at /atg/svc/agent/ui/formhandlers/SendAndClosetTicketActor, and contains the sendAndCloseTicket actor-chains.

Parameter

Description

 

to

This required parameter identifies the customer e-mail address.

 

cc

Identifies any addresses to be added to the cc field.

 

bcc

Identifies any addresses to be added to the bcc field.

 

subject

This required parameter provides the subject of the e-mail.

 

htmlBody

Identifies the HTML body of the e-mail.

 

textBody

Identifies the text body of the e-mail.

 

doWarnings

If set to true, will present a warning to the agent when proceeding to the new site.

doTicketDispositionPrompt

If set to true, will present ticket disposition prompts to the agent.

ticketDispositionOptions.dispositionOption

If doTicketDispositionPrompt is enabled, this provides a ticket disposition option.

ticketDispositionOptions.reasonCode

If doTicketDispositionPrompt is selected, this provides a ticket disposition reason code.

ticketDispositionOptions.ticketNote

If doTicketDispositionPrompt is selected, provides a note associated with the ticket.

ticketDispositionOptions.publicNote

If doTicketDispositionPrompt is selected, identifies if the ticket note is public.

Send E-Mail and Close Ticket Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{ \"to\" :
\"customer@example.com\", \"subject\" : \"We're glad you're happy! \",
\"textBody\" : \"Body of the email goes here\", \"htmlBody\" : \"Body of the HTML
goes here\" }" "http://localhost:8180/rest/model/atg/svc/agent/ui/formhandlers/
SendAndCloseTicketActor/sendAndCloseTicket"

Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices