AnsweredAssumed Answered

Read values from Request URL (PARAM)

Question asked by Naresh_IV on Mar 22, 2018
Latest reply on Mar 22, 2018 by Joel NeSmith

Hi, My incoming request looks like below. 

http://server:port/its/data/plans/planid1234/versions/versionid1234/assets/investment?accountId=4444

 

I will need to retrieve PLAN ID (planid1234), Version ID (versionif1234) and account id(4444) from the Request URL. 

 

I tried RegEx [A-Za-z][A-Za-z0-9\+\.\-\?]* while recording and my URI Rules look like below but only retrieves Plan ID and Version id. Doesn't retrieve Account ID.. Please advice

 

GET /its/data/{URLPARAM0}/{URLPARAM1}/{URLPARAM2}/{URLPARAM3}/{URLPARAM4}/{URLPARAM5}/

Outcomes