Table of Contents

Class PermissionsBatchCreateRequestBuilder

Namespace
Autodesk.ACC.FileManagement.Projects.Item.Folders.Item.PermissionsBatchCreate
Assembly
Autodesk.ACC.FileManagement.dll

Builds and executes requests for operations under \projects{project-id}\folders{folder_id}\permissions:batch-create

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

Constructors

PermissionsBatchCreateRequestBuilder(Dictionary<string, object>, IRequestAdapter)

Instantiates a new PermissionsBatchCreateRequestBuilder and sets the default values.

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

PermissionsBatchCreateRequestBuilder(string, IRequestAdapter)

Instantiates a new PermissionsBatchCreateRequestBuilder and sets the default values.

public PermissionsBatchCreateRequestBuilder(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(List<PermissionBatchCreateRequest>, Action<RequestConfiguration<DefaultQueryParameters>>?, CancellationToken)

Assign permissions to multiple users, roles, and companies for a BIM 360 Document Management folder.

public Task<PermissionBatchCreateResponse?> PostAsync(List<PermissionBatchCreateRequest> body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)

Parameters

body List<PermissionBatchCreateRequest>

List of subjects and their respective permissions

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

A PermissionBatchCreateResponse

ToPostRequestInformation(List<PermissionBatchCreateRequest>, Action<RequestConfiguration<DefaultQueryParameters>>?)

Assign permissions to multiple users, roles, and companies for a BIM 360 Document Management folder.

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

Parameters

body List<PermissionBatchCreateRequest>

List of subjects and their respective permissions

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

Parameters

rawUrl string

The raw URL to use for the request builder.

Returns

PermissionsBatchCreateRequestBuilder

A PermissionsBatchCreateRequestBuilder