
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2019 04:59 AM
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.
response: YES (George is the owner of that ticket)
NO (George is not the owner of that ticket)
Thank you all!!!
- Labels:
-
Alfresco Content Services

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-14-2019 03:42 AM
Solved. Create a webscript with auth user level and return the current username.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-14-2019 03:42 AM
Solved. Create a webscript with auth user level and return the current username.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-15-2019 08:50 PM
Thanks for coming back and letting us know how you worked it out. Should help someone in the future!
