Tripletex / Tripletex/tripletex-api2
Expose "Leveres" and "Plukket" in GET and PUT /order/orderline/{id}
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 49
- Forks
- 47
- Avg merge
- 1h 1m
- Merged PRs (30d)
- 1
Description
As "Leveres" in the GUI maps to field "count" i the API for HTTP GET /order/orderline/{id}, we would also like to expose the actual quantity ordered aka "Bestilt", and the picked flag "Plukket" indicating if the orderline is picked.
Then when we can fetch these fields from the API, we would also like to update them with a HTTP PUT /order/orderline/{id} request.
Is that feasible?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the implementations for GET and PUT /order/orderline/{id}. Check how count is currently exposed and identify the existing representations for ordered quantity and picked status. Done means GET returns Bestilt and Plukket, while PUT accepts and persists updates to both fields.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, backend-api-design
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100