View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Is there a way to get linked objects using the REST API ? - ProjeQtOr

Prochaines Sessions

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

16 septembre 2025 (10h30-12h)

2 octobre 2025 (16h-17h30)

6 novembre 2025 (10h30-12h)

 
 

Planifiez avec ProjeQtOr

17 et 18 septembre 2025 (9h-12h30)

8 et 9 octobre 2025 (9h-12h30)

19 et 20 novembre 2025 (9h-12h30)

 
 

Administrez avec ProjeQtOr

24 et 25 septembre 2025 (9h-12h30)

15 et 16 octobre 2025 (9h-12h30)

26 et 27 novembre 2025 (9h-12h30)

 

 

 

Is there a way to get linked objects using the REST API ?

More
11 Aoû 2021 00:40 #1 by nicolas@nasdron.be
For example, we have a ticket (id # 16) that is linked to an Equipment (id # 1).
If we make a GET request to obtain the ticket ( http://myserver/projeqtor/api/Ticket/16 ), we obtain a JSON record containing all the Ticket's fields, but not the linked objects...

By the way, the Projeqtor API is a great tool!

Thanks for your help,
Nicolas.

Please Connexion or Create an account to join the conversation.

More
11 Aoû 2021 01:06 #2 by nicolas@nasdron.be
OK, the answer was easy: we just have to use the class object "Link".

Exemple: to get all the objects linked to the ticket # 16:

http://myserver/projeqtor/api/Link/search/ref2Type='Ticket'/ref2Id=16

Then we should extract the ref1Id's from the result...

Please Connexion or Create an account to join the conversation.

More
12 Aoû 2021 17:28 #3 by babynus
In addition, pay attention that you can also have links with ref1Type='Ticket'/ref1Id=16 , then linked element is on ref2Type/ref2id
Rule is that Ref1 is the "smallest" for Class#Id

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.139 seconds

Paramétrages de cookies

×

Cookies fonctionnels

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

Veuillez vous connecter pour voir vos activités!

Autres cookies

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