AnsweredAssumed Answered

REST API - which URI called the process

Question asked by on Aug 8, 2017
Latest reply on Aug 10, 2017 by Adam Arrowsmith

I have two GET services using the following paths

Both of the call the same web service process which in turn calls a sub-process that performs query against the database. Since this is the same data returned just different WHERE clause I would like to use same process to perform database query.

In the first case the query must use the ID to get a single hit while the other it uses the STATUS to retrieve multiple rows. In order to accomplish this in single query call I must to be able to determine which of the GETs initiated the call.

Anyone has a suggestion of how to accomplish that?

I'm thinking of using the "inpath" dynamic process property but cannot find any examples of what it really does and how to use it.