admin管理员组文章数量:1296485
I'm trying to upload an attachment to an issue in Autodesk Construction Cloud using their REST API. While this functionality isn't documented, I found the endpoint being used in the web interface:
POST /{projectId}/attachments
{
"isNew": false,
"domainEntityId": "<issueId>",
"attachments": [
{
"attachmentId": "7c8b2a5b-22e3-4d7a-a8e1-d1b2945dc994",
"displayName": "E400 Onderhoek Type 1 2 copy (1).pdf",
"fileName": "E400 Onderhoek Type 1 2 copy (1).pdf",
"attachmentType": "issue-attachment",
"storageUrn": "<storage urn>"
}
]
}
However, when I make this request with a newly generated attachmentId and storageUrn, I receive a 409 Conflict response.
Question: What's the correct way to upload attachments to ACC issues? The 409 Conflict suggests there might be additional steps or requirements I'm missing.
What I've Tried:
- Generated new UUIDs for the attachmentId
- Ensured the storageUrn is properly formatted
- Verified the issue ID exists and is accessible
- Verified that the same resource does not exists
本文标签: How to properly upload attachments to Autodesk Construction Cloud (ACC) Issues APIStack Overflow
版权声明:本文标题:How to properly upload attachments to Autodesk Construction Cloud (ACC) Issues API? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741630080a2389310.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论