AnsweredAssumed Answered

Web API resolution path wildcard

Question asked by porcel on May 31, 2017
Latest reply on May 31, 2017 by Mark_HE

HI all,

 

I have 2 endpoints in CA gateway where the 'customer id' is part of the uri.

 

Service Display Name: "/customer/{id}", Resolution Path: "/v1/customer/*"
Service Display Name: "/customer/{id}/status", Resolution Path: "/v1/customer/*/status"

 

When I call both, the request is resolved only in first service (/v1/customer/*) and (/v1/customer/*/status) isan't called.

 

Call 1: /v1/customer/123
Call 2: /v1/customer/123/status

 

Do I have a way to setting resolution without wildcard in order to support both calls? Can I use regular expression in resolution path (like [0-9]) ?

Outcomes