Application API (v1): Move a Card or Task Card to a Taskboard
LeanKit's Application API v1 is deprecated. New integration projects should use our v2 API suite found here: https://success.planview.com/Planview_LeanKit/LeanKit_API/01_v2.
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." }