GetHtmlListCount
Description
Returns number of Html Items 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 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/Html.svc/GetHtmlListCount?callback=jQuery171009535868121644664_1344438749332&apiKey=XXXXXXXXXXXXXXXXXX&LanguageId=1&tagList=en&_=1344439303908
Sample Request
var data = {
apiKey: apiKey,
languageId: 1,
tagList: tag
};
$.ajax({
type: "GET",
url: "http://www.domain.com/feed/Html.svc/GetHtmlListCount",
data: data,
contentType: "application/json; charset=utf-8",
dataType: "jsonp",
success: OnLoadHtmlListCountSuccess,
error: OnLoadError
});
Sample Response
{
"GetHtmlListCountResult": 2
};