View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Pagination in API Projeqtor ? - ProjeQtOr
 

Pagination in API Projeqtor ?

More
22 May 2024 15:17 #1 by Zeinebb
Is there pagination in the API Projeqtor for the get ? The response time is currently very long. in .net

Please Log in or Create an account to join the conversation.

More
22 May 2024 19:52 #2 by babynus
No, there is not dafault pagination in the API.
It is on your side to request the API so that it may not return too must data.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
23 May 2024 10:16 - 23 May 2024 10:23 #3 by Zeinebb
I actually want to get all the tickets, so I'm going to use the '../projeqtor/api/ticket/all' endpoint. However, it returns too much data. How can I request the API in a way that avoids returning an excessive amount of data like pagination or make it take less time as it is in projeqtor it self ?
                HttpResponseMessage response = await _client.GetAsync(apiUrlProjeqtor); // here where it take a lot of time 
 
Last edit: 23 May 2024 10:23 by Zeinebb.

Please Log in or Create an account to join the conversation.

More
25 May 2024 09:43 #4 by babynus
As previously answered, you must manage the pagination on your side.
For instance use the search option to limit the query.
Example :
search/id<=100
Search/id>100 and id<=200
And so on

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.039 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.