I have been trying to use
BatchQueryUpdateFields function in API REST without success.
Documentation explains that q parameter is the query to select documents to update. Here is one example of what I am trying to do.
POST /DocuWare/Platform/FileCabinets/<filecabinetid>/Operations/BatchQueryUpdateFields?q=W1NUQVRVU109RU1QVFkoKQ%3D%3D
q parameter is Base64 encoded
I get an error response:
{"ShowException":false,"Message":"The expression type [[STATUS]=EMPTY()] is not recognized","Exception":"UnprocessableEntityException: The expression type [[STATUS]=EMPTY()] is not recognized","Uri":"http://<host>/DocuWare/Platform/FileCabinets/<filecabinetid>/Operations/BatchQueryUpdateFields?q=W1NUQVRVU109RU1QVFkoKQ%3D%3D","Method":"POST","StatusCode":422,"Status":"Unprocessable Entity","InternalCode":0}
I have tried several conditions:
[STATUS]=EMPTY()
[STATUS]=1
[TIPODOCUMENTO]="REGISTRO"
But none has been successful.
I hope someone can help me.