/api/v1/fact/search?concept.local-name=Assets&fact.has-dimensions=false&report.type=10-Q&period.fiscal-period=Y&entity.cik=0000789019&fields=concept.local-name,fact.value,fact.has-dimensions,report.id,period.instant.sort(DESC),report.period-end,entity.name,report.type,period.calendar-period,period.fiscal-period,period.year,period.fiscal-year,report.restated-index,report.restated,fact.ultimus-index,fact.ultimus
API call returns values such as…
{
“concept.local-name”: “Assets”,
“fact.value”: “256003000000”,
“fact.has-dimensions”: false,
“report.id”: 204168,
“period.instant”: “2018-01-01”,
“report.period-end”: “2017-12-31”,
“entity.name”: “MICROSOFT CORPORATION”,
“report.type”: “10-Q”,
“period.calendar-period”: “Y”,
“period.fiscal-period”: “2Q”,
“period.year”: 2017,
“period.fiscal-year”: 2018,
“report.restated-index”: 1,
“report.restated”: 1,
“fact.ultimus-index”: 1,
“fact.ultimus”: 1
},
But I thought I’d searched only on period.fiscal-period=Y values. And if I change report.type to 10-K, I get no values that have a period.fiscal-period=Y yet if I remove period.fiscal-period parameter altogether and just search on 10-K values, I get values back that have period.fiscal-period=Y. What am I missing?…
{
“concept.local-name”: “Assets”,
“fact.value”: “258848000000”,
“fact.has-dimensions”: false,
“report.id”: 218986,
“period.instant”: “2018-07-01”,
“report.period-end”: “2018-06-30”,
“entity.name”: “MICROSOFT CORPORATION”,
“report.type”: “10-K”,
“period.calendar-period”: “2Q”,
“period.fiscal-period”: “Y”,
“period.year”: 2018,
“period.fiscal-year”: 2018,
“report.restated-index”: 1,
“report.restated”: 1,
“fact.ultimus-index”: 2,
“fact.ultimus”: 2
},