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 |
|---|---|
| The ID of the site to select. |
| If set to |
| If set to |
| If |
| If |
| Used to provide a note associated with the ticket. |
| 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
}
