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

How to query by issue Type using the API

$
0
0

Hello. I've been working with the API for an integration I am developing. I have read through the Integration Builder's Guide fairly closely. This mostly documents the commands, rather than the available options. I am trying to do a simple im issues command and add an option to specify the type to return like so:

 

 

cmd.addOption(new Option("type", typeName));

 

I found an example in another post on here where the poster was using "type" as an option successfully, but when I attempt this, there is an exception:
com.mks.api.response.InvalidCommandOptionException: im: MKS124819: Invalid option: "type"

 

 

Any ideas what I'm doing wrong?


Viewing all articles
Browse latest Browse all 3432

Trending Articles



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