1164: Rename the orders endpoint that exports CSV
Test Case #:1164 | Test Case Name:Rename the orders endpoint that exports CSV |
System: OpenLMIS | Subsystem: blue |
Test case designed by: | Design Date:04.11.2016 |
Short description: Currently the requisition service has this endpoint: /orders/{id}/csv We want to make the name of the endpoint generic so we are better prepared to support other export formats in the future: /orders/{id}/export?type=csv The type=csv parameter is optional. Currently the default type is CSV. If users hit the endpoint without specifying a type, they get the CSV. Having this name convention will better prepare us to export additional types in the future. Addition of any other export formats is not part of this ticket. Acceptance Criteria
|
|
Pre – conditions: |
Step | Action | Expected system response | Comment |
1 | Check on swagger:
|
| |
2 | Check if:
| with: without: | |
3 | Check if: RAML is updated (openlmis-requisition /src/main/resources/api-definition.yaml) |
| |
4 | |||
5 |
Related content
OpenLMIS: the global initiative for powerful LMIS software