为什么我不能设置一个Class对象"" Active"使用QBO API v3将attr设置为false

时间:2014-12-11 04:18:06

标签: intuit-partner-platform

我尝试完全更新此QuickBooks Online v3 API对象,将active属性设置为false(即' soft deletion' it)。它没有用。

此功能的文档为here

这里是请求json blob:

{
    "FullyQualifiedName": "Tickets", 
    "domain": "QBO", 
    "Name": "Tickets", 
    "SyncToken": "0", 
    "SubClass": false, 
    "sparse": false, 
    "Active": false, 
    "Id": "100000000000221202", 
}

回复:

{
  "Class": {
    "Name": "Tickets",
    "SubClass": false,
    "FullyQualifiedName": "Tickets",
    "Active": true,
    "domain": "QBO",
    "sparse": false,
    "Id": "100000000000221202",
    "SyncToken": "0",
    "MetaData": {
      "CreateTime": "2013-05-15T13:23:15-07:00",
      "LastUpdatedTime": "2013-05-15T13:23:15-07:00"
    }
  },
  "time": "2014-12-07T08:06:38.543-08:00"
}

为什么它仍然有效?

1 个答案:

答案 0 :(得分:0)

我相信它出现在list of known issues