AnsweredAssumed Answered

FTS-Alfresco search query webscript with date time range via URL

Question asked by vojtechm on Dec 12, 2016
Latest reply on Dec 13, 2016 by vojtechm

Hello,

 

I need to do following query which finds me the last modified content in one hour but with no success. What could be wrong? I've searched for some example with time range but with no success to my case.

 

My query is following:

 

http://localhost:8080/alfresco/service/slingshot/node/search?lang=fts-alfresco&store=workspace://SpacesStore&q=TYPE"cm:folder" AND @cm:created:"[2016-12-12T16:00:00 TO 2016-12-12T17:00:00]"

 

I'm successful with following query example 

 

http://localhost:8080/alfresco/service/slingshot/node/search?lang=fts-alfresco&store=workspace://SpacesStore&q=TYPE:"cm:folder" AND @cm:name:"Use*"

 

but not with the upper query with datetime range. Does anyone know the syntax for this?

 

Thank you very much. 

Outcomes