Skip to content

Instantly share code, notes, and snippets.

Retrieve Award IDs for the autocomplete text box

Route: /api/v2/autocomplete/CFDA/

Method: POST

This route sends a request to the backend to retrieve CFDA matching the specified search text.

Request example

NAICS Autocomplete

Route: /api/v2/autocomplete/naics/

Method: POST

This route sends a request to the backend to retrieve award IDs matching the specified search text.

Request example

Retrieve Award IDs for the autocomplete text box

Route: /api/v2/autocomplete/pca/

Method: POST

This route sends a request to the backend to retrieve award IDs matching the specified search text.

Request example

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

Federal Account Object Class

Route: /api/v2/federal_accounts/object_class/:federal_account_id

Method: GET

This route sends a request to the backend to retrieve relevent Object Classes for the specified Federal Account

Response (JSON)

Retrieve PSC from the autocomplete text box

Route: /api/v2/autocomplete/PSC/

Method: POST

This route sends a request to the backend to retrieve a partial or complete matching the specified search text.

Request example

Retrieve NAICS from the autocomplete text box

Route: /api/v2/autocomplete/naics/

Method: POST

This route sends a request to the backend to retrieve a partial or complete matching the specified search text.

Request example

@russellbodine
russellbodine / MetaData.md
Last active June 30, 2017 13:30
Meta Data

V1 API RESPONSE

"page_metadata": {

    "count": 5,

    "page": 1,

"has_next_page": false,

@russellbodine
russellbodine / Budget_Authority_Agency.MD
Last active June 22, 2017 21:03
Budget authority for agency (v2)

Retrieve agency

Route: /api/v2/financial_balances/agencies/?fiscal_year=2017&funding_agency_id=246

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/