We are currently working on the forum. For the short-term, all forum content will be in read-only format. We apologize for the interruption and look forward to collaborating with you shortly. All the best in your research!
I am wondering how accurate and up-to-date the REST API Documentation at
https://dev.openclinica.com/apidoc/ is?
I have tried to call the /pages/odmk/studies/S_DEFAULTS1/metadata endpoint as described in the documentation in order to retrieve the default study's metadata, however, all I get is an empty 200 response. Then again, this page
https://docs.openclinica.com/3.1/technical-documents/rest-api-specifications/read-openclinica-odm-metadata-rest-service mentions the somewhat different endpoint pages/rule/studies/S_DEFAULTS1/metadata, which is, I believe, returning the same data the endpoint from the API documentation intended to provide.
I am using OpenClinica Community Edition 3.13.
Can someone more experienced with consuming the API elaborate a bit about the difficulties and obstackles that one could encounter when writing a REST client for OpenClinica?
0
Comments
I think the end-point documentation you mention is for oc4 only.
With oc313 you should be able to use
/rest/metadata/xml/view/S_DEFAULTS1
Kind regards,
Gerben Rienk
thanks for the reply, I will try to go with this endpoint
However, I feel a bit frustrated, since I have nowhere seen this endpoint before. Is there perhaps some comprehensive documentation for oc313 available online?
Best regards,
Marko