Closed vincent-karuri closed 6 years ago
Some endpoints e.g dispensable, trade items, commodity types are not returning server versions on the get or sync endpoints
Having update and add on the same endpoint is not a good api design practice. POST should not be used to update as a convention. SG: Its a convention on OpenSRP batch endpoints
... incase OpenLMIS is not being used
Could you explain what this means? SG: Trade items, Commodity types, Orderables, etc will be maintained by an OpenSRP administrator . Having two endpoints and deciding whether its an update or new is a bit cumbersome
I have updated the json data and removed the server version when posting. Try using that data instead. Server versions show for me.
Batch POST endpoints do not update data.
Configure opensrp-server-openlmis to build a jar file that can be imported into, among others, the OpenSRP server.
See issue #8