The endEdit actor-chain allows an agent to end editing a ticket, saving the information added during the edit. The endEdit actor-chain also implicitly calls the beginEdit actor-chain, which sets the current ticket to “isEditable”.
Parameter | Description |
|---|---|
| The ID of the ticket to edit. |
| If set to |
| Identifies a ticket disposition used for this ticket. |
| Adds a reason code to the ticket. |
| Adds a ticket note to the new ticket. |
| Provides a sub-status for the ticket. |
| The ticket priority. |
| The ticket queue of the ticket. |
| The first name of the customer associated with the ticket. |
| The last name of the customer associated with the ticket. |
| The phone number of the customer associated with the ticket. |
| The email of the customer associated with the ticket. |
| The address of the customer associated with the ticket. |
| The city of the customer associated with the ticket. |
| The state where the customer who is associated with the ticket resides. |
| The country of the customer associated with the ticket. |
| The postal code of the customer associated with the ticket. |
End Editing Ticket Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" –d
"{\"parameterMap\":{\"atg-rest-class-type\":\"java.util.HashMap\",
\"atg-rest-values\":{\"priority\":\"3\",\"ticketQueue\":\"myTicketQueue\",
\"customerDetails_firstName\":\"John\",\"customerDetails_lastName\":\"Smith\",
\"customerDetails_phone\":\"07876788144\",\"customerDetails_email\":
\"jsmith@example.com\",\"customerDetails_address\":\"1 Main Street\"
,\"customerDetails_city\":\"Berlin\",\"customerDetails_state\":
\"MA\",\"customerDetails_country\":\"US\",\"customerDetails_postalCode\":
\"01580\"}}, \"ticketId\" : \"458514\"}" "http://localhost:8080/rest/model/atg/
svc/agent/ui/formhandlers/TicketActor/endEdit?atg-rest-output=json"
