Help & Support
Follow

LeanKit API (v1): Move a Card or Task Card to a Taskboard

This method moves a Card or Task Card to a given Card's Taskboard. The required {srcCardId} can be a Card or Task Card on another Card's Taskboard. The {dstCardId} must be a Card that has a Taskboard. The Card or Task Card to be moved will be placed in the "To Do" Lane of the destination Card's Taskboard.

Request URL (POST):

https://{accountname}.leankit.com/kanban/api/v1/board/{boardId}/move/card/{srcCardId}/card/{dstCardId}/tasks

Sample request:

https://myaccount.leankit.com/kanban/api/v1/board/256064019/move/card/256710961/card/256718504/tasks

Sample response:

{
  "ReplyData": [
    {
      "ContextId": 256062810,
      "ContextName": "Tasks",
      "ContextIsMaster": true,
      "TaskBoardId": 256573921,
      "TotalCardSize": 2,
      "TotalCards": 2,
      "BoardVersion": 32,
      "DestinationLane": null,
      "CardTypeId": 0,
      "MainBoardVersion": 0,
      "PositionIndex": 0,
      "ParentCardId": 0
    }
  ],
  "ReplyCode": 202,
  "ReplyText": "The Card was moved to a Task."
}

 

 

 

 

 

 

Doc ID: 1191979673

Have more questions? Submit a request