---
# System prepended metadata

title: Health Trackers for Programs

---

# Health Trackers for Programs

## Get trackers data

GET Request (/programs/{id}/health-trackers/)

- Get me all the trackers with their data collection boolean.

Response 
```
{
    "steps_tracker": true, 
    "mvpa_tracker": true,
    "weight_tracker": false,
    "blood_pressure_tracker": false,
    "waist_circumference_tracker": false,
    "a1c_blood_sugar_tracker": false,
    "self_report_tracker": false,
    "steps_tracker_data_collection": true, 
    "mvpa_tracker_data_collection": false,
    "weight_tracker_data_collection": false,
    "blood_pressure_tracker_data_collection": false,
    "waist_circumference_tracker_data_collection": false,
    "a1c_blood_sugar_tracker_data_collection": false,
    "self_report_tracker_data_collection": false,
}
```

## Change trackers data

POST Request (/programs/{id}/health-trackers)

- Changes fields according to the request. 

Request 

- This request outlines that the trackers and data_collection arrays should be true and others should be false. 

*(Arrays because you already have code for this)*

```
{
    trackers: ["steps_tracker", "waist_circumference_tracker"],
    data_collection: ["waist_circumference_tracker_data_collection"]
}
```

Response 

- Response should be 200 OK

