[英]BIM 360 issue "Assigned To"
如何將“分配給”從特定用戶更改為未指定? 我主要將 {name: '-'} 用於我的 UI,這顯然不足以用作輸入,可能是 {id: '', name: '-'} 或 {id: null, name: '-'}?
提前感謝,聖誕快樂,新年快樂!
我們可以為assigned_to
和assigned_to_type
指定null
值,以從問題中刪除用戶並使其未指定。
curl --location --request PATCH 'https://developer.api.autodesk.com/issues/v1/containers/:issueContainerId/quality-issues/:issueId' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"type": "quality_issues",
"id": "{{issueId}}",
"attributes": {
"assigned_to": null,
"assigned_to_type": null
}
}
}'
API 參考: https://forge.autodesk.com/en/docs/bim360/v1/reference/http/field-issues-:id-PATCH/
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.