我看过以下post,其中讨论了 POST /projects 端点从 BIM-360 到 ACC 的迁移。 StackOverflow 不允许我对此发表评论,因为我还没有足够的声誉,但我想问一下这个 ACC 端点是否已经完成或即将完成?
谢谢你
现已支持。请参考这篇博文:
https://aps.autodesk.com/blog/acc-project-admin-api-project-creation-and-user-management
这里是使用项目模板调用POST项目的示例。详细说明请参阅教程。
curl -X 'POST' 'https://developer.api.autodesk.com/construction/admin/v1/accounts/g5s4e3b5-vbta-6b02-d23a-5d55f36ba876/projects'
\ -H 'Authorization: Bearer AuIPTf4KYLTYGVnOHQ0cuolwCW2a'
\ -H 'Content-Type: application/json'
\ -d '{
"name": "Project 1",
"classification": "production",
"startDate": "2010-01-01",
"endDate": "2015-12-31",
"type": "Hospital",
"projectValue": {
"value": 1650000,
"currency": "USD"
},
"jobNumber": "HP-0002",
"addressLine1": "123 Main Street",
"addressLine2": "Suite 2",
"city": "San Francisco",
"stateOrProvince": "California",
"postalCode": "94001",
"country": "United States",
"latitude": "37.773972",
"longitude": "-122.431297",
"timezone": "America/Los_Angeles",
"constructionType": "New Construction",
"deliveryMethod": "Unit Price",
"currentPhase": "Design",
"businessUnitId": "802a4a61-3507-4d4e-8e3c-242a31cc0549",
"template": {
“projectId”: “ljsdfdlskfjs”
}
}'