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

ticketId

The ID of the ticket to edit.

doTicketDispositionPrompt

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

dispositionOption

Identifies a ticket disposition used for this ticket.

reasonCode

Adds a reason code to the ticket.

ticketNote

Adds a ticket note to the new ticket.

subStatus

Provides a sub-status for the ticket.

parameterMap.priority

The ticket priority.

parameterMap.ticketQueue

The ticket queue of the ticket.

parameterMap.customerDetails_firstName

The first name of the customer associated with the ticket.

parameterMap.customerDetails_lastName

The last name of the customer associated with the ticket.

parameterMap.customerDetails_phone

The phone number of the customer associated with the ticket.

parameterMap.customerDetails_email

The email of the customer associated with the ticket.

parameterMap.customerDetails_address

The address of the customer associated with the ticket.

parameterMap.customerDetails_city

The city of the customer associated with the ticket.

parameterMap.customerDetails_state

The state where the customer who is associated with the ticket resides.

parameterMap.customerDetails_country

The country of the customer associated with the ticket.

parameterMap.customerDetails_postalCode

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"

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