Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add endpoint to get the definition of a spare #414

Open
2 tasks
joelvdavies opened this issue Nov 7, 2024 · 0 comments
Open
2 tasks

Add endpoint to get the definition of a spare #414

joelvdavies opened this issue Nov 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@joelvdavies
Copy link
Collaborator

joelvdavies commented Nov 7, 2024

Requires #413. Endpoint should:

  • Be a GET at /settings/spares_definition
  • Return the list of usage statuses that are classed as spares e.g.
    {
     "usage_statuses": [
       { "id": "6723a734ae807034e53cdd13", value: "In Use" },
       { "id": "6723a734ae807034e53cdd14", value: "Using" }
     ]
    }
    
@joelvdavies joelvdavies added the enhancement New feature or request label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant