Skip to main content
Published: October 01 2014, 10:16:00 AMUpdated: August 12 2021, 4:22:31 AM

When using .NET SDK to make a GetOrders request, there is a known issue where the OrderArray does not contain any orders.

This is a known issue with the .NET SDK, and we are working on a fix. In the meantime, try this,

1. Set a break point after you execute the API request, check the response.Any to see if that data is there (my response refers to GetOrdersResponseType response = new GetOrdersResponseType(); If the XML IS in the response.Any, here is how you solve it

- Go to the Reference.cs file and comment out the Any element,

 [System.Xml.Serialization.XmlAnyElementAttribute(Order=#)]//keep in mind I replace the actual number with a # because everyone's code will have a different order number
        public System.Xml.XmlElement[] Any {
            get {
                return this.anyField;
            set {
                this.anyField = value;



How well did this answer your question?