Retrieve agency
Route: api/v2/references/agency/:id
Method: GET
This route sends a request to the backend to retrieve an agency.
PARAMETER
| Documenting 2 endpoints for permalink creation. | |
| Filter endpoint used to create hash. | |
| POST to: | |
| {{url}}/api/v1/references/filter/ | |
| BODY: | |
| { | |
| "data": {"test" : "test4"} #whatever filter json u want goes as the body!!!! |
| 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) |
Retrieve agency
Route: api/v2/references/agency/:id
Method: GET
This route sends a request to the backend to retrieve an agency.
PARAMETER
Geo Locate Endpoint
This route sends a request to the backend to retrieve a single award's data.
Change requested: add location search and result
Route: api/v1/references/locations/geocomplete/
V1 API RESPONSE
"page_metadata": {
"count": 5,
"page": 1,
"has_next_page": false,
| Retrieve all toptier agencies data | |
| Route: api/v2/references/toptier_agencies/ | |
| Method: GET | |
| This route sends a request to the backend to retrieve an agency. | |
| EXAMPLE RESULTS |