Skip to main content
Skip table of contents

GetEventItem

Description

Returns an Event filtered by input parameters. When any of the parameters is missed, then the default value is used.

Input Parameters

Parameter

Description

apiKey (string)

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.

languageId (int)

Specifies the language for which financial reports should be returned. The default value is 1 (English).

workflowId (Guid)

Specifies the item's unique workflowId.  This is a mandatory parameter.

Sample URL

https://www.domain.com/feed/Event.svc/GetEventItem?apiKey=00000000000000000000000000000000&languageId=1&workflowId=ccf24d97-8e89-4fce-8a44-2001a63c9f82

Sample Request

JSON
var data = {
    apiKey: apiKey,
    languageId: 1,
    workflowId: "ccf24d97-8e89-4fce-8a44-2001a63c9f82"
};

$.ajax({
    type: "GET",
    url: "http://www.domain.com/feed/Event.svc/GetEventItem",
    data: data,
    dataType: "json",
    success: OnLoadSuccess,
    error: OnLoadError
});

Sample Response

JSON
{
    "GetEventItemResult": {
        "Attachments": [{
                "DocumentType": "file",
                "Extension": "JPG",
                "Size": "360 KB",
                "Title": "View Document",
                "Type": "Document",
                "Url": "http:\/\/www.domain.com\/files\/annual-report-2012\/alto-chicama.jpg"
            },
            {
                "DocumentType": "file",
                "Extension": "JPG",
                "Size": "130 KB",
                "Title": "View presentation",
                "Type": "Presentation",
                "Url": "http:\/\/www.domain.com\/files\/reko-diq\/01-cover.jpg"
            },
            {
                "DocumentType": "online",
                "Extension": null,
                "Size": "",
                "Title": "Check online video",
                "Type": "Video",
                "Url": "http:\/\/yourtube\/video"
            }
        ],
        "Body": "",
        "DocumentFileSize": null,
        "DocumentFileType": null,
        "DocumentPath": "",
        "EndDate": "09\/24\/2013 10:40:00",
        "EventFinancialReport": [{
            "CoverImagePath": "",
            "Documents": [{
                "DocumentCategory": "Financial Report",
                "DocumentFileSize": null,
                "DocumentFileType": null,
                "DocumentId": 7169,
                "DocumentOrder": 999,
                "DocumentPath": "http:\/\/www.domain.com\/files\/quarterly-reports\/2013\/Barrick-2013-Second-Quarter-Report.pdf",
                "DocumentTitle": "2013 Second Quarter Report",
                "DocumentType": "File",
                "IconPath": null,
                "LanguageId": 1,
                "ReportWorkflowId": "8bd9386d-2f3b-456f-8ec4-4f3335ae0bb8",
                "RevisionNumber": 65490,
                "ThumbnailPath": "http:\/\/www.domain.com\/files\/quarterly-reports\/2013\/Barrick-2013-Second-Quarter-Report.png",
                "WorkflowId": "936732ec-9f4b-4de4-ac35-da9742554b99"
            }],
            "LanguageId": 1,
            "ReportDate": "08\/01\/2013 00:00:00",
            "ReportId": 2602,
            "ReportOrder": 77,
            "ReportSubType": "Second Quarter",
            "ReportTitle": "Second Quarter 2013",
            "ReportYear": 2013,
            "RevisionNumber": 65491,
            "TagsList": [

            ],
            "WorkflowId": "8bd9386d-2f3b-456f-8ec4-4f3335ae0bb8"
        }],
        "EventId": 1167,
        "EventPresentation": [

        ],
        "EventPressRelease": [{
            "Body": null,
            "Category": "NA",
            "DocumentFileSize": null,
            "DocumentFileType": null,
            "DocumentPath": "",
            "ExcludeFromLatest": false,
            "Headline": "Barrick Reports Second Quarter 2013 Results",
            "LanguageId": 1,
            "LinkToDetailPage": "\/investors\/news\/news-details\/2013\/Barrick-Reports-Second-Quarter-2013-Results\/default.aspx",
            "LinkToPage": "00000000-0000-0000-0000-000000000000",
            "LinkToUrl": "",
            "MediaCollection": [

            ],
            "PressReleaseDate": "08\/01\/2013 06:30:00",
            "PressReleaseId": 2320,
            "ProjectWorkflowId": "00000000-0000-0000-0000-000000000000",
            "RevisionNumber": 65529,
            "SeoName": "Barrick-Reports-Second-Quarter-2013-Results",
            "ShortBody": "$8.7 billion in after-tax impairment charges, largely driven by recent declines in metal prices Strong operating results from gold and copper mines; 2013 production guidance maintained, cost guidance for both gold and copper lowered Reduced 2013 budgeted capital and costs by about $1.5 billion during the second quarter and by about $2.0 billion in H1 2013 2013 capital guidance reduced to",
            "ShortDescription": "",
            "TagsList": [

            ],
            "ThumbnailPath": "",
            "WorkflowId": "0414a55f-4e66-4e7c-8481-8ea19d40b04b"
        }],
        "EventSpeaker": [

        ],
        "ExcludeFromLatest": false,
        "FinancialReportWorkflowId": "8bd9386d-2f3b-456f-8ec4-4f3335ae0bb8",
        "IsWebcast": false,
        "LanguageId": 1,
        "LinkToDetailPage": "\/investors\/presentations\/presentation-details\/2013\/2013-Denver-Gold-Forum\/default.aspx",
        "LinkToUrl": "",
        "Location": "",
        "PressReleaseWorkflowId": "0414a55f-4e66-4e7c-8481-8ea19d40b04b",
        "ProjectWorkflowId": "00000000-0000-0000-0000-000000000000",
        "RevisionNumber": 66025,
        "SeoName": "2013-Denver-Gold-Forum",
        "StartDate": "09\/24\/2013 10:15:00",
        "TagsList": null,
        "TimeZone": "MDT",
        "Title": "Denver Gold Forum",
        "WebCastLink": "",
        "WorkflowId": "4819ff3b-eb57-46c5-abeb-8ceab7efaf46"
    }
}  

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.