Avatar

multicall with additional parameters

0

Can you pass additional parameters in a multicall call other than the entity? for example I would like to call multicall for devices but also being able to specify the resultlimit like you can do when using Get.

how can this be done in .NET?

 

 

Jacques Levy

Please sign in to leave a comment.

2 comments

Avatar

Hi Jacques,

Yes you can. Using the example in the documentation, you would add your parameters as necessary:

object[] calls = new object[] {
   new object[] { "Get", typeof(Diagnostic), new { resultsLimit = 1000 }, typeof(List<Diagnostic>)}...

Thanks,

Steve

0
Comment actions Permalink
Steve Hansen 0 votes
Avatar

Hi steve, a recomendation with this example of how to use multicall with parameters, I think it have to add it in the "concepts" documentation of the sdk, because in there only explains how to use multicalls in C# projects but without parameters, Is only a recomendation for the sake of not creating more questions about this.

0
Comment actions Permalink
alfredo.morales 0 votes