Table of Contents

Class ItemsRequestBuilder.ItemsRequestBuilderPostQueryParameters

Namespace
Autodesk.DataManagement.Data.V1.Projects.Item.Items
Assembly
Autodesk.DataManagement.dll

Creates the first version of a file (item). To create additional versions of an item, use POST versions.Before you create the first version you need to create a storage location for the file, and upload the file to the storage object. For more details about the workflow, see the tutorial on uploading a file.This endpoint also copies versions of items to other folders in the same project. The endpoint creates a new item and a first version of the item in the target folder. You cannot copy versions of items across different projects and accounts.To copy versions of items to existng items in other folders, use POST versions. POST versions creates a new version of the existing item in the target folder.Note that to access BIM 360 Docs files using the Data Management API you need to provision your app in the BIM 360 Account Administrator portal. For more details, see the Manage Access to Docs tutorial.New! Autodesk Construction Cloud platform (ACC). Note that this endpoint is compatible with ACC projects. For more information about the Autodesk Construction Cloud APIs, see the Autodesk Construction Cloud documentation.

public class ItemsRequestBuilder.ItemsRequestBuilderPostQueryParameters
Inheritance
ItemsRequestBuilder.ItemsRequestBuilderPostQueryParameters
Inherited Members

Properties

CopyFrom

Only relevant for copying files to BIM 360 Docs - the version ID (URN) of the file to copy. For details about finding the URN, follow the initial steps in the Download a File tutorial. You can only copy files to the Plans folder or to subfolders of the Plans folder with an item:autodesk.bim360:Document item extension type, and you can only copy files to the Project Files folder or to subfolders of the Project Files folder with an item:autodesk.bim360:File item extension type. To verify an item’s extension type, use GET item, and check the attributes.extension.type attribute. Note that if you copy a file to the Plans folder or to a subfolder of the Plans folder, the copied file inherits the permissions of the source file. For example, if the end user did not have permission to download files in the source folder, but does have permission to download files in the target folder, he/she will not be able to download the copied file. Note that you cannot copy a file if it is in the middle of being uploaded, updated, or copied. To verify the current process state of a file, call GET item, and check the attributes.extension.data.processState attribute.

[QueryParameter("copyFrom")]
public string? CopyFrom { get; set; }

Property Value

string