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-18 10:11:09

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

[webservices] Delete objects

Using glpi.deleteObjects for tickets and documents, I send parameters as :
        Ticket/Document =         (
                        {
                force = 0/1
                id = xxx
            }
        )

On my localhost, everything works fine, but on live server I get something like this :
        Ticket =     (
             0
        )

And it's not deleted. Deleting them directly from GLPI desktop works. I did not configure GLPI on the live server, could there be any settings that blocks me from deleting using webservices?

Offline

#2 2015-08-25 16:18:41

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

Re: [webservices] Delete objects

You must allow distant server to make requests from webservices (in configuration of the plugin you must allow distant IP)


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

Board footer

Powered by FluxBB