Skip to main content
Skip table of contents

GetContentAssetTypes

Description

Returns an array of ContentAssetTypes. When any of the parameters are not included, 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).

tagList (string)

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/ContentAsset.svc/GetContentAssetTypes?apiKey=c34993dcba1942418d97656f3ed00979&languageId=1

Sample Request

JSON
var data = {
    apiKey: apiKey,
    languageId: 1
};

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

Sample Response

JSON
{
    "GetContentAssetTypesResult": [{
            "Name": "Corporate Information",
            "Value": "eceaa775-6260-4656-b615-e5df2153bef8"
        },
        {
            "Name": "Default",
            "Value": "05f6ff52-ad5a-4173-9feb-bb6b58d5a86c"
        },
        {
            "Name": "Financial Information",
            "Value": "886d23f3-a824-4359-9411-9ea0234a5241"
        },
        {
            "Name": "Investor Information",
            "Value": "f0571142-c810-486d-bfce-61f6f5246a1a"
        },
        {
            "Name": "Operating Mines & Project Photos",
            "Value": "5d34fa4c-892b-4116-8dd5-7f5b1b722de5"
        },
        {
            "Name": "Production Forecast Summary",
            "Value": "087567ea-6a9f-4979-9d90-46b473920612"
        },
        {
            "Name": "Supplementary Financial Data",
            "Value": "fe4912c6-d947-4c76-9ca0-1cbab1e6a0a8"
        },
        {
            "Name": "Technical Reports",
            "Value": "0c297fe7-e8e3-48bd-a8a5-3bb13e64fa07"
        },
        {
            "Name": "Fact Sheets",
            "Value": "030913e3-6f2b-434f-b255-038ae25b46e1"
        },
        {
            "Name": "La Ronde Mine",
            "Value": "068294f7-b8cf-4787-9b6d-3c6eef3f57eb"
        },
        {
            "Name": "Financial Reports",
            "Value": "952f722f-6fba-4616-b419-a7ce89df6cb0"
        },
        {
            "Name": "Corporate Governance",
            "Value": "cedff097-5c36-4a42-84f8-fdcf8d103457"
        },
        {
            "Name": "Photos",
            "Value": "a614afbb-be81-4532-a4fe-6df3b0764e05"
        },
        {
            "Name": "Videos",
            "Value": "8ed3c95d-825c-41ea-976e-33e4a12f022e"
        },
        {
            "Name": "Presentations \/ Webcasts",
            "Value": "5a6059e5-8b85-4548-a160-4209d52fbde3"
        },
        {
            "Name": "Dividends",
            "Value": "b0b03754-bd8d-40a5-9678-fb176a28ba88"
        },
        {
            "Name": "General",
            "Value": "9dd1172c-af3f-4f61-97e6-2bf504a1455f"
        },
        {
            "Name": "Annual Report",
            "Value": "28de0d95-301b-47c2-9556-0d9f1b5564a8"
        }
    ]
} 

JavaScript errors detected

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

If this problem persists, please contact our support.