fedspendingtransparency / data-act-broker-backend

Services that power the DATA Act's central data submission platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to get D1, D2, GTAS data when running local env of data act broker backend

samishra1 opened this issue · comments

Hello,

When using the local environment of the data act broker where can we get the most current D1, D2, SF133 and GTAS data? Is there a configuration option which allows it to access it directly from treasury? Without these files, the validation on local env will always create the relevant submission errors/warnings.

When I tried using the /v1/generate_file/ API to download D1 data, it returned the file url as '#'. Please see full response from the API below
Input:
{
"submission_id": 2,
"file_type": "D1",
"start": "01/10/2017",
"end": "12/31/2017"
}

Output:
{
"url": "#",
"status": "waiting",
"end": "12/31/2017",
"size": null,
"start": "01/10/2017",
"file_type": "D1",
"message": ""
}