Skip to Content
avatar image
Former Member

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

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'";

URLParameter.Add(URLParameterEntry);

URLParameterEntry.Name = "$format";

URLParameterEntry.Value = "xml";

URLParameter.Add(URLParameterEntry);

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

Best Regards,

Arthas Liu

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers