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 |
---|---|
| 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 presentations should be returned. The default value is 1 (English). |
| Specifies the item's unique |
Sample URL
https://www.domain.com/feed/PressRelease.svc/GetPressReleaseItem?apiKey=000000000000000000000000000000000000&languageId=1&workflowId=8b1f8eac-beba-4889-8165-d15349377f84
Sample Request
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
{
"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"
}
}