AnsweredAssumed Answered

Ticket owner through Restful API call

Question asked by georgewww on Apr 13, 2019
Latest reply on Apr 16, 2019 by kgastaldo

Hello

I'm trying to find the owner of the ticket through API REST call, any idea? 

http://127.0.0.2:8081/alfresco/service/api/people/admin?alf_ticket=TICKET_aa4fe06e208bdc10a551b17d43626ef8df3174f9

with this call, it gets you any person you put in place of the 'admin' parameter

 

 

http://127.0.0.2:8081/alfresco/service/api/login/ticket/TICKET_aa4fe06e208bdc10a551b17d43626ef8df3174f9?alf_ticket=TICKET_aa4fe06e208bdc10a551b17d43626ef8df3174f9

this will get you that is valid ... but whos the owner? To whom the ticket belongs? I need the username somehow without asking her password (i can ask for username). 

 

Or at least somehow to send the ticket and username and get a response if that username is the owner of the ticket. e.g.

http://127.0.0.2:8081/alfresco/service/api/fantastic-API/george?alf_ticket=TICKET_aa4fe06e208bdc10a551b17d43626ef8df3174f9

response: YES (George is the owner of that ticket)

                 NO (George is not the owner of that ticket)

 

Thank you all!!!

Outcomes