Class IssuesRequestBuilder
Builds and executes requests for operations under \projects{projectId}\issues
public class IssuesRequestBuilder : BaseRequestBuilder
- Inheritance
-
BaseRequestBuilderIssuesRequestBuilder
- Inherited Members
-
BaseRequestBuilder.PathParametersBaseRequestBuilder.RequestAdapterBaseRequestBuilder.UrlTemplate
Constructors
IssuesRequestBuilder(Dictionary<string, object>, IRequestAdapter)
Instantiates a new IssuesRequestBuilder and sets the default values.
public IssuesRequestBuilder(Dictionary<string, object> pathParameters, IRequestAdapter requestAdapter)
Parameters
pathParameters
Dictionary<string, object>Path parameters for the request
requestAdapter
IRequestAdapterThe request adapter to use to execute the requests.
IssuesRequestBuilder(string, IRequestAdapter)
Instantiates a new IssuesRequestBuilder and sets the default values.
public IssuesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
Parameters
rawUrl
stringThe raw URL to use for the request builder.
requestAdapter
IRequestAdapterThe request adapter to use to execute the requests.
Properties
this[Guid]
Gets an item from the Autodesk.ACC.Issues.projects.item.issues.item collection
public WithIssueItemRequestBuilder this[Guid position] { get; }
Parameters
position
GuidThe unique identifier of the issue.
Property Value
this[string]
Gets an item from the Autodesk.ACC.Issues.projects.item.issues.item collection
[Obsolete("This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.")]
public WithIssueItemRequestBuilder this[string position] { get; }
Parameters
position
stringThe unique identifier of the issue.
Property Value
Methods
GetAsync(Action<RequestConfiguration<IssuesRequestBuilderGetQueryParameters>>?, CancellationToken)
Retrieves information about all the issues in a project, including details about their associated comments and attachments.We support retrieving file-related (pushpin) issues. However, we do not currently support retrieving sheet-related issues from the ACC Build Sheets tool... include:: ../../../../_snippets/not-backward-compatible.rst
public Task<IssuesDefinition?> GetAsync(Action<RequestConfiguration<IssuesRequestBuilder.IssuesRequestBuilderGetQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)
Parameters
requestConfiguration
Action<RequestConfiguration<IssuesRequestBuilder.IssuesRequestBuilderGetQueryParameters>>Configuration for the request such as headers, query parameters, and middleware options.
cancellationToken
CancellationTokenCancellation token to use when cancelling requests
Returns
Exceptions
- ErrorResponseDefinition
When receiving a 400 status code
- ErrorResponseDefinition
When receiving a 403 status code
- ErrorResponseDefinition
When receiving a 404 status code
PostAsync(CreateIssueDefinition, Action<RequestConfiguration<DefaultQueryParameters>>?, CancellationToken)
Adds an issue to a project.To verify whether a user can create issues for a specific project, call GET users/me </en/docs/acc/v1/reference/http/issues-me-GET>
_.To verify whether a user can create issues for a specific project, call GET users/me and verify that the issues
section includes the new
object.You can add references to objects, such as photos and documents. Note that we currently only support directly uploading objects to ACC Docs. You cannot directly upload other objects such as photos and documents unless you upload them to ACC Docs as a file. See the Add References To Issues </en/docs/acc/v1/tutorials/issues/add-references-to-issues>
_tutorial for more details.We support retrieving file-related (pushpin) issues. However, we do not currently support retrieving sheet-related issues from the ACC Build Sheets tool... include:: ../../../../_snippets/not-backward-compatible.rst
public Task<GetIssueDefinition?> PostAsync(CreateIssueDefinition body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)
Parameters
body
CreateIssueDefinitionThe request body
requestConfiguration
Action<RequestConfiguration<DefaultQueryParameters>>Configuration for the request such as headers, query parameters, and middleware options.
cancellationToken
CancellationTokenCancellation token to use when cancelling requests
Returns
Exceptions
- ErrorResponseDefinition
When receiving a 400 status code
- ErrorResponseDefinition
When receiving a 403 status code
- ErrorResponseDefinition
When receiving a 409 status code
ToGetRequestInformation(Action<RequestConfiguration<IssuesRequestBuilderGetQueryParameters>>?)
Retrieves information about all the issues in a project, including details about their associated comments and attachments.We support retrieving file-related (pushpin) issues. However, we do not currently support retrieving sheet-related issues from the ACC Build Sheets tool... include:: ../../../../_snippets/not-backward-compatible.rst
public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<IssuesRequestBuilder.IssuesRequestBuilderGetQueryParameters>>? requestConfiguration = null)
Parameters
requestConfiguration
Action<RequestConfiguration<IssuesRequestBuilder.IssuesRequestBuilderGetQueryParameters>>Configuration for the request such as headers, query parameters, and middleware options.
Returns
- RequestInformation
A Microsoft.Kiota.Abstractions.RequestInformation
ToPostRequestInformation(CreateIssueDefinition, Action<RequestConfiguration<DefaultQueryParameters>>?)
Adds an issue to a project.To verify whether a user can create issues for a specific project, call GET users/me </en/docs/acc/v1/reference/http/issues-me-GET>
_.To verify whether a user can create issues for a specific project, call GET users/me and verify that the issues
section includes the new
object.You can add references to objects, such as photos and documents. Note that we currently only support directly uploading objects to ACC Docs. You cannot directly upload other objects such as photos and documents unless you upload them to ACC Docs as a file. See the Add References To Issues </en/docs/acc/v1/tutorials/issues/add-references-to-issues>
_tutorial for more details.We support retrieving file-related (pushpin) issues. However, we do not currently support retrieving sheet-related issues from the ACC Build Sheets tool... include:: ../../../../_snippets/not-backward-compatible.rst
public RequestInformation ToPostRequestInformation(CreateIssueDefinition body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null)
Parameters
body
CreateIssueDefinitionThe request body
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 IssuesRequestBuilder WithUrl(string rawUrl)
Parameters
rawUrl
stringThe raw URL to use for the request builder.