首页 > 解决方案 > Workfront attask 9.0 - 尝试发布更新时出错

问题描述

我试图在没有运气的情况下向 Workfront 发布更新。这是我的要求:

curl --location --request POST 'https://company.my.workfront.com/attask/api/v9.0/update' \
--header 'apiKey: {my-api-key}' \
--header 'Content-Type: application/json' \
--header 'Cookie: wf-node=http://100.112.130.217:8080' \
--data-raw '{
    "refObjCode": "TASK",
    "refObjID": "{my-task-id}",
    "message": "hello",
    "threadID": null,
    "topName": "",
    "subObjCode": null,
    "subObjID": null,
    "subMessage": "",
    "refName": "",
    "iconPath": null,
    "iconName": null,
    "allowedActions": [],
    "auditRecordID": null
}'

这是400我得到的回应,这根本没有帮助:

{
    "error": {
        "message": null
    }
}

标签: attaskworkfront-api

解决方案


推荐阅读