The CreateNewOrderActor allows an agent to create a new order when working within a ticket. This actor is located at /atg/commerce/custsvc/environment/CreateNewOrderActor, and contains the createNewOrder actor-chain.

Parameter

Description

doWarnings

If set to true, will present a warning to the agent when leaving the order they are currently working on and proceeding to the new order.

doTicketDispositionPrompt

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

dispositionOption

If doTicketDispositionPrompt is selected, this provides a ticket disposition option.

reasonCode

If doTicketDispositionPrompt is selected, this provides a ticket disposition reason code.

ticketNote

Used to provide a note associated with the ticket.

publicNote

Identifies if the ticket note is public.

New Order Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json"
"http://localhost:8280/rest/model/atg/commerce/custsvc/environment/
CreateNewOrderActor/createNewOrder"

The server response may be similar to the following:

{"currentOrder" : "02350008"}

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