Skip to content

Commit

Permalink
[MODFISTO-500] - Implement endpoint to return all finance data for FY
Browse files Browse the repository at this point in the history
  • Loading branch information
azizbekxm committed Nov 14, 2024
1 parent e4b4cda commit bdf2fc8
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
16 changes: 16 additions & 0 deletions mod-finance/examples/fy_finance_data.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"fiscalYearCode": "FY2023",
"fundId": "123e4567-e89b-12d3-a456-426614174000",
"fundCode": "FND001",
"fundName": "General Fund",
"fundStatus": "Active",
"fundTags": {
"tagList": ["Education", "Research"]
},
"budgetId": "123e4567-e89b-12d3-a456-426614174001",
"budgetName": "Annual Budget",
"budgetStatus": "Active",
"budgetInitialAllocation": 1000000,
"budgetAllowableExpenditure": 80,
"budgetAllowableEncumbrance": 90
}
37 changes: 37 additions & 0 deletions mod-finance/examples/fy_finance_data_collection.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"fyFinanceData": [
{
"fiscalYearCode": "FY2023",
"fundId": "123e4567-e89b-12d3-a456-426614174000",
"fundCode": "FND001",
"fundName": "General Fund",
"fundStatus": "Active",
"fundTags": {
"tagList": ["Education", "Research"]
},
"budgetId": "123e4567-e89b-12d3-a456-426614174001",
"budgetName": "Annual Budget",
"budgetStatus": "Active",
"budgetInitialAllocation": 1000000,
"budgetAllowableExpenditure": 80,
"budgetAllowableEncumbrance": 90
},
{
"fiscalYearCode": "FY2023",
"fundId": "123e4567-e89b-12d3-a456-426614174002",
"fundCode": "FND002",
"fundName": "Research Fund",
"fundStatus": "Frozen",
"fundTags": {
"tagList": ["Science", "Innovation"]
},
"budgetId": "123e4567-e89b-12d3-a456-426614174003",
"budgetName": "Research Budget",
"budgetStatus": "Planned",
"budgetInitialAllocation": 500000,
"budgetAllowableExpenditure": 70,
"budgetAllowableEncumbrance": 85
}
],
"totalRecords": 2
}

0 comments on commit bdf2fc8

Please sign in to comment.