locked
NAV Web Services RRS feed

  • Question

  • I am a bit new to NAV and so far I have published web services on NAV and have been able to consume these SOAP web services using C#.

    Now, the data has increased and its taking longer to load. I have an idea of querying the data in chunks (e.g chunks of 10) using datatables (https://datatables.net/examples/server_side/), but this I am yet too figure out how to set limits and offsets.

    Here is my C# code to read the NAV soap service

    public string getItemCardList(itemCardService_Service itemCardServiceObj, List<itemCardService_Filter> filter)
            {
                serializer.MaxJsonLength = 50000000;
                return serializer.Serialize(itemCardServiceObj.ReadMultiple(filter.ToArray(), null, 0));
            }

    Wednesday, September 20, 2017 1:01 PM

Answers

All replies