Help & Support
Follow

Application API (v1): Get a Card's Taskboard

This method will retrieve the Taskboard for a Card, including its Lanes and the Cards in those Lanes. To get only the Task Cards, use Get Task Cards.

Request URL (GET)

https://{accountname}.leankit.com/kanban/api/v1/board/{boardId}/card/{cardId}/taskboard

Sample request

https://myaccount.leankit.com/kanban/api/v1/board/101000/card/101022/taskboard 

Response

{
  "ReplyData":[
    {
      "CardContext":{
        "Id": 101022,
        "Name":"Sample card with tasks",
        "IsDefault":false,
        "IsMaster":true
      },
      "ProgressPercentage":75,
      "CompletedCardCount":3,
      "CompletedCardSize":3,
      "BoardVersion":2531,
      "BoardThumbnailVersion":946,
      "UsersSubscription":[],
      "Id":1010130,
      "Title":"Tasks",
      "Lanes":[
        {
          "Id":101031,
          "Index":0,
          "Active":false,
          "Title":"ToDo",
          "Description":null,
          "ClassType":0,
          "Type":1,
          "ActivityId":null,
          "CardContextId":null,
          "ActivityName":null,
          "Width":2,
          "ParentLaneId":0,
          "Cards":[
            {
              "SystemType":"Card",
              "BoardId":101000,
              "BoardTitle":"Sample Board",
              "LaneId":101031,
              "LaneTitle":"ToDo",
              "Title":"Task 1",
              "Description":null,
              "Type":{
                "Id":101015
              },
              "TypeId":101015,
              "Priority":1,
              "PriorityText":"Normal",
              "TypeName":"Task",
              "TypeIconPath":"../../Content/Images/Icons/Library/help.png",
              "TypeColorHex":"#f5f2bc",
              "Size":0,
              "Active":false,
              "Color":"#f5f2bc",
              "Icon":"",
              "Version":1,
              "AssignedUsers":[ ],
              "IsBlocked":false,
              "BlockReason":null,
              "BlockStateChangeDate":null,
              "Index":0,
              "StartDate":null,
              "DueDate":null,
              "ExternalSystemName":null,
              "ExternalSystemUrl":null,
              "ExternalCardID":null,
              "ExternalCardIdPrefix":null,
              "Tags":null,
              "ParentCardId":null,
              "ParentBoardId":0,
              "ParentTaskboardId":1010130,
              "ClassOfServiceId":0,
              "ClassOfServiceTitle":null,
              "ClassOfServiceIconPath":null,
              "ClassOfServiceColorHex":null,
              "CountOfOldCards":0,
              "CardContexts":[ ],
              "CurrentTaskBoardId":null,
              "CurrentContext":null,
              "TaskBoardCompletionPercent":0,
              "TaskBoardCompletedCardCount":0,
              "TaskBoardCompletedCardSize":0,
              "TaskBoardTotalCards":0,
              "TaskBoardTotalSize":0,
              "LastMove":"09/18/2014 07:23:27 AM",
              "LastActivity":"09/18/2014 07:23:27 AM",
              "DateArchived":null,
              "CommentsCount":0,
              "LastComment":"",
              "AttachmentsCount":0,
              "LastAttachment":"",
              "CreateDate":"09/18/2014",
              "ActualStartDate":null,
              "ActualFinishDate":null,
              "AssignedUserName":"",
              "AssignedUserId":0,
              "AssignedUserIds":[ ],
              "GravatarLink":"",
              "SmallGravatarLink":"",
              "IsOlderThanXDays":false,
              "Id":1010140,
              "DrillThroughBoardId":null,
              "HasDrillThroughBoard":false,
              "DrillThroughStatistics":null,
              "DrillThroughCompletionPercent":null,
              "DrillThroughProgressTotal":null,
              "DrillThroughProgressComplete":null,
              "DrillThroughProgressSizeComplete":null,
              "DrillThroughProgressSizeTotal":null
            }
          ],
          "Orientation":0,
          "ChildLaneIds":[
          ],
          "SiblingLaneIds":[
            101032,
            101033
          ],
          "TaskBoardId":1010130,
          "IsDrillthroughDoneLane":false,
          "IsDefaultDropLane":false,
          "CardLimit":0,
          "LaneState":"lane"
        },
        {
          "Id":101032,
          "Index":1,
          "Active":false,
          "Title":"Doing",
          "Description":null,
          "ClassType":0,
          "Type":2,
          "ActivityId":null,
          "CardContextId":null,
          "ActivityName":null,
          "Width":1,
          "ParentLaneId":0,
          "Cards":[],
          "Orientation":0,
          "ChildLaneIds":[ ],
          "SiblingLaneIds":[
            101031,
            101033
          ],
          "TaskBoardId":1010130,
          "IsDrillthroughDoneLane":false,
          "IsDefaultDropLane":false,
          "CardLimit":0,
          "LaneState":"lane"
        },
        {
          "Id":101033,
          "Index":2,
          "Active":false,
          "Title":"Done",
          "Description":null,
          "ClassType":0,
          "Type":3,
          "ActivityId":null,
          "CardContextId":null,
          "ActivityName":null,
          "Width":2,
          "ParentLaneId":0,
          "Cards":[
            {
              "SystemType":"Card",
              "BoardId":101000,
              "BoardTitle":"API Test Board",
              "LaneId":101033,
              "LaneTitle":"Done",
              "Title":"Task 2",
              "Description":null,
              "Type":{
                "Id":101015
              },
              "TypeId":101015,
              "Priority":1,
              "PriorityText":"Normal",
              "TypeName":"Task",
              "TypeIconPath":"../../Content/Images/Icons/Library/help.png",
              "TypeColorHex":"#f5f2bc",
              "Size":0,
              "Active":false,
              "Color":"#f5f2bc",
              "Icon":"",
              "Version":1,
              "AssignedUsers":[ ],
              "IsBlocked":false,
              "BlockReason":null,
              "BlockStateChangeDate":null,
              "Index":0,
              "StartDate":null,
              "DueDate":null,
              "ExternalSystemName":null,
              "ExternalSystemUrl":null,
              "ExternalCardID":null,
              "ExternalCardIdPrefix":null,
              "Tags":null,
              "ParentCardId":null,
              "ParentBoardId":0,
              "ParentTaskboardId":1010130,
              "ClassOfServiceId":0,
              "ClassOfServiceTitle":null,
              "ClassOfServiceIconPath":null,
              "ClassOfServiceColorHex":null,
              "CountOfOldCards":0,
              "CardContexts":[ ],
              "CurrentTaskBoardId":null,
              "CurrentContext":null,
              "TaskBoardCompletionPercent":0,
              "TaskBoardCompletedCardCount":0,
              "TaskBoardCompletedCardSize":0,
              "TaskBoardTotalCards":0,
              "TaskBoardTotalSize":0,
              "LastMove":"09/18/2014 07:23:32 AM",
              "LastActivity":"09/18/2014 07:23:32 AM",
              "DateArchived":null,
              "CommentsCount":0,
              "LastComment":"",
              "AttachmentsCount":0,
              "LastAttachment":"",
              "CreateDate":"09/18/2014",
              "ActualStartDate":null,
              "ActualFinishDate":null,
              "AssignedUserName":"",
              "AssignedUserId":0,
              "AssignedUserIds":[ ],
              "GravatarLink":"",
              "SmallGravatarLink":"",
              "IsOlderThanXDays":false,
              "Id":1010141,
              "DrillThroughBoardId":null,
              "HasDrillThroughBoard":false,
              "DrillThroughStatistics":null,
              "DrillThroughCompletionPercent":null,
              "DrillThroughProgressTotal":null,
              "DrillThroughProgressComplete":null,
              "DrillThroughProgressSizeComplete":null,
              "DrillThroughProgressSizeTotal":null
            },
            {
              "SystemType":"Card",
              "BoardId":101000,
              "BoardTitle":"API Test Board",
              "LaneId":101033,
              "LaneTitle":"Done",
              "Title":"Task 3",
              "Description":null,
              "Type":{
                "Id":101015
              },
              "TypeId":101015,
              "Priority":1,
              "PriorityText":"Normal",
              "TypeName":"Task",
              "TypeIconPath":"../../Content/Images/Icons/Library/help.png",
              "TypeColorHex":"#f5f2bc",
              "Size":0,
              "Active":false,
              "Color":"#f5f2bc",
              "Icon":"",
              "Version":1,
              "AssignedUsers":[ ],
              "IsBlocked":false,
              "BlockReason":null,
              "BlockStateChangeDate":null,
              "Index":1,
              "StartDate":null,
              "DueDate":null,
              "ExternalSystemName":null,
              "ExternalSystemUrl":null,
              "ExternalCardID":null,
              "ExternalCardIdPrefix":null,
              "Tags":null,
              "ParentCardId":null,
              "ParentBoardId":0,
              "ParentTaskboardId":1010130,
              "ClassOfServiceId":0,
              "ClassOfServiceTitle":null,
              "ClassOfServiceIconPath":null,
              "ClassOfServiceColorHex":null,
              "CountOfOldCards":0,
              "CardContexts":[ ],
              "CurrentTaskBoardId":null,
              "CurrentContext":null,
              "TaskBoardCompletionPercent":0,
              "TaskBoardCompletedCardCount":0,
              "TaskBoardCompletedCardSize":0,
              "TaskBoardTotalCards":0,
              "TaskBoardTotalSize":0,
              "LastMove":"09/18/2014 07:23:37 AM",
              "LastActivity":"09/18/2014 07:23:37 AM",
              "DateArchived":null,
              "CommentsCount":0,
              "LastComment":"",
              "AttachmentsCount":0,
              "LastAttachment":"",
              "CreateDate":"09/18/2014",
              "ActualStartDate":null,
              "ActualFinishDate":null,
              "AssignedUserName":"",
              "AssignedUserId":0,
              "AssignedUserIds":[ ],
              "GravatarLink":"",
              "SmallGravatarLink":"",
              "IsOlderThanXDays":false,
              "Id": 1010142,
              "DrillThroughBoardId":null,
              "HasDrillThroughBoard":false,
              "DrillThroughStatistics":null,
              "DrillThroughCompletionPercent":null,
              "DrillThroughProgressTotal":null,
              "DrillThroughProgressComplete":null,
              "DrillThroughProgressSizeComplete":null,
              "DrillThroughProgressSizeTotal":null
            },
            {
              "SystemType":"Card",
              "BoardId":101000,
              "BoardTitle":"API Test Board",
              "LaneId":101033,
              "LaneTitle":"Done",
              "Title":"Task 4",
              "Description":null,
              "Type":{
                "Id":101015
              },
              "TypeId":101015,
              "Priority":1,
              "PriorityText":"Normal",
              "TypeName":"Task",
              "TypeIconPath":"../../Content/Images/Icons/Library/help.png",
              "TypeColorHex":"#f5f2bc",
              "Size":0,
              "Active":false,
              "Color":"#f5f2bc",
              "Icon":"",
              "Version":1,
              "AssignedUsers":[ ],
              "IsBlocked":false,
              "BlockReason":null,
              "BlockStateChangeDate":null,
              "Index":2,
              "StartDate":null,
              "DueDate":null,
              "ExternalSystemName":null,
              "ExternalSystemUrl":null,
              "ExternalCardID":null,
              "ExternalCardIdPrefix":null,
              "Tags":null,
              "ParentCardId":null,
              "ParentBoardId":0,
              "ParentTaskboardId":1010130,
              "ClassOfServiceId":0,
              "ClassOfServiceTitle":null,
              "ClassOfServiceIconPath":null,
              "ClassOfServiceColorHex":null,
              "CountOfOldCards":0,
              "CardContexts":[ ],
              "CurrentTaskBoardId":null,
              "CurrentContext":null,
              "TaskBoardCompletionPercent":0,
              "TaskBoardCompletedCardCount":0,
              "TaskBoardCompletedCardSize":0,
              "TaskBoardTotalCards":0,
              "TaskBoardTotalSize":0,
              "LastMove":"09/18/2014 07:23:40 AM",
              "LastActivity":"09/18/2014 07:23:40 AM",
              "DateArchived":null,
              "CommentsCount":0,
              "LastComment":"",
              "AttachmentsCount":0,
              "LastAttachment":"",
              "CreateDate":"09/18/2014",
              "ActualStartDate":null,
              "ActualFinishDate":null,
              "AssignedUserName":"",
              "AssignedUserId":0,
              "AssignedUserIds":[ ],
              "GravatarLink":"",
              "SmallGravatarLink":"",
              "IsOlderThanXDays":false,
              "Id": 1010143,
              "DrillThroughBoardId":null,
              "HasDrillThroughBoard":false,
              "DrillThroughStatistics":null,
              "DrillThroughCompletionPercent":null,
              "DrillThroughProgressTotal":null,
              "DrillThroughProgressComplete":null,
              "DrillThroughProgressSizeComplete":null,
              "DrillThroughProgressSizeTotal":null
            }
          ],
          "Orientation":0,
          "ChildLaneIds":[ ],
          "SiblingLaneIds":[
            101031,
            101032
          ],
          "TaskBoardId":1010130,
          "IsDrillthroughDoneLane":false,
          "IsDefaultDropLane":false,
          "CardLimit":0,
          "LaneState":"lane"
        }
      ],
      "Backlog":null,
      "Archive":null,
      "TopLevelLaneIds":[
        101031,
        101032,
        101033
      ],
      "BacklogTopLevelLaneId":null,
      "ArchiveTopLevelLaneId":null,
      "CardColorField":null,
      "Version":5
    }
  ],
  "ReplyCode":200,
  "ReplyText":"Taskboard successfully retrieved."
}

 

 

 

 

 

 

Doc ID: 1191983328

Have more questions? Submit a request