Robot Web Services
3HAC050973-001 Revision:L, Application Manual - Robot Web Services
Register the user

Register current logged-in user with given username, application name, location and locale.

URL

/users

Method

POST

URL Params

None

See Common URL parameters

Data Params

  • username= The username to register. It represents user alias name. Required
  • application= The application name to register Required
  • location= The location of the user Required
  • ulocale= local or remote user Required

Success Response

CREATED(201)

see HTTP Status codes

Example Response

No content

Error Response

UNSUPPORTED_MEDIA(415), BAD_REQUEST(400)

See Robot controller return codes

Sample Call

Register user

curl --digest -u "Default User":robotics -d "username=xyz&application=RobotStudio&location=IN-BLR-XXXX&ulocale=remote" -X POST "http://localhost/users"

Notes

  • Supported in bootserver mode.
  • Given username, application and location are used only as free-text information.
  • User can be registered as local client (ulocale=local) only if the request comes from service port or the TPU port.