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

rest plugin usage

$
0
0

hi all,

 

I am a little new to the rest plugin trying to work out best practice.

i have correctly configured rest host and operations and subsequently returning xml responses.

 

when processing those responses i just need to return an ID for the rest object. I need to post the returned object from a get operation into a new post operation.

 

would you normally hack up the response with the xml plugin to reuse the response id in the new post operation?

 

or is there a way to pass that returned object back with additional data such as a new childobject

 

my current rest operation call is like this

 

GET /systems?name={Name}

 

this correctly returns that object which i then need to reuse as

 

POST /systems/{returnedObjectId}/newChildItem/{new data object}

 

the only way i can see to this is hack up the response to get the id. is that correct?

 

 

 

 

 

 

 

 

 

 



Viewing all articles
Browse latest Browse all 6251

Trending Articles



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