Trimble Connect User Forum

 View Only

TrimbleConnect SDK GetProjectsAsync() skip/take possible?

  • 1.  TrimbleConnect SDK GetProjectsAsync() skip/take possible?

    Posted 05-04-2020 08:29

    We use the Trimble.Connect.Client SDK to connect our apps with Trimble. To get projectdata we use the TrimbleConnectClient.GetProjectsAsync() method. Unfortunately the response is very slow when 200+ projects are returned, even if the result is paginated.


    I am looking for some kind of skip/take mechanism to reduce the responsetime.


    It would be ideal if the skip and take could be used through the parameters dictionary like this:

    var parameters = new Dictionary<string, string> { { "skip", "25" }, { "take", "25" } };
    var projects = await trimbleConnectClient.GetProjectsAsync(parameters);


    The TrimbleConnect api does provide this functionality by allowing a request header with value (queryparam would be better imho)


    I hope someone can help me with this problem.




    Ronald Dusselaar