Skip to main content
Skip table of contents

GetPressReleaseItem

Description

Returns a Press Release 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 presentations 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/PressRelease.svc/GetPressReleaseItem?apiKey=000000000000000000000000000000000000&languageId=1&workflowId=8b1f8eac-beba-4889-8165-d15349377f84

Sample Request

JSON
var data = {
    apiKey: apiKey,
    languageId: 1,
    workflowId: "8b1f8eac-beba-4889-8165-d15349377f84"
};

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

Sample Response

JSON
{
    "GetPressReleaseItemResult": {
        "Body": "Press Release Body",
        "Category": "NA",
        "DocumentFileSize": null,
        "DocumentFileType": null,
        "DocumentPath": "",
        "ExcludeFromLatest": false,
        "Headline": "Company X declares dividends",
        "LanguageId": 1,
        "LinkToDetailPage": "/English/Media-Center/News-Releases/News-Release-Details/2012/Company-X-declares-dividends1130577/default.aspx",
        "LinkToPage": "00000000-0000-0000-0000-000000000000",
        "LinkToUrl": "",
        "PressReleaseDate": "08/09/2012 18:02:00",
        "PressReleaseId": 3344,
        "ProjectWorkflowId": "00000000-0000-0000-0000-000000000000",
        "RevisionNumber": 26630,
        "SeoName": "Company-X-declares-dividends1130577",
        "ShortBody": "Short Body",
        "TagsList": ["en"],
        "ThumbnailPath": "http://www.domain.com/files/icons/pdf.gif",
        "WorkflowId": "8b1f8eac-beba-4889-8165-d15349377f84"
    }
}

JavaScript errors detected

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

If this problem persists, please contact our support.