Done
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Przemysław Studziński
Przemysław StudzińskiReporter
Paweł Gesek
Paweł GesekStory Points
2
Original estimate
4h
Time tracking
Components
Sprint
None
Fix versions
Priority
Time Assistant
Time Assistant
Created April 3, 2017 at 3:35 PM
Updated April 12, 2017 at 9:14 AM
Resolved April 10, 2017 at 8:11 AM
Lot is defined in https://openlmis.atlassian.net/browse/OLMIS-2262#icft=OLMIS-2262 To Do (pay attention to optional and required fields)
Endpoint: PUT / api/lots/{id} - update or replace a Lot by UUID
Acceptance criteria:
The endpoint allows updating or replacing existing lots using their UUID
The endpoint validates lot fields based on the field description from https://openlmis.atlassian.net/browse/OLMIS-2262#icft=OLMIS-2262 - required fields, the existence of the related trade item
The endpoint is secured and accessible only to those with the ORDERABLES_MANAGE permission
Lots are described here:
https://openlmis.atlassian.net/wiki/display/OP/Lot+Management+for+Stock+Service+in+3.1