Autodesk Forge BIM 360 API - 激活服务类型 [英] Autodesk Forge BIM 360 API - Activating Service Types

查看:25
本文介绍了Autodesk Forge BIM 360 API - 激活服务类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们一直在使用 Forge API 在 BIM 360 中自动设置项目,但似乎无法找到自动激活服务(现场、胶水等)的方法.

We have been using the Forge API to automatically set up projects in BIM 360, but seem unable to find a way to automatically activate a Service (Field, Glue, etc.).

直觉上,我会认为service_types"属性是执行此操作的方法,但服务并未激活.

Intuitively, I would have thought that the "service_types" attribute would be the way to do this, but the services are not activating.

1) service_types"属性实际上有什么作用?

1) What does the "service_types" attribute actually do?

2) 如果可能,我们如何使用 Forge API(最具体的字段)激活项目服务?

2) If possible, how do we activate a project Service using the Forge API (Most specifically Field)?

谢谢你,

推荐答案

Re.#1您对 service_type 的理解是正确的.

Re. #1 Your understanding of service_type is correct.

再.#2您可以在创建项目后尝试以下操作吗?
https://developer.autodesk.com/en/docs/bim360/v1/reference/http/projects-project_id-users-POST/

Re. #2 Could you try below after you create a project?
https://developer.autodesk.com/en/docs/bim360/v1/reference/http/projects-project_id-users-POST/

例如,像这样的身体:{"role": "project_admin","service_type": "字段","company_id": "77e4444e-5dad-46a2-ad29-555cc00452a0","email": "my.name@autodesk.com"}

e.g., with the body like this: { "role": "project_admin", "service_type": "field", "company_id": "77e4444e-5dad-46a2-ad29-555cc00452a0", "email": "my.name@autodesk.com" }

我确认在项目创建中使用 service_type 本身没有效果.而且文档有点混乱.但是如果你使用上面的方法,它是有效的.请注意,您的帐户需要有 Field 许可证.

I verified that having service_type in project creation itself does not have effect. And the documentation is a little confusing. But if you use the above method, it works. Note that you need to have Field license with you account.

还有一个教程页面:https://developer.autodesk.com/en/docs/bim360/v1/tutorials/activate-service/

这篇关于Autodesk Forge BIM 360 API - 激活服务类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆