Last active
April 19, 2019 19:33
-
-
Save aleksa-krolls/40d212ab6de7a47db9c92731bae1e570 to your computer and use it in GitHub Desktop.
Example payload for creating & enrolling a TEI in the Farmer Tracker program
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"trackedEntity": "UgB6oOE7jYb", | |
"orgUnit": "dVtKvuWFMaP", | |
"attributes": [ | |
{ | |
"attribute": "kKbVP14xj1A", | |
"value": "A35789235" | |
}, | |
{ | |
"attribute": "mrRDbHRkOSV", | |
"value": "A35789235Farmer 3" | |
}, | |
{ | |
"attribute": "HA0tSkhQSzU", | |
"value": "Farmer 3" | |
}, | |
{ | |
"attribute": "OEoCWCPvYQt", | |
"value": "Gorigo Tsambaki A Alheri Women FADAMA Farmers Cooperative Society LTD " | |
} | |
], | |
"enrollments": [ { | |
"orgUnit": "dVtKvuWFMaP", | |
"program": "IrV2DDQkGvJ", | |
"enrollmentDate": "2019-04-19", | |
"incidentDate": "2019-04-19" | |
} ] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment