We hope you'll join us for our 4/23 webinar on using data tables to apply reference ranges and AE codes in OC4. For more information and to register, visit https://register.gotowebinar.com/register/2882170018956684555

API Documentation

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?
Tagged:

Comments

  • GerbenRienkGerbenRienk Posts: 818 ✭✭✭
    Hi,
    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
  • medonjamedonja Posts: 5
    Hi Gerben,

    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
Sign In or Register to comment.