Table of Contents

Class WithItem_ItemRequestBuilder

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

Builds and executes requests for operations under \data\v1\projects{project_id}\items{item_id}

public class WithItem_ItemRequestBuilder : BaseRequestBuilder
Inheritance
BaseRequestBuilder
WithItem_ItemRequestBuilder
Inherited Members
BaseRequestBuilder.PathParameters
BaseRequestBuilder.RequestAdapter
BaseRequestBuilder.UrlTemplate

Constructors

WithItem_ItemRequestBuilder(Dictionary<string, object>, IRequestAdapter)

Instantiates a new WithItem_ItemRequestBuilder and sets the default values.

public WithItem_ItemRequestBuilder(Dictionary<string, object> pathParameters, IRequestAdapter requestAdapter)

Parameters

pathParameters Dictionary<string, object>

Path parameters for the request

requestAdapter IRequestAdapter

The request adapter to use to execute the requests.

WithItem_ItemRequestBuilder(string, IRequestAdapter)

Instantiates a new WithItem_ItemRequestBuilder and sets the default values.

public WithItem_ItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)

Parameters

rawUrl string

The raw URL to use for the request builder.

requestAdapter IRequestAdapter

The request adapter to use to execute the requests.

Properties

Parent

The parent property

public ParentRequestBuilder Parent { get; }

Property Value

ParentRequestBuilder

Refs

The refs property

public RefsRequestBuilder Refs { get; }

Property Value

RefsRequestBuilder

Relationships

The relationships property

public RelationshipsRequestBuilder Relationships { get; }

Property Value

RelationshipsRequestBuilder

Tip

The tip property

public TipRequestBuilder Tip { get; }

Property Value

TipRequestBuilder

Versions

The versions property

public VersionsRequestBuilder Versions { get; }

Property Value

VersionsRequestBuilder

Methods

GetAsync(Action<RequestConfiguration<WithItem_ItemRequestBuilderGetQueryParameters>>?, CancellationToken)

Retrieves metadata for a specified item. Items represent word documents, fusion design files, drawings, spreadsheets, etc.Notes:The tip version for the item is included in the included array of the payload.To retrieve metadata for multiple items, see the ListItems command.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 Task<Item?> GetAsync(Action<RequestConfiguration<WithItem_ItemRequestBuilder.WithItem_ItemRequestBuilderGetQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)

Parameters

requestConfiguration Action<RequestConfiguration<WithItem_ItemRequestBuilder.WithItem_ItemRequestBuilderGetQueryParameters>>

Configuration for the request such as headers, query parameters, and middleware options.

cancellationToken CancellationToken

Cancellation token to use when cancelling requests

Returns

Task<Item>

A Item

Exceptions

Item400Error

When receiving a 400 status code

Item403Error

When receiving a 403 status code

Item404Error

When receiving a 404 status code

PatchAsync(ItemRequest, Action<RequestConfiguration<DefaultQueryParameters>>?, CancellationToken)

Updates the properties of the given item_id object.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 Task<Item?> PatchAsync(ItemRequest body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)

Parameters

body ItemRequest

Describe the item to be patched.

requestConfiguration Action<RequestConfiguration<DefaultQueryParameters>>

Configuration for the request such as headers, query parameters, and middleware options.

cancellationToken CancellationToken

Cancellation token to use when cancelling requests

Returns

Task<Item>

A Item

Exceptions

Item400Error

When receiving a 400 status code

Item403Error

When receiving a 403 status code

Item404Error

When receiving a 404 status code

Item423Error

When receiving a 423 status code

ToGetRequestInformation(Action<RequestConfiguration<WithItem_ItemRequestBuilderGetQueryParameters>>?)

Retrieves metadata for a specified item. Items represent word documents, fusion design files, drawings, spreadsheets, etc.Notes:The tip version for the item is included in the included array of the payload.To retrieve metadata for multiple items, see the ListItems command.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 RequestInformation ToGetRequestInformation(Action<RequestConfiguration<WithItem_ItemRequestBuilder.WithItem_ItemRequestBuilderGetQueryParameters>>? requestConfiguration = null)

Parameters

requestConfiguration Action<RequestConfiguration<WithItem_ItemRequestBuilder.WithItem_ItemRequestBuilderGetQueryParameters>>

Configuration for the request such as headers, query parameters, and middleware options.

Returns

RequestInformation

A Microsoft.Kiota.Abstractions.RequestInformation

ToPatchRequestInformation(ItemRequest, Action<RequestConfiguration<DefaultQueryParameters>>?)

Updates the properties of the given item_id object.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 RequestInformation ToPatchRequestInformation(ItemRequest body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null)

Parameters

body ItemRequest

Describe the item to be patched.

requestConfiguration Action<RequestConfiguration<DefaultQueryParameters>>

Configuration for the request such as headers, query parameters, and middleware options.

Returns

RequestInformation

A Microsoft.Kiota.Abstractions.RequestInformation

WithUrl(string)

Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.

public WithItem_ItemRequestBuilder WithUrl(string rawUrl)

Parameters

rawUrl string

The raw URL to use for the request builder.

Returns

WithItem_ItemRequestBuilder

A WithItem_ItemRequestBuilder