Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

REST Calls Using JSON

$
0
0

Hey All,

   I am new at using the REST plugin with VRO as well as dealing with JSON calls. I am not a programmer or do I have access to any sort of programming environment outside of basic scripting. So all I am asking is for some pointers to get going in the proper direction. The following is a snippet of json code that I need to use as a REST post but I need to be able to input variables each time I run the workflow. I have already successfully added the REST host that I am posting against:

 

{

"Message": {

  "ToggleMode": "<Toggle Mode Variable>",   <-- This would need to be a variable to pass either on or off with

  "ToggleSetting": "RTA",  <-- not a variable, will always be static "RTA"

  "Token": "<Token Variable Here>"

}

}

 

Now, if someone know some helpful websites/tutorials I can read, that actually give examples of POST methods and how to configure variables, I will be glad to read them I try my best to figure this out. It cant be that difficult.

 

Thanks to anyone willing to lend a hand.


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>