我正在开发一个VB.NET程序,它将使用API创建一个ASANA项目。我能够创建一个项目,但该项目的名称和注释是空白的。
这是我的网址:
https://app.asana.com/api/1.0/teams/22956925957833/projects
这是我传递的json:
{" data":[{" name":" Randy Test Project"," notes":" Randy Test Project Notes&# 34;}]}
这是json的回复:
{"数据" {" ID":23081257887338" created_at":" 2014-12-29T22:36:43.891Z&#34 ;," modified_at":" 2014-12-29T22:36:43.891Z""公共":真,"名称":& #34;""笔记":"""存档":假,"工作区" {&#34 ; ID":5272875888767,"名称":" summitmarketing.com"}"会员":[{" ID":11674220097573 ,"姓名":" Randy Gress"}],"粉丝":[{" id":11674220097573,"姓名&# 34;:" Randy Gress"}]," color":null," team":{" id":22956925957833,&#34 ;姓名":"兰迪测试团队"}}}
答案 0 :(得分:2)
您的data
字段是包含单个哈希的数组。它应该只是一个哈希。