The /atg/svc/agent/ui/formhandlers/StartNewCallActor
contains the startNewCall
actor-chain, which is used to initiate a new 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. |
| 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. |
Start Call Example
This example confirms the ticket disposition settings when starting a call.
curl -L -v -b agent_cookies.txt -d "{ \"doWarnings\":true, \"doTicketDispositionPrompt\":true, \"dispositionOption\":\"save\" }" "http://localhost:8280/rest/model/atg/svc/agent/ui/formhandlers/StartNewCallActor/ startNewCall"
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 starting 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/StartNewCallActor/ startNewCall"