GetPresentationYearList
Description
Returns an array of years in which presentations filtered by input parameters exist. When any parameters are missed, 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). |
| If specified, the result will be filtered by tags. Tags are pipe-delimited - 'tag1|tag2'. The default is an empty string. |
Sample URL
https://www.domain.com/feed/Presentation.svc/GetPresentationYearList?apiKey=c34993dcba1942418d97656f3ed00979&languageId=1
Sample Request
var data = {
apiKey: 'c34993dcba1942418d97656f3ed00979',
languageId: 1,
tagList: 'Q1|Q2'
};
$.ajax({
type: "GET",
url: "http://www.domain.com/feed/Presentation.svc/GetPresentationYearList",
data: data,
datatype: "json",
success: OnPresentationYearsLoadSuccess,
error: OnLoadError
});
Sample Response
{
"GetPresentationYearListResult": [2011, 2010, 2009, 2008, 2007, 2006]
}