Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Get Search Text

Search text in RAPID module

URL

/rw/rapid/modules/{module}

Method

GET

URL Params

task={Task Name} Required

startrow={Start Row Number} Required

startcol={Start Column Number} Required

text={search text} Required

Data Params

None

Success Response

HTTP_OK(200), see HTTP Status codes

Example Response

<html>
<head>
<title>rapid</title>
<base href= "http://localhost:7777/rw/rapid/" />
</head>
<body>
<div class="state">
<a href= "modules/MainModule?task=T_ROB1&startrow=1&startcol=1&text=main" rel="self"/>
<ul>
<li class="rap-text-position" title="text-position">
<span class="Row">5</span>
<span class="Column">8</span>
</li>
</ul>
</div>
</body>
</html>

Resources

  • rap-text-position
  • Row- Row number of Text.
  • Column- Column number of Text.

Error Response

BAD_REQUEST(400), FORBIDDEN(403), NOT_FOUND(404), see HTTP Status codes

Sample Call

curl --digest -u "Default User":robotics "http://localhost/rw/rapid/modules/MainModule?task=T_ROB1&startrow=1&startcol=1&text=main"

Notes

Not supported in bootserver mode.

If the text is not found,the row and column values will be zero.