Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

June odk form change #54

Open
wants to merge 2 commits into
base: feature/samiksha-enhancement
Choose a base branch
from

Conversation

yuvrajsab
Copy link
Member

Description

This PR is for changing the ODK form for the month of June

Changes

  • Change fields of EMonitoring class in e-monitoring-graphQL-model.ts file
  • Change table from monitoring_visit_new to monitoring_visit_june
  • Add mapping for survey field choices

How to test

  1. Build the project
  2. Head over to http://localhost:3001/explorer/#/EMonitoringController/EMonitoringController.create and tryout POST request
  3. Fill the data field using ODK form json response object
  "token": "string",
  "content": "string",
  "formId": "string",
  "formVersion": "string",
  "data": [
    <insert odk form response json object here>
  ],
  "additionalProp1": {}
}
  1. Goto Hasura console and browse monitoring_visit_june table, you will see the odk response is getting stored in the database

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant