-
Notifications
You must be signed in to change notification settings - Fork 0
Interacting with Klipfolio API from command line
- Run all commands from Git Bash or Terminal
- All examples are interacting with a specific Klipfolio endpoint that corresponds to CWS reports
curl https://app.klipfolio.com/api/1/datasources/f4fe3331f22c309aa31d3f69bfd1a0df/properties -X GET --header "kf-api-key:213a14d1e6e39c078bdecc0a6ae128d2749cef5c" -H Content-Type:application/json
Set the Klipfolio properties via PUT request (example is setting endpoint URL, replace 23 with desired patient's key)
curl https://app.klipfolio.com/api/1/datasources/f4fe3331f22c309aa31d3f69bfd1a0df/properties -X PUT -d "{'properties':{'endpoint_url':'http://quickforms3.eecs.uottawa.ca/quickforms/getResultSet?app=cws&queryLabel=getSummaryDataForKlipfolio&whereclause=patientsKey=23¶ms='}}" --header "kf-api-key:213a14d1e6e39c078bdecc0a6ae128d2749cef5c" -H Content-Type:application/json
-
A successful request will return {"meta":{"success":true,"status":200},"data":{}}
-
After running PUT request, run the GET request and verify the endpoint URL was changed to your input URL
-
See the Klipfolio API docs for more commands: https://apidocs.klipfolio.com/reference#data-source-properties
Currently, the application sets the patient's key automatically when a patient is selected, this issue describes the process: https://github.com/uoForms/quickforms3/issues/92
-
Quickforms Basics
-
Tutorials
- Setup Tutorials
- App Development Tutorials
-
Assignments
-
Project
-
Applications
-
Quickforms Advanced
- Project With Database
- Advanced Setup
- HealthApp with Database
- Source Control
- Joining the Team
- Cordova Native Application
- Miscellaneous
- Project With Database
-
-
Form Controls
-
App Controls
-
Report Controls
-
Server Controls
-
Quickforms DAO
-
Email Notification
-
Migrating QuickForms3(Test Server) to QuickForms(Production-Server)