Create a CheckList using Trello.Net Edge

227 views Asked by At

I am trying to create a checkList, but it throws an exception with this description: "invalid value for idCard" this is the code that i am using:

var checkList = trello.Checklists.Add("My CheckList", b);

my doubt is why it throws an exception for idCard but there is no way to specify one in the method?

1

There are 1 answers

2
Ryan On BEST ANSWER

Had the same issue.

Here is a work around:

dynamic mychecklist = trello.Advanced.Post("/checklists", new { idCard = CardID, name = CheckList.Name, idChecklistSource = CheckList.Id} );