checkifcovid / api-app

The API provides an interface to interact with the CheckIfCovid data sets.
https://checkifcovid.com
0 stars 1 forks source link

New structure for payload #19

Closed iwoork closed 4 years ago

iwoork commented 4 years ago

sample payload:

{
age: "11-30"
calendar: {
  tested: "04/10/2020", 
  onset: "04/10/2020", 
  subsided: "04/11/2020"
},
country: "United States of America",
country_code: "US",
diagnosis: {tested: "yes", result: "positive"},
gender: "male",
postcode: "11367",
report_date: Thu Apr 23 2020 18:39:57 GMT-0400 (Eastern Daylight Time),
report_source: "survey_app",
survey_id: "001",
symptoms: {shortness_breath: true, cough: true, fever: true},
user_id: "d756ca-a145-fe24-01a-f4522d44087"
}
rashnil-git commented 4 years ago

as discussed use report_source: report_diagnosis. survey_id: "002"

rashnil-git commented 4 years ago

This is done