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 2015-08-14 11:56:19

alexandru.ionut
Member
Registered: 2015-07-17
Posts: 7

[webservices] Set Satisfaction bug

These are the parameters I use in my requests:

Parameters {
    comment = "test validation";
    satisfaction = 2;
    session = x;
    ticket = 43;
} for glpi.setTicketSatisfaction

This is the response I get:

error Not found (satisfaction)

Offline

#2 2015-08-14 14:34:35

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

Re: [webservices] Set Satisfaction bug

HI,
GLPI version
WebservicePluginversion ?

is ticket #43 closed and waiting for satisfaction  ?
can the user corresponding to  sessionid="x" answer to satisfaction on this ticket (without webservices) ?


Trouver la panne avant de réparer...
GLPI10.0.16 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.3 reports 1.16.0 formcreator 2.13.9, datainjection 2.13.5 fields 1.21.9

Offline

#3 2015-08-14 15:38:15

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: [webservices] Set Satisfaction bug

You have this message if you don't have right to read the ticket 43


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#4 2015-08-17 14:32:33

alexandru.ionut
Member
Registered: 2015-07-17
Posts: 7

Re: [webservices] Set Satisfaction bug

GLPI version : 0.84.8
Webservice version : 1.4.3

Ticket is closed, but what do you mean "waiting for satisfaction". Is there something else that needs to be set, to add satisfaction?

The user corresponding to the sessionid is the same user who made the ticket

Offline

#5 2015-08-17 14:35:57

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

Re: [webservices] Set Satisfaction bug

in GLPI, on the ticket view can you see the satisfaction tab ? (betwenn solution and statistics).


Trouver la panne avant de réparer...
GLPI10.0.16 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.3 reports 1.16.0 formcreator 2.13.9, datainjection 2.13.5 fields 1.21.9

Offline

#6 2015-08-17 14:48:18

alexandru.ionut
Member
Registered: 2015-07-17
Posts: 7

Re: [webservices] Set Satisfaction bug

No, I can't. What to do in order to see that tab?

Offline

#7 2015-08-17 14:56:10

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

Re: [webservices] Set Satisfaction bug

first step : get the satisfaction tab.
second step : use webservices.

youy have to set your entities :
administration>entities>[select Root entity or what you want]>Assistance TAB>
-configuring the satisfaction survey="Internal"
-create survey after 0 day
-rate to trigger survey : 100%

(if it works so, then choose your own values)

close a ticket and watch if you can see internalsurvey tab


Trouver la panne avant de réparer...
GLPI10.0.16 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.3 reports 1.16.0 formcreator 2.13.9, datainjection 2.13.5 fields 1.21.9

Offline

#8 2015-08-17 15:03:33

alexandru.ionut
Member
Registered: 2015-07-17
Posts: 7

Re: [webservices] Set Satisfaction bug

Satisfaction works now. Thank you

Offline

#9 2015-08-17 15:15:33

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

Re: [webservices] Set Satisfaction bug

then you can try webservices.
it should now work with your parameters.


Trouver la panne avant de réparer...
GLPI10.0.16 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.3 reports 1.16.0 formcreator 2.13.9, datainjection 2.13.5 fields 1.21.9

Offline

#10 2015-08-17 15:25:02

alexandru.ionut
Member
Registered: 2015-07-17
Posts: 7

Re: [webservices] Set Satisfaction bug

Already did, it works just fine

Offline

Board footer

Powered by FluxBB