![](/img/trans.png)
[英]How to set the status of a BIM360 Project using Postman or .NET
[英]How to GET users assigned to a BIM360 project in .NET
是否可以GET
分配給項目的用戶? 在BIM 360中,我可以手動將用戶分配給項目,並且可以通過.NET( https://forge.autodesk.com/en/docs/bim360/v1/reference/http/projects-project_id-users- import-POST / ),但是我如何知道哪些用戶分配給了哪些項目。 獲取用戶信息時,不存在與分配給用戶的項目相關的屬性。
這是當前已分配了兩個用戶的源項目的信息。
{
"id": "****************************",
"account_id": "****************************",
"name": "Sample Project",
"start_date": "2018-11-06",
"end_date": "2018-12-06",
"value": null,
"currency": null,
"status": "active",
"job_number": null,
"address_line_1": null,
"address_line_2": null,
"city": null,
"state_or_province": null,
"postal_code": null,
"country": "United States",
"business_unit_id": null,
"created_at": "2018-11-06T15:54:15.060Z",
"updated_at": "2019-02-20T10:04:20.035Z",
"project_type": "Demonstration Project",
"timezone": null,
"language": "en",
"construction_type": null,
"contract_type": null,
"last_sign_in": "2019-02-20T10:04:18.000Z"
},`
這是分配給上述項目的用戶之一。 我可以看到的唯一關系是role
和access_level
,但是它沒有指定所屬的項目。
{
"account_id": "****************************",
"role": "project_user",
"status": "active",
"company_id": "****************************",
"company_name": "Autodesk",
"last_sign_in": null,
"default_role": null,
"default_role_id": null,
"access_level": "project_user",
"id": "****************************",
"email": "john.smith@mail.com",
"name": "New Member",
"nickname": "Johnny",
"first_name": "New",
"last_name": "Member",
"uid": null,
"image_url": "http://static-dc.autodesk.net/etc/designs/v201412151200/autodesk/adsk-design/images/autodesk_header_logo_140x23.png",
"address_line_1": "The Fifth Avenue",
"address_line_2": "#301",
"city": "New York",
"postal_code": "10011",
"state_or_province": "New York",
"country": "United States",
"phone": "(634)329-2353",
"company": "Autodesk",
"job_title": "Software Developer",
"industry": "IT",
"about_me": "Nothing here",
"created_at": "2016-07-27T19:09:31.998Z",
"updated_at": "2019-02-19T08:59:57.852Z"
}
不幸的是,為此目的的端點尚未發布,並且將成為我們的BIM 360 API v2的一部分。
請放心,這些端點正在內部審查中,並且距離不遠。 請繼續關注我們的Forge博客以獲取更新。
目前,您將需要跟蹤添加了自己的數據持久性的用戶。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.