Uploaded image for project: 'mod-finance'
  1. mod-finance
  2. MODFIN-138

Update /finance/budgets POST and PUT APIs

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Labels:
      None
    • Template:
      Thunderjet/Firebird Back-end Story Template
    • Sprint:
      ACQ Sprint 94
    • Story Points:
      5
    • Development Team:
      Thunderjet

      Description

      Purpose/Overview:
      To support UIF-212, some adjustments to /finance/budgets API have to be made.

      Requirements/Scope:

      1. Create schema that will contain budget information and expenseClasses - list of objects(expenseClassId, status)
      2. Update POST /finance/budgets and PUT /finance/budgets/id APIs:
        • to use new schema
        • to create(POST, PUT use POST /finanse-storage/budget-expense-classes), update(PUT use PUT /finanse-storage/budget-expense-classes/id), delete(PUT use DELETE /finanse-storage/budget-expense-classes/id) budget-expense-classes recorders based on expenseClasses

      Approach:
      New schema can be a composite like CompositePurchaseOrder or an extension of budget schema

      Acceptance criteria:

      • schema created
      • samples added
      • APIs updated
      • Unit tests updated
      • API tests updated

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Andrei_Makaranka Andrei Makaranka
              Reporter:
              aliaksandr_pautau Aliaksandr Pautau
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: