csc302-spring-2021 / proj-DaTeam

CSC302 course project for DaTeam
https://dateam-frontend.herokuapp.com/
5 stars 2 forks source link

feat: added search api #212

Closed otomn closed 3 years ago

otomn commented 3 years ago

Description

Checklist

QA Steps

  1. Try the search endpoints in openapi
umar-ahmed commented 3 years ago

@otomn is there something special I need to do support searching SDCFormResponse by patientID?

I tried this body:

{
  "__class": "Query",
  "targetClass": "SDCFormResponse",
  "condition": {
    "__class": "ColumnCondition",
    "opt": "contains",
    "column": "patientID",
    "value": "a1caa8c7-d0ad-4904-96a0-ab31b5874b5e"
  }
}

and I got this

image