Table of Contents

Class IssueRootCauseCategoriesRequestBuilder

Namespace
Autodesk.ACC.Issues.Projects.Item.IssueRootCauseCategories
Assembly
Autodesk.ACC.Issues.dll

Builds and executes requests for operations under \projects{projectId}\issue-root-cause-categories

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

Constructors

IssueRootCauseCategoriesRequestBuilder(Dictionary<string, object>, IRequestAdapter)

Instantiates a new IssueRootCauseCategoriesRequestBuilder and sets the default values.

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

IssueRootCauseCategoriesRequestBuilder(string, IRequestAdapter)

Instantiates a new IssueRootCauseCategoriesRequestBuilder and sets the default values.

public IssueRootCauseCategoriesRequestBuilder(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

GetAsIssueRootCauseCategoriesGetResponseAsync(Action<RequestConfiguration<IssueRootCauseCategoriesRequestBuilderGetQueryParameters>>?, CancellationToken)

Retrieves a list of supported root cause categories and root causes that you can allocate to an issue. For example, communication and coordination.Note that by default, this endpoint only returns root cause categories. To include root causes you need to to add the include query string parameter (include=rootcasues)... include:: ../../../../_snippets/not-backward-compatible.rst

public Task<IssueRootCauseCategoriesGetResponse?> GetAsIssueRootCauseCategoriesGetResponseAsync(Action<RequestConfiguration<IssueRootCauseCategoriesRequestBuilder.IssueRootCauseCategoriesRequestBuilderGetQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)

Parameters

requestConfiguration Action<RequestConfiguration<IssueRootCauseCategoriesRequestBuilder.IssueRootCauseCategoriesRequestBuilderGetQueryParameters>>

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

cancellationToken CancellationToken

Cancellation token to use when cancelling requests

Returns

Task<IssueRootCauseCategoriesGetResponse>

A IssueRootCauseCategoriesGetResponse

Exceptions

ErrorResponseDefinition

When receiving a 400 status code

ErrorResponseDefinition

When receiving a 404 status code

ErrorResponseDefinition

When receiving a 500 status code

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

Retrieves a list of supported root cause categories and root causes that you can allocate to an issue. For example, communication and coordination.Note that by default, this endpoint only returns root cause categories. To include root causes you need to to add the include query string parameter (include=rootcasues)... include:: ../../../../_snippets/not-backward-compatible.rst

[Obsolete("This method is obsolete. Use GetAsIssueRootCauseCategoriesGetResponseAsync instead.")]
public Task<IssueRootCauseCategoriesResponse?> GetAsync(Action<RequestConfiguration<IssueRootCauseCategoriesRequestBuilder.IssueRootCauseCategoriesRequestBuilderGetQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)

Parameters

requestConfiguration Action<RequestConfiguration<IssueRootCauseCategoriesRequestBuilder.IssueRootCauseCategoriesRequestBuilderGetQueryParameters>>

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

cancellationToken CancellationToken

Cancellation token to use when cancelling requests

Returns

Task<IssueRootCauseCategoriesResponse>

A IssueRootCauseCategoriesResponse

Exceptions

ErrorResponseDefinition

When receiving a 400 status code

ErrorResponseDefinition

When receiving a 404 status code

ErrorResponseDefinition

When receiving a 500 status code

ToGetRequestInformation(Action<RequestConfiguration<IssueRootCauseCategoriesRequestBuilderGetQueryParameters>>?)

Retrieves a list of supported root cause categories and root causes that you can allocate to an issue. For example, communication and coordination.Note that by default, this endpoint only returns root cause categories. To include root causes you need to to add the include query string parameter (include=rootcasues)... include:: ../../../../_snippets/not-backward-compatible.rst

public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<IssueRootCauseCategoriesRequestBuilder.IssueRootCauseCategoriesRequestBuilderGetQueryParameters>>? requestConfiguration = null)

Parameters

requestConfiguration Action<RequestConfiguration<IssueRootCauseCategoriesRequestBuilder.IssueRootCauseCategoriesRequestBuilderGetQueryParameters>>

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

Parameters

rawUrl string

The raw URL to use for the request builder.

Returns

IssueRootCauseCategoriesRequestBuilder

A IssueRootCauseCategoriesRequestBuilder