Skip to content

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.

2 participants