Skip to Content

c4c - consume rest web service - filter parameter restriction (250)

Jul 21, 2017 at 03:19 AM


avatar image

Dear All,

I want to call an rest web service, I use rest mashup call it now.

My issue is that the filter parameter max length is 250(restriction of NameAndValue.Value)

But my parameter length at least 5000.

Is there any way to handle this issue? Or any other solution that I can accomplish my requirement?

Thanks you very much!

My code as follow:

var xml;

var ScenarioName = "PW00003";

var URLParameter: collectionof NameAndValue;

var URLParameterEntry: NameAndValue;

URLParameterEntry.Name = "$filter";

URLParameterEntry.Value = "CBP_UUID eq '1000305' or CBP_UUID eq '1002822' or CBP_UUID eq '1008796'";


URLParameterEntry.Name = "$format";

URLParameterEntry.Value = "xml";


var response = WebServiceUtilities.ExecuteWebService(ScenarioName, URLParameter); xml = response.ResponseContent;

Best Regards,

Arthas Liu

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers