cancel
Showing results for 
Search instead for 
Did you mean: 

Audit query with complex value

macti
Champ in-the-making
Champ in-the-making
Hello,

I need to query the audit Web script (/alfresco/service/api/audit) with a complex value that looks like this:

                     "\/ApplicationLog\/CREATED\/result\/someValue":"{prenom=Andr\u00e9 Jean, personFullName=Administrator, nom=Suta}"

So from my understanding, I should be able to query with:

http://localhost:8080/alfresco/service/api/audit/query/ApplicationLog/CREATED/result/someValue?value... Jean, personFullName=Administrator, nom=Suta}"
But that didn't work. I also tried without the brackets:

http://localhost:8080/alfresco/service/api/audit/query/ApplicationLog/CREATED/result/someValue?value... Jean, personFullName=Administrator, nom=Suta"
without the double quotes,

http://localhost:8080/alfresco/service/api/audit/query/ApplicationLog/CREATED/result/someValue?value... Jean, personFullName=Administrator, nom=Suta}
But I don't get any results back.
1 REPLY 1

afaust
Legendary Innovator
Legendary Innovator
Hello,

you can't query audit entries by complex values / objects. You can only query by simple values like a string or numerical.

Regards
Axel