...
Invoke API to get the token on the terminal.
Expand | ||
---|---|---|
| ||
|
...
Note: Every time, you will get a new token when you run the auth API.
2. Use the token and invoke Invoke data API to get the study data
...
S_ISPY(TEST)
will be the study OID from the OpenClinica.
#1step_token
Use the token from #1 step.
...
After running the data API, you will get an idea of know how much time does it take takes to invoke the study data.
What is the need behind running these APIs?
When the ‘OpenClinica Study Data Importer’ job takes more time (20-30 minutes) than an expected threshold, it becomes difficult to test the configuration every time and run the job to sync in the data.
In this case, you can cross-check the time taken by the job to complete by running these APIs using a terminal outside the OpenSpecimen.