Quantcast
Channel: PTC Community : Popular Discussions - Integrity
Viewing all articles
Browse latest Browse all 3432

Looking for script example for parsing response of Java API.

$
0
0

I'm hoping that this has been done 1000's of times and someone has an example to share.

 

I need to parse the response from a JavaAPI call from a trigger script.

 

Example:



var cmd = new Packages.com.mks.api.Command("im","issues");


cmd.addOption(new Packages.com.mks.api.Option("queryDefinition", queryDefinition));


var response = api.executeCmdAs(currentUser, cmd);

Viewing all articles
Browse latest Browse all 3432

Trending Articles



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