You are not logged in.
Je suis désolé je n'ai pas assez de connaissances en français
I want to let an end user with self-service profile manage his tickets.
Get ticket data like this:
curl -X GET -H 'Content-Type: application/json' -H "Session-Token: xxxxxxxxxx" 'http://xxxxxxxxx/apirest.php/Ticket/91?expand_dropdowns=true'
Then with the URL received:
{
"rel":"Document_Item",
"href":"http://xxxxxxxxx/apirest.php/Ticket/91/Document_Item/"
},
I try to get the documents like this:
curl -X GET -H 'Content-Type: application/json' -H "Session-Token: xxxxxxxx" 'http://xxxxxxx/apirest.php/Ticket/91/Document_Item/
Getting this error:
["ERROR_RIGHT_MISSING","You don't have permission to perform this action."]
I know a user cannot access documents area in GLPI, but he can access the ones being added in the ticket.
Do you know any other way to access them?
Offline