Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Save CFG domain

Save the CFG domain to the given file

URL

/rw/cfg/{domain}

Method

POST

URL Params

action=saveas Required See Common URL parameters

Data Params

  • filepath Required File on controller to load
  • save-mode Optional {Normal | NormalEx | Internals | Types}

Success Response

NO_CONTENT(204)

see HTTP Status codes

Example Response

No content

Error Response

BAD_REQUEST(400), FORBIDDEN(403), UNAUTHORIZED(401)

Robot controller errors, See Robot controller return codes

Sample Call

Save the CFG domain to the given file

curl --digest -u "Default User":robotics -d "filepath=/fileservice/$HOME/a.cfg" -X POST "http://localhost/rw/cfg/sio?action=saveas"

Notes

Not supported in bootserver mode