Software Development Kit (SDK) and API Discussions

.NET API does wrong serialization? cDOT (ontap-8-2-2.dll, ontap-8-3.dll)




i have a problem to filter the resultset with the .NET implementation of the API.


when i try to filter the QTree result with:

NaFiler filer = new NaFiler("Server");

filer.Protocol = ServerProtocol.HTTPS;

filer.Credentials = new System.Net.NetworkCredential(@"…");

filer.ForceUseUnsecure = true;

var rObj = (new NetApp.Filer.Cluster.Qtree.QtreeListIter() { Query = new NetApp.Filer.Cluster.Qtree.QtreeInfo() { Volume = "server_prj01" } }).Invoke(filer);



i get all qtrees from all volumes because the .NET API does a wrong serialization.


this is what the .NET API sent to the Server: (missing <qtree-info> tag)

    <id p3:nil="true" xmlns:p3="" />


but the API must send something like this:  (this works as expected with zapi explorer)



is this a known problem? is there a workaround or update planed?


thank you



Hi there,


how does the header llook like? I would like to understand which libraries you are using.




using System;
using System.Text;
using System.Collections.Generic;

using NetApp.Manage;





or e.g.


using NetApp;
using NetApp.Filer;
using NetApp.Filer.System;


Thank you,



Register for Insight 2021 Digital

INSIGHT 2021 Digital: Meet the Specialists 2

On October 20-22, gear up for a fully digital, totally immersive virtual experience with a downright legendary lineup of world-renowned specialists. Tune in for visionary conversations, solution deep dives, technical sessions and more.

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner