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

查看:210
本文介绍了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/zh-CN/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", 电子邮件":"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本身不会起作用.而且文档有点混乱.但是,如果您使用上述方法,它会起作用.请注意,您的帐户需要具有现场许可证.

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/

There is also a tutorial page: https://developer.autodesk.com/en/docs/bim360/v1/tutorials/activate-service/

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

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