GetFinancialReportItem
Description
Returns a Financial Report filtered by input parameters. When any of the parameters is missed, then the default value is used.
Input Parameters
Parameter | Description |
---|---|
| To use the Q4 API, you need to have an application key. We use this to track API usage. Currently, the use of the API is allowed only with prior permission. Requests for API keys are reviewed by staff. Please get in touch with support to get the API Key. |
| Specifies the language for which financial reports should be returned. The default value is 1 (English). |
| Specifies the item's unique workflowId. This is the mandatory parameter. |
Sample URL
https://cdn.domain.com/feed/FinancialReport.svc/GetFinancialReportItem?apiKey=00000000000000000000000000000000&languageId=1&workflowId=5641eb40-cde3-4266-8587-bb2970d1f51a
Sample Request
var data = {
apiKey: apiKey,
languageId: 1,
workflowId: "5641eb40-cde3-4266-8587-bb2970d1f51a"
}
$.ajax({
type: "GET",
url: "http://www.domain.com/feed/FinancialReport.svc/GetFinancialReportItem",
data: data,
dataType: "json",
success: OnLoadSuccess,
error: OnLoadError
});
Sample Response
{
"GetFinancialReportItemResult": {
"CoverImagePath": "",
"Documents": [{
"DocumentCategory": "",
"DocumentFileSize": null,
"DocumentFileType": null,
"DocumentId": 7128,
"DocumentOrder": 1,
"DocumentPath": "http://cdn.domain.com/files/doc_financials/2012_Q2_CompanyX_FinancialStatements_EN.pdf",
"DocumentTitle": "Financial Statements and Notes ",
"DocumentType": "File",
"LanguageId": 1,
"ReportWorkflowId": "5641eb40-cde3-4266-8587-bb2970d1f51a",
"RevisionNumber": 26450,
"ThumbnailPath": null,
"WorkflowId": "ecfd853c-c25d-401c-ac28-f389e3836129"
},
{
"DocumentCategory": "",
"DocumentFileSize": null,
"DocumentFileType": null,
"DocumentId": 7127,
"DocumentOrder": 2,
"DocumentPath": "http://cdn.domain.com/files/doc_financials/2012_Q2_CompanyX_MD&A_EN.pdf",
"DocumentTitle": "Management Discussion and Analysis",
"DocumentType": "File",
"LanguageId": 1,
"ReportWorkflowId": "5641eb40-cde3-4266-8587-bb2970d1f51a",
"RevisionNumber": 26449,
"ThumbnailPath": null,
"WorkflowId": "6003475f-efd9-4bff-a97f-63f353c96b82"
},
{
"DocumentCategory": "",
"DocumentFileSize": null,
"DocumentFileType": null,
"DocumentId": 7126,
"DocumentOrder": 3,
"DocumentPath": "http://cdn.domain.com/files/doc_financials/2012_Q2_ProjectX_Presentation_EN.pdf",
"DocumentTitle": "Financial Highlights Presentation",
"DocumentType": "File",
"LanguageId": 1,
"ReportWorkflowId": "5641eb40-cde3-4266-8587-bb2970d1f51a",
"RevisionNumber": 26448,
"ThumbnailPath": null,
"WorkflowId": "42309b27-4e35-4741-a979-8ca21c94861b"
},
{
"DocumentCategory": "",
"DocumentFileSize": null,
"DocumentFileType": null,
"DocumentId": 7129,
"DocumentOrder": 999,
"DocumentPath": "http://cdn.domain.com/English/Media-Center/News-Releases/News-Release-Details/2012/ProjectX-reports-strong-second-quarter-results1130575/default.aspx",
"DocumentTitle": "Press Release",
"DocumentType": "Online",
"LanguageId": 1,
"ReportWorkflowId": "5641eb40-cde3-4266-8587-bb2970d1f51a",
"RevisionNumber": 26485,
"ThumbnailPath": null,
"WorkflowId": "cc6dc01b-a3ef-450f-a0a4-8009a9a1d1e5"
}
],
"LanguageId": 1,
"ReportDate": "06/30/2012 00:00:00",
"ReportId": 2634,
"ReportOrder": 57,
"ReportSubType": "Second Quarter",
"ReportTitle": "Second Quarter 2012",
"ReportYear": 2012,
"RevisionNumber": 26451,
"TagsList": ["Q2"],
"WorkflowId": "5641eb40-cde3-4266-8587-bb2970d1f51a"
}
}