Done
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Łukasz Lewczyński
Łukasz Lewczyński(Deactivated)Reporter
Josh Zamor
Josh Zamor(Deactivated)Story Points
3
Original estimate
2d
Time tracking
1d 6h logged2h remaining
Components
Sprint
None
Fix versions
Priority
Time Assistant
Time Assistant
Created January 17, 2018 at 4:40 PM
Updated February 28, 2018 at 11:07 PM
Resolved January 25, 2018 at 12:44 PM
As an OpenLMIS developer, when building workflows I need an API that answers two questions about the Orderables that I work with so that I may know which other Orderables...
GET /api/orderableFulfills
http://jsoneditoronline.org/?id=07dd6c27c4e436f545fca7b40f874aa9
Or with search parameters:
GET /api/orderableFulfills?id=uuidX&id=uuidY&...
http://jsoneditoronline.org/?id=07dd6c27c4e436f545fca7b40f874aa9
The format of the response for both is an object whose keys are Orderable UUIDs. If the second form with search params are given, those keys will be the UUIDs given in the URI.
The value of each key is two fields:
canFulfillForMe
canBeFulfilledByMe
note: the id's here are short examples, in implementation they should all be Orderalbe UUIDs
lookout for: long URI's returning HTTP 414
AC:
A GET operation exists in Reference Data at GET /api/orderableFulfills
The response is similar to the example above
Search is possible through URI parameters, asking for specific Orderable UUIDs
do not page the response
do not etag the response