This endpoint returns a dictionary containing metadata about a table and a set of individual table rows for the active DABS dashboard
/v1/active_submission_table/?submission_id=123&file=B&error_level=warning&page=1&limit=10&sort=significance&order=desc
submission_id
: (required, integer) the ID of the submission to viewfile
: (required, string) The file to get the warning or error data for. Allowed values are:A
: AppropriationsB
: Program ActivityC
: Award Financialcross-AB
: cross-file between Appropriations and Program Activitycross-BC
: cross-file between Program Activity and Award Financialcross-CD1
: cross-file between Award Financial and Award Procurementcross-CD2
: cross-file between Award Financial and Award Financial Assistance
error_level
: (string) The level of error data to gather an overview for. Defaults to warning. Allowed values:warning
error
mixed
page
: (integer) the page of submissions to view (offsets the list bylimit * (page - 1)
). Defaults to1
if not providedlimit
: (integer) the total number of results to see from this request. Defaults to5
if not providedsort
: (string) What value to sort by. Defaults tosignificance
if not provided. NOTE: Some sort values have a secondary sort value to break ties. Valid values are:significance
- significancerule_label
- the label of the rule (e.g.B9
)instances
- the number of times this rule occurred in this submission/file (secondary: significance)category
- the category of the rule (secondary: significance)impact
- the impact specified for this rule (secondary: significance)description
- the description of the rule
order
: (string) the sort order. Defaults toasc
if not provided. Valid values are:desc
asc
{
"results": [
{
"significance": 1,
"rule_label": "C8",
"instance_count": 609,
"category": "Completeness",
"impact": "High",
"rule_description": "lorem ipsum whatever"
},
{
"significance": 2,
"rule_label": "C9",
"instance_count": 543,
"category": "Accuracy",
"impact": "Low",
"rule_description": "lorem ipsum dolor"
},
...
],
"page_metadata": {
"total": 20,
"page": 1,
"limit": 10,
"submission_id": 1234,
"files": ["B", "C"]
}
}
The response is a dictionary containing a list with the details of each warning with the following attributes and a metadata dictionary containing information pertaining to the table in general:
results
: ([dict]) the list of row resultssignificance
: (integer) the significance of the rule as defined by the agencyrule_label
: (string) the label associated with the ruleinstance_count
: (integer) the number of times the rule occurred within the submission/filecategory
: (string) the category associated with the rule. Possible values are:Completeness
Accuracy
Existence
impact
: (string) the impact the rule has as defined by the agency. Possible values are:Low
Medium
High
rule_description
: (string) the text of the rule
page_metadata
: (dict) metadata associated with the tabletotal
: (integer) total number of metadata rows these filters foundpage
: (integer) the current page requested by the userlimit
: (integer) the total number of results to display per page as requested by the usersubmission_id
: (integer) the submission ID selectedfiles
: ([string]) The file type(s) requested (one for single file, two for cross file)
Possible HTTP Status Codes:
- 400:
- Invalid submission
- Invalid parameter
- Missing required parameter
- FABS submission requested
- 401: Login required
- 403: Permission denied, user does not have permission to view this submission