I'm writing a tool that will talk to our internal service to get PersonID and than talk to OpenClinica to find corresponding study subject, get all scheduled events and generate links to them. E.g. link would look like /OpenClinica/ViewEventDefinitionReadOnly?id=11
The problem is that 11 here is the databse record primary key(?), but I can only query web service/rest for OIDs.
Is there any way to get those IDs through web service? Or may be navigate in GUI to Study Subjects or Events using OID or any other accessible ID instead of database key?
I'm on the latest stable version of OpenClinica.