yuuvis® RAD Q&A

0 votes
by (160 points)

I try to search for documents in a specific folder with the ResultService.getJsonQueryResult endpoint.

URL:
/rest-ws/service/result/query?type={document_type}&fields=**

JSON:
{ "type": "Anschreiben", "{folder_type}.id": "D707C16EB963411E91A1D9FAEA048E46" }

  • {folder_type} is the type name of the folder
  • {document_type} os the typename of the document

How can I address a system field in this kind of requests?

Is seems to addess "normal" folder field with {folder_type}.field1 so I guess there is something like a required prefix.

Best regards
Uli

1 Answer

0 votes
by (160 points)

ok, just found the answer after I press send... :)

It seems to be {folder_type}.sysitemid. I found a eSQL example in this post from Marco and Nicolai.

Is there a list of all possible system fields?

...