The /atg/svc/agent/ui/formhandlers/EndCallActor
contains the endCall
actor-chain, which is used to end a call in Commerce Service Center:
Parameter | Description |
---|---|
| Determines if ticket disposition warnings will be generated for changes. |
| Determines if ticket disposition prompts will be generated for changes. |
| Provides the ticket disposition option to use. |
| The reason code for the ticket. |
| Creates a note stored in the ticket. |
| Makes the note available for public viewing. |
End Call Example
This example confirms the ticket disposition settings when ending a call.
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{ \"doWarnings\":true, \"doTicketDispositionPrompt\":true, \"dispositionOption\": \"save\" }" "http://localhost:8280/rest/model/atg/svc/agent/ui/ formhandlers/EndCallActor/endCall"
The server response confirmation warning may be similar to the following:
{ "isDiscardable": true, "allWarnings": ["The current working order has items in it and has not been saved. If you continue, the order will be lost."], "activeTicketDisposition": true }
This example shows how changes are made in the ticket disposition settings when ending a call.
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{ \"doWarnings\":false, \"doTicketDispositionPrompt\":false, \"ticketNote\": \"Junk mail\",\"reasonCode\":\"spam\", \"dispositionOption\":\"close\" }" "http://localhost:8280/rest/model/atg/svc/agent/ui/formhandlers/EndCallActor/ endCall"