Activity #4246
openFeature #64: DigiPatho App -- Development, Validation, Certification and Deployment of App
Module #4210: Enhancements for Follow-up Survey Handling in the App
Sub module #4211: Download & Sync by Area
Activity #4212: Implement data download and synchronization for a selected area (e.g., Colony).
Create API for Downloading Colony-Related Data
100%
Description
Please share sample request and response schema
Updated by Sneha K V 10 months ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Request :
{"area": "HS40", "district": 14, "lsg_type_id": 3, "village": 1398, "asha_name": "Veena", "asha_contact": 9786567865, "stp_name": "Krishna", "stp_contact": 9765546589, "lsg_id": 1105, "block_panchayat": 1073, "panchayat": 814, "ward_no": 13861, "colony_name": "CO3202"}
Response:
{
"resultJson": [
{
"row_no": 1,
"fam_survey_details": {
"fam_data": [
{
"fs_fam_id": 2789,
"inst_id": "HS40",
"survey_user_id": 3456,
"village_id": 1398,
"ward_id": 13861,
"fam_head": "rajan",
"ph_no": "9765853678",
"mem_count": 5,
.........
.........
........
},
{
"fs_fam_id": 3568,
"inst_id": "HS40",
"survey_user_id": 3456,
"village_id": 1398,
"ward_id": 13861,
"fam_head": "Arjun",
"ph_no": "8945678945",
"mem_count": 5
.......
.......
......
}
],
"person_data": [
{
"fs_per_id": 14345,
"fs_fam_id": 2789,
"name": "vanaja",
"fam_head": "rajan",
"gender_id": 1,
"age": 25,
......
......
},
{
"fs_per_id": 14328,
"fs_fam_id": 2789,
"name": "vidya",
"fam_head": "rajan",
"gender_id": 2,
"age": 30,
.......
.......
}
],
"pre_scr_smoking_data": [
{
"global_fs_per_id": "PER241616",
"do_smoking": "1",
"what_smoke": [
"cigarette",
"bidi"
],
.......
.......
},
{
"global_fs_per_id": "PER241620",
"do_smoking": "1",
"what_smoke": [
"cigarette"
],
.......
.......
}
],
"pre_scr_dia_data": [
......
],
"pre_scr_bp_data": [.....],
"pre_scr_tobacco_data": [.....],
"pre_scr_alcoholism_data": [...],
"pre_scr_oral_data": [....],
"pre_scr_lungs_data": [....],
"pre_scr_eye_data": [...],
"pre_scr_tuberculosis_data": [....],
"pre_scr_sicklecell_data": [...],
"pre_scr_uterine_data": [...],
"pre_scr_breast_data": [...],
"pre_scr_depression_data": [....],
"pre_scr_otherdiseases_data": [....]
}
}
]
}