You are not logged in.
Pages: 1
Hi Guys,
I need to send an approval validation request to a user on a ticket using API
I can update it using API if i have already sended the validation request from the website:
$url=$api_url . "/Ticket/".$ticket_id."/TicketValidation/";
method PUT
$input='{ "input": {"status": '.$status.'}}';
BUT I need to send the validation request using API, can someone help me?
Thanks!
Offline
use POST method and use
$input='
{"input" :{"tickets_id": $ticket_id,
"users_id_validate": $userID,
"comment_submission": $myComment"}}';
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
Pages: 1