Class WithRfiItemRequestBuilder
Builds and executes requests for operations under \v2\containers{containerId}\rfis{rfiId}
public class WithRfiItemRequestBuilder : BaseRequestBuilder
- Inheritance
-
BaseRequestBuilderWithRfiItemRequestBuilder
- Inherited Members
-
BaseRequestBuilder.PathParametersBaseRequestBuilder.RequestAdapterBaseRequestBuilder.UrlTemplate
Constructors
WithRfiItemRequestBuilder(Dictionary<string, object>, IRequestAdapter)
Instantiates a new WithRfiItemRequestBuilder and sets the default values.
public WithRfiItemRequestBuilder(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.
WithRfiItemRequestBuilder(string, IRequestAdapter)
Instantiates a new WithRfiItemRequestBuilder and sets the default values.
public WithRfiItemRequestBuilder(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
Attachments
The attachments property
public AttachmentsRequestBuilder Attachments { get; }
Property Value
Comments
The comments property
public CommentsRequestBuilder Comments { get; }
Property Value
Methods
GetAsync(Action<RequestConfiguration<DefaultQueryParameters>>?, CancellationToken)
Retrieves detailed information about a single RFI (request for information), including the type of workflow roles assigned to the user, whether the user is permitted to create RFIs, which states the user can create the RFIs in, and the attributes that are required when creating the RFIs in the different states. For general information about all the RFIs in a project, 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>
_.**We strongly recommend calling this endpoint before updating RFIs, in order to verify the most up-to-date permissions and actions.**You can retrieve both document-related (pusphin) RFIs and project-related RFIs.To verify whether an RFI is document-related (pushpin) or project-related, check the linkedDocument
attribute in the response. If the RFI is project-related the linkedDocument
will not have a 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<Rfi?> GetAsync(Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)
Parameters
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
- ErrorResponse
When receiving a 400 status code
- ErrorResponse
When receiving a 404 status code
PatchAsync(UpdateRfiRequest, Action<RequestConfiguration<DefaultQueryParameters>>?, CancellationToken)
Updates an RFI.An RFI in Draft status must be updated by the user who created the RFI. For any other status, an RFI must be updated by the user assigned to the RFI.To verify the statuses that the user can transition the RFI to, the attributes that you are required to specify when transitioning the RFI to the new status, and the potential assignees for each status, call 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>
_ and check the permittedActions
section. Note that you need to select an assignee when you transition the RFI to another status.The list of permitted transitions that appear in the response payload is dependent on the workflow roles that were assigned to the user and the RFI workflow that was selected for the project.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.Note that you cannot currently use the RFIs API to select an RFI workflow type for a project. To assign an RFI workflow to a project, see the RFIs help documentation
BIM360<https://help.autodesk.com/view/BIM360D/ENU/?guid=GUID-787338BF-1189-4170-8629-7FA240F4BED4>
_ ACC<https://help.autodesk.com/view/BUILD/ENU/?guid=RFI_Workflow_Setup>
.For details about statuses and workflow roles, see the RFIs help documentation
BIM 360<https://help.autodesk.com/view/BIM360D/ENU/?guid=GUID-EB858EFA-DFEB-47EF-B9B3-1CE75BBE48F3>
ACC<https://help.autodesk.com/view/BUILD/ENU/?guid=RFI_Statuses>
.We strongly recommend calling\ 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>
\ **before updating RFIs in order to verify the most up-to-date permissions and actions.**To reassign the RFI to another user in its current status, call 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>
, and check the list of users in the permittedActions
section to see the list of potential assignees.For more details about adding attachments, see the Transitions tutorial
BIM 360</en/docs/bim360/v1/reference/tutorials/rfi-transitions/>
ACC</en/docs/acc/v1/reference/tutorials/rfi-transitions/>
_ ... include:: ../../../../_snippets/forward-compatible.rst
public Task<Rfi?> PatchAsync(UpdateRfiRequest body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)
Parameters
body
UpdateRfiRequestThe 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
- ErrorResponse
When receiving a 400 status code
- ErrorResponse
When receiving a 404 status code
ToGetRequestInformation(Action<RequestConfiguration<DefaultQueryParameters>>?)
Retrieves detailed information about a single RFI (request for information), including the type of workflow roles assigned to the user, whether the user is permitted to create RFIs, which states the user can create the RFIs in, and the attributes that are required when creating the RFIs in the different states. For general information about all the RFIs in a project, 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>
_.**We strongly recommend calling this endpoint before updating RFIs, in order to verify the most up-to-date permissions and actions.**You can retrieve both document-related (pusphin) RFIs and project-related RFIs.To verify whether an RFI is document-related (pushpin) or project-related, check the linkedDocument
attribute in the response. If the RFI is project-related the linkedDocument
will not have a 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<DefaultQueryParameters>>? requestConfiguration = null)
Parameters
requestConfiguration
Action<RequestConfiguration<DefaultQueryParameters>>Configuration for the request such as headers, query parameters, and middleware options.
Returns
- RequestInformation
A Microsoft.Kiota.Abstractions.RequestInformation
ToPatchRequestInformation(UpdateRfiRequest, Action<RequestConfiguration<DefaultQueryParameters>>?)
Updates an RFI.An RFI in Draft status must be updated by the user who created the RFI. For any other status, an RFI must be updated by the user assigned to the RFI.To verify the statuses that the user can transition the RFI to, the attributes that you are required to specify when transitioning the RFI to the new status, and the potential assignees for each status, call 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>
_ and check the permittedActions
section. Note that you need to select an assignee when you transition the RFI to another status.The list of permitted transitions that appear in the response payload is dependent on the workflow roles that were assigned to the user and the RFI workflow that was selected for the project.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.Note that you cannot currently use the RFIs API to select an RFI workflow type for a project. To assign an RFI workflow to a project, see the RFIs help documentation
BIM360<https://help.autodesk.com/view/BIM360D/ENU/?guid=GUID-787338BF-1189-4170-8629-7FA240F4BED4>
_ ACC<https://help.autodesk.com/view/BUILD/ENU/?guid=RFI_Workflow_Setup>
.For details about statuses and workflow roles, see the RFIs help documentation
BIM 360<https://help.autodesk.com/view/BIM360D/ENU/?guid=GUID-EB858EFA-DFEB-47EF-B9B3-1CE75BBE48F3>
ACC<https://help.autodesk.com/view/BUILD/ENU/?guid=RFI_Statuses>
.We strongly recommend calling\ 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>
\ **before updating RFIs in order to verify the most up-to-date permissions and actions.**To reassign the RFI to another user in its current status, call 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>
, and check the list of users in the permittedActions
section to see the list of potential assignees.For more details about adding attachments, see the Transitions tutorial
BIM 360</en/docs/bim360/v1/reference/tutorials/rfi-transitions/>
ACC</en/docs/acc/v1/reference/tutorials/rfi-transitions/>
_ ... include:: ../../../../_snippets/forward-compatible.rst
public RequestInformation ToPatchRequestInformation(UpdateRfiRequest body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null)
Parameters
body
UpdateRfiRequestThe 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 WithRfiItemRequestBuilder WithUrl(string rawUrl)
Parameters
rawUrl
stringThe raw URL to use for the request builder.