Table of Contents

Class IndexesBatchStatusRequestBuilder

Namespace
Autodesk.ACC.ModelProperties.V2.Projects.Item.IndexesBatchStatus
Assembly
Autodesk.ACC.ModelProperties.dll

Builds and executes requests for operations under \v2\projects{projectId}\indexes:batch-status

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

Constructors

IndexesBatchStatusRequestBuilder(Dictionary<string, object>, IRequestAdapter)

Instantiates a new IndexesBatchStatusRequestBuilder and sets the default values.

public IndexesBatchStatusRequestBuilder(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.

IndexesBatchStatusRequestBuilder(string, IRequestAdapter)

Instantiates a new IndexesBatchStatusRequestBuilder and sets the default values.

public IndexesBatchStatusRequestBuilder(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.

Methods

PostAsync(IndexVersionsQueryRequest, Action<RequestConfiguration<DefaultQueryParameters>>?, CancellationToken)

Retrieve the job status for several jobs in a single request.

public Task<IndexJobStatusBatch?> PostAsync(IndexVersionsQueryRequest body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)

Parameters

body IndexVersionsQueryRequest

Several file versions, optionally combined with a query.

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<IndexJobStatusBatch>

A IndexJobStatusBatch

Exceptions

ResourceError

When receiving a 401 status code

ToPostRequestInformation(IndexVersionsQueryRequest, Action<RequestConfiguration<DefaultQueryParameters>>?)

Retrieve the job status for several jobs in a single request.

public RequestInformation ToPostRequestInformation(IndexVersionsQueryRequest body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null)

Parameters

body IndexVersionsQueryRequest

Several file versions, optionally combined with a query.

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 IndexesBatchStatusRequestBuilder WithUrl(string rawUrl)

Parameters

rawUrl string

The raw URL to use for the request builder.

Returns

IndexesBatchStatusRequestBuilder

A IndexesBatchStatusRequestBuilder