Table of Contents

Class MeRequestBuilder

Namespace
Autodesk.ACC.RFIs.V2.Containers.Item.Users.Me
Assembly
Autodesk.ACC.RFIs.dll

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

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

Constructors

MeRequestBuilder(Dictionary<string, object>, IRequestAdapter)

Instantiates a new MeRequestBuilder and sets the default values.

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

MeRequestBuilder(string, IRequestAdapter)

Instantiates a new MeRequestBuilder and sets the default values.

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

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

Retrieves information about an end user, 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.**We strongly recommend calling this endpoint before creating RFIs, in order to verify the most up-to-date permissions and actions.**Users who have been assigned either creator (projectSC) or manager (projectGC) workflow roles can create RFIs. All users in the project are automatically assigned the creator workflow role. To assign creator or manager workflow roles to project members, open the Project Admin module, select the Services tab, and select the Project Management section.Note that only users who are members of a project can potentially create and edit RFIs for the project. To check which users are members of a project, call GET projects/users BIM 360</en/docs/bim360/v1/reference/http/admin-v1-projects-projectId-users-GET>_ ACC</en/docs/acc/v1/reference/http/admin-v1-projects-projectId-users-GET>. If a user is not a project member, the endpoint will return an error.If the createRfi object appears in the response in the permittedActions object, it indicates that the user can create RFIs.Currently, you can only assign workflow roles (creator, manager, reviewer) in the UI. To assign workflow roles, open the Project Admin module, select the Services tab, and select the Project Management section.The following table describes the Project Admin module workflow role names and the corresponding RFIs API names:======================================================= ==========================Project Admin Module Workflow Role Name RFIs API Workflow Role Name======================================================= ==========================Creator Subcontractor (projectSC)Manager General Contractor (projectGC)Reviewer 1 (EMEA workflow) Construction Manager (projectCM)Reviewer (US workflow) / Reviewer 2 (EMEA workflow) Architect (projectArch)======================================================= ==========================For information about RFI workflow role permissions, see the RFIs help documentation BIM360<https://help.autodesk.com/view/BIM360D/ENU/?guid=GUID-E0BD1D73-B070-4DB0-9294-BF9CD0A7B6F3> ACC<https://help.autodesk.com/view/BUILD/ENU/?guid=RFI_Permissions>.Currently, you can only select an RFI workflow type for an RFI in the UI. To assign an RFI workflow to an RFI, 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>_The following table describes the Project Admin module names and the corresponding RFIs API names:======================================= ===========================Project Admin Module Workflow Type Name RFIs API Workflow Type Name======================================= ===========================Default Workflow USWorkflow with Additional Reviewer EMEA======================================= ===========================Note that you can use either type of workflow in the US and in EMEA... include:: ../../../../_snippets/forward-compatible.rst

public Task<UsersMeResponse?> 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 CancellationToken

Cancellation token to use when cancelling requests

Returns

Task<UsersMeResponse>

A UsersMeResponse

Exceptions

ErrorResponse

When receiving a 400 status code

ToGetRequestInformation(Action<RequestConfiguration<DefaultQueryParameters>>?)

Retrieves information about an end user, 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.**We strongly recommend calling this endpoint before creating RFIs, in order to verify the most up-to-date permissions and actions.**Users who have been assigned either creator (projectSC) or manager (projectGC) workflow roles can create RFIs. All users in the project are automatically assigned the creator workflow role. To assign creator or manager workflow roles to project members, open the Project Admin module, select the Services tab, and select the Project Management section.Note that only users who are members of a project can potentially create and edit RFIs for the project. To check which users are members of a project, call GET projects/users BIM 360</en/docs/bim360/v1/reference/http/admin-v1-projects-projectId-users-GET>_ ACC</en/docs/acc/v1/reference/http/admin-v1-projects-projectId-users-GET>. If a user is not a project member, the endpoint will return an error.If the createRfi object appears in the response in the permittedActions object, it indicates that the user can create RFIs.Currently, you can only assign workflow roles (creator, manager, reviewer) in the UI. To assign workflow roles, open the Project Admin module, select the Services tab, and select the Project Management section.The following table describes the Project Admin module workflow role names and the corresponding RFIs API names:======================================================= ==========================Project Admin Module Workflow Role Name RFIs API Workflow Role Name======================================================= ==========================Creator Subcontractor (projectSC)Manager General Contractor (projectGC)Reviewer 1 (EMEA workflow) Construction Manager (projectCM)Reviewer (US workflow) / Reviewer 2 (EMEA workflow) Architect (projectArch)======================================================= ==========================For information about RFI workflow role permissions, see the RFIs help documentation BIM360<https://help.autodesk.com/view/BIM360D/ENU/?guid=GUID-E0BD1D73-B070-4DB0-9294-BF9CD0A7B6F3> ACC<https://help.autodesk.com/view/BUILD/ENU/?guid=RFI_Permissions>.Currently, you can only select an RFI workflow type for an RFI in the UI. To assign an RFI workflow to an RFI, 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>_The following table describes the Project Admin module names and the corresponding RFIs API names:======================================= ===========================Project Admin Module Workflow Type Name RFIs API Workflow Type Name======================================= ===========================Default Workflow USWorkflow with Additional Reviewer EMEA======================================= ===========================Note that you can use either type of workflow in the US and in EMEA... 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

WithUrl(string)

Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.

public MeRequestBuilder WithUrl(string rawUrl)

Parameters

rawUrl string

The raw URL to use for the request builder.

Returns

MeRequestBuilder

A MeRequestBuilder