Users Guide
RESTful Web Service | Actions and Adaptive CLI
622 OMNM 6.5.3 User Guide
The result:
NOTE:
Sometimes it is useful to specify a target even if none is required so that you can see the Results window.
Otherwise, the Job Viewer panel displays the same results. You can also copy and paste output into an
online formatter at http://jsonformatter.curiousconcept.com/ to rearrange it so its appearance is more
user-friendly.
REST Call Requiring Token Retrieval
The following example is of a REST call requiring Token retrieval before the subsequent request.
The script contents:
TOKEN_BEGIN
TokenProperty: X_Auth_Token
TokenAccessParams: access.token.id
URL:http://10.101.53.2:5000/v2.0/tokens
Method:POST
{
"auth": {"tenantName": "admin","passwordCredentials":
{"username":"admin","password":"admin"} }
}