AnsweredAssumed Answered

Audit query with complex value

Question asked by macti on Oct 1, 2012
Latest reply on Oct 2, 2012 by afaust
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='{prenom=Andr\u00e9 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='prenom=Andr\u00e9 Jean, personFullName=Administrator, nom=Suta"
without the double quotes,

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

Outcomes