REST Parentheses

  
Hi, I am trying to consume a REST API

/sap/opu/odata/sap/ZCRM_BUPA_ODATA_CUST_SRV/AccountCollection({account})?$expand=MainAddress,Personal&$format=json

where account = %273000000246%27

It works when I test it on the interface but on runtime I get 404 Not Found 

"Resource not found for the segment 'AccountCollection%28%273000000246%27%29"

When I try to replace the parentheses in the URL it really gives that error, what can I do so that it won't convert it to %28 %29 ?

Thanks.
Hi Dus,

%28 and %29 represent the parentheses ( and ) in the URL (just like %27 in the account represents a single quote '). So AccountCollection(%273000000246%27) and AccountCollection%28%273000000246%27%29 are equal, as far as a URL goes. So your problem might be a different one from what you're thinking it is.