View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Attach file with API - ProjeQtOr

Prochaines Sessions

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

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

13 mai 2025 (10h30-12h)

5 juin 2025 (16h-17h30)

 
 

Planifiez avec ProjeQtOr

14 et 15 mai 2025 (9h-12h30)

18 et 19 juin 2025 (9h-12h30)

 
 

Administrez avec ProjeQtOr

20 et 21 mai (9h-12h30)

25 et 26 juin (9h-12h30)

 

 

 

Attach file with API

More
21 Jui 2022 08:31 #1 by rafall92
Hello
I need to move some of our xml files to projeqtor, But we have a lot of files, so we want to do this via API. Is there any possibility to upload file to PQ with api, and link it to document?

Please Connexion or Create an account to join the conversation.

More
21 Jui 2022 12:00 - 23 Jui 2022 09:28 #2 by Arkhanje
Replied by Arkhanje on topic Attach file with API
Hello

You can simply use the "data import" functionality directly in the solution.

Import a document version and use "importfile" to indicate the path of your xml file.
Make sure you have permissions to the PHP server

A little reading here  
Last edit: 23 Jui 2022 09:28 by Arkhanje.
The following user(s) said Thank You: rafall92

Please Connexion or Create an account to join the conversation.

More
21 Jui 2022 12:28 #3 by rafall92
Replied by rafall92 on topic Attach file with API
I don't know if you understand me correctly. Lets say I create document in PQ manually, fill fields, and attach some files to it(pictures, database backups, etc.)

I wanna do the same, but using API

Please Connexion or Create an account to join the conversation.

More
22 Jui 2022 10:38 #4 by babynus
Replied by babynus on topic Attach file with API
You cannot through API.
API only acceps data in JSON, without possibility to attach files.

You can do this through import, as  Arkhanje  explianed

Babynus
Administrator of ProjeQtOr web site
The following user(s) said Thank You: rafall92

Please Connexion or Create an account to join the conversation.

More
22 Jui 2022 10:42 #5 by rafall92
Replied by rafall92 on topic Attach file with API
Ok. Uploaded files have their own ID. Is it possible to link previously uploaded file to document by their ID?

Please Connexion or Create an account to join the conversation.

More
22 Jui 2022 12:28 #6 by babynus
Replied by babynus on topic Attach file with API
No, files for document versions are not managed the same way as attachments.

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.051 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.