GLPI
27 min
this connector integrates glpi project with turbine prerequisites the glpi asset requires either host, ip address, app token along with username and password or user token the glpi project allows connections only from whitelisted ip addresses please contact your glpi administrator to add your ip address to the whitelist capabilities the glpi connector provides the following capabilities add item delete item search items update item upload document configurations api key authentication authenticates using an api key configuration parameters parameter description type required url a url to the target host string required x apikey user token string required app token app token string required verify ssl verify ssl certificate boolean optional http proxy a proxy to route requests through string optional http basic authentication authenticates using username and password configuration parameters parameter description type required url a url to the target host string required username username string required password password string required app token app token string required verify ssl verify ssl certificate boolean optional http proxy a proxy to route requests through string optional actions add item add an object (or multiple objects) into glpi endpoint url apirest php/{{itemtype}} method post input argument name type required description itemtype string required type of the resource input array required input data for the action name string optional name of the resource serial string optional parameter for add item output parameter type description status code number http status code of the response reason string response reason phrase example \[ { "status code" 200, "response headers" {}, "reason" "ok", "json body" \[ {}, {}, {} ] } ] delete item delete an object existing in glpi endpoint url apirest php/{{itemtype}}/{{id}} method delete input argument name type required description itemtype string required type of the resource input array required input data for the action id number required unique identifier force purge boolean optional parameter for delete item history boolean optional parameter for delete item output parameter type description status code number http status code of the response reason string response reason phrase example \[ { "status code" 200, "response headers" {}, "reason" "ok", "json body" \[ {}, {} ] } ] search items expose the glpi searchengine and combine criteria to retrieve a list of elements of specified itemtype endpoint url apirest php/search/{{itemtype}} method get input argument name type required description itemtype string required type of the resource criteria array required parameter for search items field number optional parameter for search items searchtype string optional type of the resource value string optional value for the parameter link string optional parameter for search items meta boolean optional parameter for search items itemtype string optional type of the resource sort string optional parameter for search items range string optional parameter for search items order string optional parameter for search items forcedisplay array optional parameter for search items rawdata boolean optional response data withindexes boolean optional parameter for search items uid cols boolean optional unique identifier giveitems boolean optional parameter for search items output parameter type description status code number http status code of the response reason string response reason phrase totalcount number count value count number count value data object response data 7 object output field 7 1 string output field 1 23 string output field 23 80 string output field 80 11 object output field 11 1 string output field 1 23 string output field 23 80 string output field 80 example \[ { "status code" 200, "response headers" { "accept range" "990", "content range" "0 2/2" }, "reason" "ok", "json body" { "totalcount" 2, "count" 2, "data" {} } } ] update item update an object (or multiple objects) existing in glpi endpoint url apirest php/{{itemtype}}/{{id}} method put input argument name type required description itemtype string required type of the resource id string required unique identifier input array required input data for the action id number optional unique identifier otherserial string optional parameter for update item output parameter type description status code number http status code of the response reason string response reason phrase example \[ { "status code" 200, "response headers" {}, "reason" "ok", "json body" \[ {}, {} ] } ] upload document upload a file to glpi endpoint url apirest php/document method post input argument name type required description form data object required response data file object required binary file that you want to submit file string required parameter for upload document file name string required name of the resource data body object optional response data uploadmanifest string required parameter for upload document output parameter type description status code number http status code of the response reason string response reason phrase id number unique identifier message string response message upload result object result of the operation example \[ { "status code" 200, "response headers" {}, "reason" "ok", "json body" { "id" 1, "message" "document move succeeded ", "upload result" {} } } ] response headers header description example accept range http response header accept range 990 content range http response header content range 0 2/2 notes api reference https //github com/glpi project/glpi https //github com/glpi project/glpi