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

doWarnings

Determines if ticket disposition warnings will be generated for changes.

doTicketDispositionPrompt

Determines if ticket disposition prompts will be generated for changes.

dispositionOption

Provides the ticket disposition option to use.

reasonCode

The reason code for the ticket.

ticketNote

Creates a note stored in the ticket.

publicNote

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"

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