The MessageToolsActor contains the messages actor-chain that allows an agent to see messages. Once a message has been read from the message queue by the messages actor-chain, the message is removed from the message queue. The path for this actor is /atg/web/messaging/MessageToolsActor.

Parameters: None

Display Messages Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" "http://localhost:8280/rest/model/atg/web/messaging/MessageToolsActor/messages"

The server response may be something similar to the following:

{"messages":[
  {
    "summary":"No default site has been configured.",
    "params":null,
    "type":"warning",
    "requestUrl":"/rest/model/atg/userprofiling/InternalProfileActor/
        login-success?atg-rest-output=json&_requestid=63",
    "messageDetails":[],
    "timestamp":{"time":1364498690397},
    "priority":-5,
    "messageGroup":null,
    "datetime":{"time":1364498690397},
    "identifier":null
     },
    {
    "summary":"First valid active site has been chosen.",
    "params":null,
    "type":"information",
    "requestUrl":"/rest/model/atg/userprofiling/InternalProfileActor/
        login-success?atg-rest-output=json&_requestid=63",
    "messageDetails":[],
    "timestamp":{"time":1364498690486},
    "priority":-10,
    "messageGroup":null,
    "datetime":{"time":1364498690486},
    "identifier":null
  }
]}

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