Skip to main content

 

Planview Customer Success Center

Advanced Reporting API: Cards Endpoint

GET /io/reporting/export/cards

Returns all the current cards the authorized user has access to.

Resource URL

GET https://{accountname}.leankit.com/io/reporting/export/cards?token=xyzyz

See Export Parameters for more information on specifying response formats and other options.

Example request

GET https://myaccount.leankit.com/io/reporting/export/cards?token=xyxyz

Response

Column Description
Card ID  
Parent Card ID  
External Card ID  
Card Title  
Parent Card Title  
Card Type ID  
Card Type  
Card Size  
Priority  
Custom Icon ID  
Custom Icon  
Is Card Blocked  
Current Blocked Reason  
Card External Link Name  
Card External Link Url  
Creation Date  
Planned Start Date  
Actual Start Date  
Planned Finish Date  
Actual Finish Date  
Attachments Count  
Last Attachment Date  
Comments Count  
Last Comment Date  
Last Activity Date  
Archived Date  
Last Moved Date  
Current Lane ID  
Current Lane Title  
Parent Lane ID  
Parent Lane Title  
Current Lane Class  
Current Lane Type  
Current Board ID  
Current Board Title  
Created By User ID  
Created By User Email Address  
Created By User Full Name  
Card Score Total  
Card Score Confidence Total  
Card Score Override  
Card Score Template Title  
Card Score Template Version  
Card Score Changed By User ID  
Card Score Changed By User Email Address  
Card Score Changed By User Full Name  
Card Score Changed Date  

Example response

"Card ID","Parent Card ID","External Card ID","Card Title","Parent Card Title","Card Type ID","Card Type","Card Size","Priority","Custom Icon ID","Custom Icon","Is Card Blocked","Current Blocked Reason","Card External Link Name","Card External Link Url","Creation Date","Planned Start Date","Actual Start Date","Planned Finish Date","Actual Finish Date","Attachments Count","Last Attachment Date","Comments Count","Last Comment Date","Last Activity Date","Archived Date","Last Moved Date","Current Lane ID","Current Lane Title","Parent Land ID","Parent Lane Title","Current Lane Class","Current Lane Type","Current Board ID","Current Board Title","Created By User ID","Created By User Email Address","Created By User Full Name","Card Score Total","Card Score Confidence Total","Card Score Override","Card Score Template Title","Card Score Template Version","Card Score Changed By User ID","Card Score Changed By User Email Address","Card Score Changed By User Full Name","Card Score Changed Date"
"10112913458",,,"One",,3,"Other Work",0,"Normal",,,,,,,2016-06-27 04:04:50 PM,,2016-06-27 04:06:25 PM,,2016-06-27 04:06:25 PM,0,,0,,2016-06-27 04:06:25 PM,2016-06-27 04:06:25 PM,2016-06-27 04:06:25 PM,"10112913867","Finished As Planned",,,"Finished - Ready to Archive","Not Set","10112913759","Sample Board 1","412","someone@leankit.com","A User",46.97,80.11,,"Value vs Cost",1,1,"412","someone@leankit.com","A User",2016-06-27 04:06:25 PM
"10112913459",,,"Two",,3,"Other Work",0,"Normal",,,,,,,2016-06-27 04:04:52 PM,,2016-06-27 04:06:25 PM,,2016-06-27 04:06:25 PM,0,,0,,2016-06-27 04:06:25 PM,2016-06-27 04:06:25 PM,2016-06-27 04:06:25 PM,"10112913867","Finished As Planned",,,"Finished - Ready to Archive","Not Set","10112913759","Sample Board 1","412","someone@leankit.com","A User",46.97,80.11,,"Value vs Cost",1,1,"412","someone@leankit.com","A User",2016-06-27 04:06:25 PM

Sample JavaScript AJAX request to export current cards

const rootHostUrl = "https://myaccount.leankit.com";
const basePath = `${ rootHostUrl }/io/reporting`;
const auth = {
    email: "my_user@leankit.com",
    password: "my_password",
    accountName: "myaccount"
};
$.ajax(
    {
        method: "POST",
        url: `${ basePath }/auth`,
        success: function( data, textStatus, jqXHR ) {
            const token = JSON.parse( data ).token;
            const dataUrl = `${ basePath }/export/cards?token=${ token }`;
            $.ajax(
                {
                    url: dataUrl,
                    dataType: "text",
                    success: function( cardsResponseData, t2, j2 ) {
                    },
                    error: function( jqXHR, textStatus, errorThrown ) {
                        debugger;
                    }
                } );
        },
        error: function( jqXHR, textStatus, errorThrown ) {
            debugger;
        },
        contentType: "application/json",
        dataType: "text",
        data: JSON.stringify( { email: auth.email, password: auth.password, accountName: auth.accountName } )
    } );