Application API (v1): Move Multiple Cards
This method takes a collection of Card IDs and moves the associated cards to another lane on the same board. The method returns the number of cards deleted. The number of Card IDs specified cannot exceed 100 for a given call.
In order to move multiple cards on a board using the LeanKit API, you need to provide the following:
- The Card IDs
- The Lane ID for the destination Lane
- The Board ID of where in the lane where you want the card moved.
To get the available Lane Ids, use the Get Board Identifiers API call, or to get the entire board including the Lanes and Lane Ids and the cards in each lane, use the Get a Board API call.
Request URL (POST)
https://{accountname}.leankit.com/API/Board/MoveSelectedCards
Example:
https://myaccount.leankit.com/API/Board/MoveSelectedCards
Example Request Body:
{ "boardId":"233009549", "cardsId":["523019089","526157559"], "dstLaneId":"233216556" }
Example Response:
{ "ReplyData": [ 4815 ], "ReplyCode": 202, "ReplyText": "Cards were moved successfully." }