Hello Harm,
The file_id parameter is an optional parameter that is only used for browser caching purposes. When the file_id is provided, Indicium will include a header in the response that instructs the browser to cache the response for that URL. When the file_id is not included (or file_id=null), the URL is not specific enough to allow the browser to cache it, but the request will work just fine.
You can only obtain the file_id by sending a request for the subject and including an $eager querystring parameter with a comma-separated list of file columns for which you want a file_id. So in your example, if you鈥檇 send this request:
GET
https://..../entity_document(ent_id=11111,doc_id=999999)?$eager=doc_url
You would see the download URL in the response with the file_id included.
https://..../entity_document(ent_id=11111,doc_id=999999)/STT.download_doc_url(file_id='123456')
Now I can imagine that this is not an option for you, so you could just do this instead:
https:
I hope that helps.