How many paths can I specify there? 1000?
I assume you are referring to GET attributes/multiple endpoint. I am not aware of any explicit limits defined in the PI Web API configuration, but there are limitations set by the Framework.
Since the path is an URL parameter, you should be able to set the following keys in your HTTP registry UrlSegmentMaxLength, MaxFieldLength and MaxRequestBytes.
Http.sys registry settings for Windows
Are you simply trying to determine the limit or are you running into any errors?
There is no GetMultiple controller but GetMultiple method exist for e.g. the Element or the Attribute controller. Please accept my apologies for being a nitpicker
However, the amount of paths which can be specified is - to my best knowledge - not restricted but there is a limitation with the length of query URL. Please refer to this question.
Thy and Gregor,
Thank you. Yes, I am talking about the GetMultiple Elements method. I am not worried about the URL length since I am using the Batch controller. I tried it with like 40 paths and it worked and I was wondering if we could pass 1000 paths to it. Thanks.
Retrieving data ...