Last active
June 7, 2017 12:09
-
-
Save russellbodine/287243c211ad59bebda701c8d9e0498f to your computer and use it in GitHub Desktop.
1316 /financial_spending/object_class/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Retrieve awarded amounts for all award types | |
| Route: /financial_spending/object_class/ | |
| Method: POST | |
| This route sends a request to the backend to retrieve Spending amounts for all types for a specified toptier agency based on the fiscal year. | |
| Body (JSON) | |
| { | |
| "fiscal_year": 2017, | |
| "funding_agency_id": 1 | |
| } | |
| Body Description | |
| fiscal_year - required - an integer representing the fiscal year to filter on | |
| funding_agency_id - required - an integer representing the toptier agency ID to filter on | |
| Response (JSON) | |
| "results": | |
| [ | |
| { | |
| "major_object_class_code": "20", | |
| "major_object_class_name": "Contractual services and supplies", | |
| "obligated_amount": "174118741.57" | |
| }, | |
| { | |
| "major_object_class_code": "10", | |
| "major_object_class_name": "Personnel compensation and benefits", | |
| "obligated_amount": "231533798.05" | |
| }, … | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment