Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
I need to create a custom rest web service (java) to retrieve information from windchill.
The web service will need to take in a collection as a parameter (list of document IDs), and then it will retrieve and return related change notices. The change notices will be displayed in a ThingWorx table (grid). This should be a GET call (as opposed to POST), based on the function of the service.
I'm trying to understand if this is possible, and how to handle the parameter passing on the calling side (ThingWorx Thing service in javascript), and in the rest service (java).
Any pointers, suggestions, links, and examples appreciated.
Here is a discussion about the "right" way to send a list of values with a GET:
I am assuming you have flexibility on the Java side and are looking for an industry standard way of implementing your service. If your service returned a ThingWorx Infotable that would make consuming the response easier in your ThingWorx service, but returning properly formatted JSON can also work.