Skip to content

Instantly share code, notes, and snippets.

@russellbodine
Last active December 27, 2017 20:00
Show Gist options
  • Save russellbodine/31533ef08ac58bf118a9a8b973c5446e to your computer and use it in GitHub Desktop.
Save russellbodine/31533ef08ac58bf118a9a8b973c5446e to your computer and use it in GitHub Desktop.

Federal Account Description

Route: /api/v2/federal_accounts/<PK>/description/

GONE

Method: GET

This route takes a Federal Account DB ID and returns Description and summary fields.

Response (JSON)

{
    "results": {
    	"description": "",
	"summary": ""
	"total budgetary athority"
	'balence brought forward'
	'new apropriations'
	'obligations incured'
	
	}
}

Errors

Possible HTTP Status Codes:

  • 400 : Missing parameters or limit is not a valid, positive integer
  • 500 : All other errors
{
  "detail": "Sample error message"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment