Reputation: 19
I working on a VB.NET program to that will create an ASANA project using the API. I am able to create a project but the name and notes for the project are blank.
Here is my url:
https://app.asana.com/api/1.0/teams/22956925957833/projects
Here is the json I am passing:
{"data":[{"name":"Randy Test Project","notes":"Randy Test Project Notes"}]}
Here is the json response back:
{"data":{"id":23081257887338,"created_at":"2014-12-29T22:36:43.891Z","modified_at":"2014-12-29T22:36:43.891Z","public":true,"name":"","notes":"","archived":false,"workspace":{"id":5272875888767,"name":"summitmarketing.com"},"members":[{"id":11674220097573,"name":"Randy Gress"}],"followers":[{"id":11674220097573,"name":"Randy Gress"}],"color":null,"team":{"id":22956925957833,"name":"Test Team For Randy"}}}
Upvotes: 0
Views: 69
Reputation: 2079
Your data
field is an array containing a single hash. It should just be a hash.
Upvotes: 2