autodesk-bim360

Is it possible to delete or overwrite document in BIM360 Docs using API?

我只是一个虾纸丫 提交于 2021-01-29 07:21:47
问题 When we upload the document in BIM360 docs folder, the document is not overwritten if it exists already. What we want to do is, if a document already exists. then upload code should be overwritten the document. Or delete the existed document and upload a new one. We have not found any API which can delete BIM360 docs. 回答1: To remove items from BIM360 Docs' folder, please call POST projects/:project_id/versions with this body and fresh your web browser if you're opening the folder page that

Create Signed URL for Object in BIM360 OSS

人盡茶涼 提交于 2020-07-08 03:21:17
问题 I'm trying to set up an Signed URL for an Design Automation Workflow which is triggered by an Webhook inside of the BIM360 OSS. If a file is added the webhooks triggers an endpoint to start a Design Automation. The webhook is working. And the Design Automation is working too. The Problem occurs if i try to wire both up. I#m trying to create a Signed URL of the File like suggested in this post from Petr Broz link stackoverflow. To use this API it is requierd to use an Token which is obatined

Create Signed URL for Object in BIM360 OSS

北城以北 提交于 2020-07-08 03:21:14
问题 I'm trying to set up an Signed URL for an Design Automation Workflow which is triggered by an Webhook inside of the BIM360 OSS. If a file is added the webhooks triggers an endpoint to start a Design Automation. The webhook is working. And the Design Automation is working too. The Problem occurs if i try to wire both up. I#m trying to create a Signed URL of the File like suggested in this post from Petr Broz link stackoverflow. To use this API it is requierd to use an Token which is obatined

Import users to BIM 360 project using Forge V2 endpoint

前提是你 提交于 2020-01-16 18:50:29
问题 I'm experimenting with the automatic setup of projects in BIM 360 Field using the Autodesk Forge API. The code is designed to run on internal systems and currently uses the two legged authentication method. I've managed to get a project setup, I'm now trying to add a project admin using the recommended V2 import endpoint: POST projects/:project_id/users/import As I'm using two legged authentication I'm specifying my x-user-id in the header. When I run this I receive the following error:

Can I create document (pushpin) issues via api?

白昼怎懂夜的黑 提交于 2019-12-25 01:36:42
问题 I want to integrate my web api with bim360 api. In my app I need to create pushpin issues. Can I do it by bim360 api? The documentation says yes and no: https://forge.autodesk.com/en/docs/bim360/v1/tutorials/issues/create-issues/ https://forge.autodesk.com/en/docs/bim360/v1/reference/http/field-issues-POST/ What is the truth? 回答1: Sorry for the confusion, but pushpin issue was supported recently, you can check the ChangeLog for the information. I believe the doc is not updated well, will

GET users endpoint returns 1003: Client id has no access to the account

一个人想着一个人 提交于 2019-12-24 20:55:50
问题 I am trying to hit the GET users endpoint on the BIM 360 API using this guide. I have a Forge integration set on my BIM 360 Account Admin page, which includes Account Administration privileges. I followed the directions on the docs to remove the "b." from my hub id to get the account id, but when I hit the enpoint it returns "1003: Client has no access to the account" 回答1: This endpoint request a 2 legged access token with account:read scope and a Forge App that was previously provisioned

How can I download plan pdf file by bim360 api or sdk?

纵饮孤独 提交于 2019-12-11 20:29:43
问题 According to the documentation (https://forge.autodesk.com/en/docs/data/v2/tutorials/download-file/) I should get the storage object id from included.relationships.storage.data.id. I can do it for all files uploaded to the bim360 except plans pdf files. There is nothing about 'storage' in a whole response. Here is "included" from my response: ''' "included": [ { "type": "versions", "id": "XXX", "attributes": { "name": "1ST FLOOR PLAN", "displayName": "1ST FLOOR PLAN", "createTime": "2019-01

API Download File from BIM360 Doc Plans folder

╄→гoц情女王★ 提交于 2019-12-11 19:03:50
问题 I am trying to download file from Autodesk BIM360 Doc (https://docs.b360.autodesk.com) with the Forge API so the files can be then afterward archieved to our local storage. I have managed to download any files from "Project Files" folder using the data management API https://forge.autodesk.com/en/docs/data/v2/reference/http/projects-project_id-versions-version_id-GET/, with which i can get the storage id under data.relationships.storage.data.id . however with the same API i cannot get the

Download BIM360 Docs file using Javascript

核能气质少年 提交于 2019-12-11 18:22:36
问题 I am trying to download BIM360 docs files using javascript. I am able to get file response from BIM360 but unable to save file with proper content. Here is my JS code - $(document).ready(function () { var anchor = $('.vcard-hyperlink'); $.ajax({ url: <file downloaded URL>, type: "GET", headers: { "Authorization": "Bearer " + <accessToken> }, beforeSend: function (jqxhr) { }, success: function (data) { // create a blob url representing the data var blob = new Blob([data]); var url = window.URL