...
authorization: will be provided by admin
Mandatory parameters - you must provide at least one fo the following parameters
Parameter | dhis2 attribute | description |
---|---|---|
coordinates | core Org Unit geometry | |
code | core Org Unit Code | |
uid-exact match | ||
uid-parent |
Optional parameters
Parameter | Default value, if not provided | |
---|---|---|
number | limit | 10 |
distance | calculation | 100 |
unit | ||
phone | core | |
tag | custom Org Unit attribut | |
services |
payload: :
Code Block | ||
---|---|---|
| ||
{
"number": 10,
"distance": 5,
"unit": "km",
"coordinates": "lat,lng",
"iso": "KE", ---> Remove
"services": "service1,service2",
"uid": 'q13we2452wsd',
"code": "CODE-123",
"contraception": "iud,imp",
"tags": "tag1,tag2",
"type": "Public",
"area": "Managua",
"subArea": "Ciudad Sandino",
"phonenumber": "180999093107",
"wap": "977984123145",
"facebook": "https://fb.me/facility1"
} |
...