Route: /api/v2/award_spending/recipient
Method: GET
This route sends a request to the backend to retrieve awarded amounts for all recipients for a specified awarding agency based on the fiscal year.
/api/v2/award_spending/recipient?fiscal_year=2017&awarding_agency_id=1
fiscal_year
- required - an integer representing the fiscal year to filter onawarding_agency_id
- required - an integer representing the toptier agency ID to filter on
"results": [
{
"recipient": {
"recipient_id": 123,
"recipient_name": "The Justice Management Institute"
},
"obligated_amount": "-1.52"
},
{
"recipient": {
"recipient_id": 456,
"recipient_name": "Cornerstone Assistance Network Inc."
},
"obligated_amount": "0.00"
}
]
Possible HTTP Status Codes:
- 400 : Missing parameters
- 500 : All other errors
{
"message": "Sample error message"
}