Route: /api/v2/financial_balances/agencies
Method: GET
This route retrieves financial balance information by funding agency and fiscal year
/api/v2/financial_balances/agencies?funding_agency=775&fiscal_year=2017
fiscal_year
- required - an integer representing the fiscal year to filter onfunding_agency_id
- required - an integer representing the funding agency ID to filter on (should be an agency_id flagged as top tier)
"results": [
{
"budget_authority_amount": "120112040.58",
"obligated_amount": "299640.00",
"outlay_amount": "8063724.83"
}
]
This is slightly different than the proposed POST
POST /financial_balances/agencies/{pk}
in the Word doc. It leaves off the agency{pk}
piece of the endpoint because:agencies/{pk}
construct makes it seem like the the response would be an agency object, when it's actually a financial_balances objectfiscal_year
removed from response since it's required as a request param