I have used web-api to register event in DHIS2- 2.36/37, By identified the DE USING name, but I found the option dataElementIdSchema=name can’t work, I don’t know why
{url}/api/36/events?dataElementIdSchema=name.
got response:
…
“description” : “Data Values [ (DE name), ] ignored because not defined in program stage IX46IRxFd1T”,
“importCount” : {
“imported” : 1,
“updated” : 0,
“ignored” : 0,
“deleted” : 0
},
“conflicts” : [ ],
“reference” : “AXqMovVRPnQ”,
“href” : “http://100erp.f3322.net:7008/api/events/AXqMovVRPnQ”
} ],
“total” : 1,
…
have regster a null event, with no DE values.