Table of Contents

Class RfisRequestBuilder

Namespace
Autodesk.ACC.RFIs.V2.Containers.Item.Rfis
Assembly
Autodesk.ACC.RFIs.dll

Builds and executes requests for operations under \v2\containers{containerId}\rfis

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

Constructors

RfisRequestBuilder(Dictionary<string, object>, IRequestAdapter)

Instantiates a new RfisRequestBuilder and sets the default values.

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

RfisRequestBuilder(string, IRequestAdapter)

Instantiates a new RfisRequestBuilder and sets the default values.

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

this[string]

Gets an item from the Autodesk.ACC.RFIs.v2.containers.item.rfis.item collection

public WithRfiItemRequestBuilder this[string position] { get; }

Parameters

position string

The ID of the RFI.

Property Value

WithRfiItemRequestBuilder

A WithRfiItemRequestBuilder

Methods

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

Retrieves information about all the RFIs (requests for information) in a project, including details about their associated comments and attachments. To get more detailed information about a single RFI see GET rfis/:id BIM 360</en/docs/bim360/v1/reference/http/rfis-v2-rfis-id-GET>_ ACC</en/docs/acc/v1/reference/http/rfis-v2-rfis-id-GET>_.You can retrieve both document-related (pusphin) RFIs and project-related RFIs.To verify whether an RFI is document-related (pusphin) or project-related, check the linkedDocument attribute in the response. If the RFI is project-related the linkedDocument will be assigned a null value, if the RFI is document-related, it will be assigned an ID.RFIs are managed in the Project Management module... include:: ../../../../_snippets/forward-compatible.rst

public Task<RfiList?> GetAsync(Action<RequestConfiguration<RfisRequestBuilder.RfisRequestBuilderGetQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)

Parameters

requestConfiguration Action<RequestConfiguration<RfisRequestBuilder.RfisRequestBuilderGetQueryParameters>>

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

cancellationToken CancellationToken

Cancellation token to use when cancelling requests

Returns

Task<RfiList>

A RfiList

Exceptions

ErrorResponse

When receiving a 400 status code

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

Adds a RFI (request for information) to a project. You can create both document-related (pushpin) RFIs, and project-related RFIs.RFIs are managed in the Project Management module .Users can create RFIs if they have been assigned either creator (projectSC) or manager (projectGC) workflow roles. Project admins are automatically assigned the creator workflow role.Note that you cannot currently use the RFIs API to assign workflow roles to users. To assign workflow roles, open the Project Admin module, select the Services tab, and select the Project Management section.To verify whether a user can create an RFI, call GET users/me BIM 360</en/docs/bim360/v1/reference/http/rfis-v2-users-me-GET/>_ ACC</en/docs/acc/v1/reference/http/rfis-v2-users-me-GET/>. If the createRfi object appears in the permittedActions response, it indicates that the user can create RFIs.We strongly recommend calling\ GET users/me BIM 360</en/docs/bim360/v1/reference/http/rfis-v2-users-me-GET/> ACC</en/docs/acc/v1/reference/http/rfis-v2-users-me-GET/>_\ **before creating RFIs in order to verify the most up-to-date permissions and actions.**Note that you can use either of the following scopes when calling this endpoint: data:write data:create... include:: ../../../../_snippets/forward-compatible.rst

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

Parameters

body CreateRfiRequest

The request body

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

A Rfi

Exceptions

ErrorResponse

When receiving a 400 status code

ToGetRequestInformation(Action<RequestConfiguration<RfisRequestBuilderGetQueryParameters>>?)

Retrieves information about all the RFIs (requests for information) in a project, including details about their associated comments and attachments. To get more detailed information about a single RFI see GET rfis/:id BIM 360</en/docs/bim360/v1/reference/http/rfis-v2-rfis-id-GET>_ ACC</en/docs/acc/v1/reference/http/rfis-v2-rfis-id-GET>_.You can retrieve both document-related (pusphin) RFIs and project-related RFIs.To verify whether an RFI is document-related (pusphin) or project-related, check the linkedDocument attribute in the response. If the RFI is project-related the linkedDocument will be assigned a null value, if the RFI is document-related, it will be assigned an ID.RFIs are managed in the Project Management module... include:: ../../../../_snippets/forward-compatible.rst

public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<RfisRequestBuilder.RfisRequestBuilderGetQueryParameters>>? requestConfiguration = null)

Parameters

requestConfiguration Action<RequestConfiguration<RfisRequestBuilder.RfisRequestBuilderGetQueryParameters>>

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

Returns

RequestInformation

A Microsoft.Kiota.Abstractions.RequestInformation

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

Adds a RFI (request for information) to a project. You can create both document-related (pushpin) RFIs, and project-related RFIs.RFIs are managed in the Project Management module .Users can create RFIs if they have been assigned either creator (projectSC) or manager (projectGC) workflow roles. Project admins are automatically assigned the creator workflow role.Note that you cannot currently use the RFIs API to assign workflow roles to users. To assign workflow roles, open the Project Admin module, select the Services tab, and select the Project Management section.To verify whether a user can create an RFI, call GET users/me BIM 360</en/docs/bim360/v1/reference/http/rfis-v2-users-me-GET/>_ ACC</en/docs/acc/v1/reference/http/rfis-v2-users-me-GET/>. If the createRfi object appears in the permittedActions response, it indicates that the user can create RFIs.We strongly recommend calling\ GET users/me BIM 360</en/docs/bim360/v1/reference/http/rfis-v2-users-me-GET/> ACC</en/docs/acc/v1/reference/http/rfis-v2-users-me-GET/>_\ **before creating RFIs in order to verify the most up-to-date permissions and actions.**Note that you can use either of the following scopes when calling this endpoint: data:write data:create... include:: ../../../../_snippets/forward-compatible.rst

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

Parameters

body CreateRfiRequest

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

Parameters

rawUrl string

The raw URL to use for the request builder.

Returns

RfisRequestBuilder

A RfisRequestBuilder