You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2021-01-22 00:19:15

matheusvassoler
Member
Registered: 2021-01-22
Posts: 1

How to get data from FormCreator using GLPI API?

Hello!

Is there a way to get data from my formcreator using glpi api?

I can do login and create ticket using API, but I don't know if exists a way to get data from form creator.

Example, I have a form with select field (select printers code) and I would like to get the description of the field and its content.

Offline

#2 2021-01-22 18:39:58

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,146

Re: How to get data from FormCreator using GLPI API?

you can get description  of the question using    .../apirest.php/PluginFormcreatorQuestion/
you can get answer  to this question using : /apirest.php/PluginFormcreatorAnswer/


Trouver la panne avant de réparer...
GLPI10.0.10 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.2 reports 1.16.0 formcreator 2.13.8, datainjection 2.13.4 fields 1.21.6

Offline

#3 2021-05-06 14:55:13

mkdalmam
Member
Registered: 2021-03-21
Posts: 9

Re: How to get data from FormCreator using GLPI API?

LaDenrée wrote:

you can get description  of the question using    .../apirest.php/PluginFormcreatorQuestion/
you can get answer  to this question using : /apirest.php/PluginFormcreatorAnswer/


Hello, I am currently using GLPI 9.5.4 + Form Creator 2.11.2.
Could someone explain to me better how to do this that was talked about above?
I'm starting now with GLPI + API + FormCreator.
Thank you for your help.

Offline

#4 2021-05-06 15:02:05

Jean-Christophe
Moderator
Registered: 2007-08-22
Posts: 734

Re: How to get data from FormCreator using GLPI API?

First, start with some basic GLPI item (native, not from a plugin).
Try to get your API working to retrieve a computer by its id, for instance.

Then, when you are comfortable with the API, you can go a little deeper in the plugins objects.

Offline

Board footer

Powered by FluxBB