The ChangeSiteActor contains the selectSite actor-chain that allows an agent to select a specific site. This actor can be configured to present ticket disposition warnings and prompts. The path for this actor is /atg/svc/agent/environment/ChangeSiteActor.

Parameter

Description

siteId

The ID of the site to select.

doWarnings

If set to true, will present a warning to the agent when proceeding to the new site.

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.

Select Site Example
curl -x 127.0.0.1:8888 -L -v -b agent_cookies.txt -H "Content-Type:
application/json" -d "{ "siteId" : "mobileStoreSiteUS" }" "http://localhost:8280/
rest/model/atg/svc/agent/environment/ChangeSiteActor/selectSite"

A server response similar to the following may occur:

{
  "allWarnings":["You are changing sites. Please ensure that all work is saved."},
  "activeTIcketDisposition":false,
  "isDiscardable":true
}

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