Skip to main content
Skip table of contents

GetPresentationItem

Description

Returns a Presentation 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/Presentation.svc/GetPresentationItem?apiKey=B458975A240B45E4A91C906E1AE41097&languageId=1&workflowId=40c9c713-d308-434c-b5f4-334bbfa573b5

Sample Request

JSON
var data = {
    apiKey: apiKey,
    languageId: 1,
    workflowId: "40c9c713-d308-434c-b5f4-334bbfa573b5"
};

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

Sample Response

JSON
{
    "GetPresentationItemResult": {
        "AudioFile": "",
        "AudioFileSize": null,
        "AudioFileType": null,
        "Body": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
        "DocumentFileSize": null,
        "DocumentFileType": null,
        "DocumentPath": "http://mytest.com/files/doc_downloads/test.pdf",
        "ExcludeFromLatest": false,
        "LanguageId": 1,
        "LinkToDetailPage": "/English/Presentations/PresentationDetails/2010/Test-Presentation/default.aspx",
        "LinkToUrl": "",
        "PresentationDate": "01/02/2010 11:00:00",
        "PresentationId": 1472,
        "PresentationSpeaker": [],
        "RelatedFile": "",
        "RelatedFileSize": null,
        "RelatedFileType": null,
        "RevisionNumber": 1203,
        "SeoName": "Test-Presentation",
        "TagsList": [],
        "ThumbnailPath": "",
        "Title": "Test Presentation",
        "VideoFile": "",
        "VideoFileSize": null,
        "VideoFileType": null,
        "WorkflowId": "40c9c713-d308-434c-b5f4-334bbfa573b5"
    }
} 

JavaScript errors detected

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

If this problem persists, please contact our support.