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

API Documentation

More
11 Oct 2021 12:36 #1 by mcanuto
API Documentation was created by mcanuto
Hello,

I'd like to know how to connect to Projeqtor by API. Is there somewhere a documentation about this?

Than you.

Regards,
MCanuto

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

More
15 Oct 2021 11:42 #2 by babynus
Replied by babynus on topic API Documentation
Here
It is the "old" user manual, in PPT format, available on doanload page.
You'll find API description by the end of the doc.
 

Babynus
Administrator of ProjeQtOr web site

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

More
19 Oct 2021 19:15 #3 by mcanuto
Replied by mcanuto on topic API Documentation
Hello,

thank you for this document.

Is there anything we need to install or activate more than the .htpasswd and the .htacess files?

I think I follow all the instruction but I keep getting this answer :
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html>
<head>
    <title>404 Not Found</title>
</head>
<body>
    <h1>Not Found</h1>
    <p>The requested URL /api/Project/243 was not found on this server.</p>
</body>
</html>

Do you have an idea why?

Thank you.
MCanuto

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

More
21 Oct 2021 16:00 #4 by babynus
Replied by babynus on topic API Documentation
Apache should enable mod_rewrite

<IfModule mod_rewrite.c>
  RewriteEngine On
   
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?uri=$1
</IfModule>


Babynus
Administrator of ProjeQtOr web site

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

More
07 Feb 2022 14:55 #5 by mcanuto
Replied by mcanuto on topic API Documentation
Hello, 

I've created the file .htaccess as described, but when I try to access with a GET Method to 

http://<myserver>/api/Project/243, I get the 404 error,

but if I change the URL to http://<myserver>/api/index.php?uri=Project/243, it works fine.

So, I think the issue is on the command : 
RewriteRule ^(.*)$ index.php?uri=$1

But how should I rewrite it to make it work with the URL's defined on the Doc?

Thank you for your help.

Regards,
MCanuto

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

More
08 Feb 2022 10:03 #6 by MagicBuzz
Replied by MagicBuzz on topic API Documentation
Hello,

I have the same issue there.

Using EasyPHP DEVServer on Windows with ProjeQtOr 9.4.2

I enabled the rewrite module but it fails with /api/Project/all query while using api/index.php?uri=Project/all works fine.

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

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