I believe the way you are defining URL pattern is incorrect in API Manager Publisher while publishing the API.
This is how I managed to do it,
- Create two GET methods with URL pattern as follows
- /{id} - This works as a path parameter therefore when calling the API you can pass the customer ID after the "/"
- /* - This gives the list of customers
- Use "http://www.thomas-bayer.com/sqlrest/CUSTOMER" as your production Endpoint
After defining above way,
- You can call the API with "h ttps://localhost:8243/customer/1.0.0" which gives the list of customers
- To view a specific customer details you can use the endpoint as "https://localhost:8243/customer/1.0.0/1" which works as a path parameter