Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Get Elog Message in domain

Get a specific elog message in the given domain.

Also supports getting language specific elog message.

URL

/rw/elog/{domain-number}/{sequence-number}

Method

GET

URL Params

See Common URL parameters

lang=[alphanumeric] Optional, a two letter language code e.g. en, sv, de, hi etc.

This option returns all the elog messages in the specified language.

example: lang=de

Data Params

None

Success Response

HTTP_OK(200)

see HTTP Status codes

Example Response

<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Elog</title>
    <base href="http://localhost/rw/elog/"/>
  </head>
  <body>

    <div class="state">  

      <a href="" rel="self"></a>      
      <ul>
        <a href="0" rel="self"></a>
        <li class="elog-message" title="/rw/elog/0/8">  
            <span class="msgtype">2</span>
            <span class="code">20573</span>
            <span class="src-name">MC0</span>
            <span class="tstamp">2013-09-08 T 11:22:10</span>
            <span class="argc">2</span> 
            <span class="arg1" type="string">EIO</span>
            <span class="arg2" type="string">6.0</span>
        </li>
      </ul>        
    </div>
  </body>
</html>

Resources

  • elog-message Specifies a link to the 'elog-domain` resource.
    • msg-type=[numeric]{0|1|2|3}** The elog message type
      • 0 Any event type. For search and trigger conditions only. Cannot be used when writing an event.
      • 1 State change, or informational event.
      • 2 Warning Event
      • 3 Error Event.
    • code=[numeric] The elog message code
    • src-name=[numeric] The elog message source
    • tstamp=[datetime] The time stamp when the event log was generated
    • argc=[numeric] The number of arguments present in this elog message
    • arg[n], type=[numeric] The argument position e.g. arg1, arg2, .... The type of argument, can be string, long or float.
    • title=[alphanumeric] The elog message title in the specified langauge. Available only when lang parameter is provided
    • desc=[alphanumeric] The elog message description in the specified langauge. Available only when lang parameter is provided
    • conseqs=[alphanumeric] The elog message consequences in the specified langauge. Available only when lang parameter is provided
    • causes=[alphanumeric] The elog message causes in the specified langauge. Available only when lang parameter is provided
    • actions=[alphanumeric] The elog message actions in the specified langauge. Available only when lang parameter is provided

Error Response

NOT_FOUND(404), BAD_REQUEST(400)

HTTP Errors, see HTTP Status codes

Robot controller errors, See Robot controller return codes

Sample Call

curl --digest -u "Default User":robotics "http://localhost/rw/elog/0/8?lang=en"

Notes

Not supported in bootserver mode