You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d69268a
Browse filesBrowse the repository at this point in the historyBrowse files
* @param {string} [sort] Comma-separated fields to sort by in ascending order
652
652
* @param {string} [field] Comma-separated fields to include in response
@@ -666,6 +666,70 @@ export class AdminClient extends BaseClient {
666
666
returnresponse.content;
667
667
}
668
668
669
+
/**
670
+
* Returns a list of ACC products the user is associated with in their assigned projects.
671
+
* Only account administrators can call this endpoint.
672
+
* Note that this endpoint is compatible with both BIM 360 and Autodesk Construction Cloud (ACC) projects.
673
+
* @summary Get user products
674
+
* @param {string} accountId The account ID of the user.
675
+
* @param {string} userId User ID
676
+
* @param {Region} [region] Specifies the region where your request should be routed. If not set, the request is routed automatically, which may result in a slight increase in latency. Possible values: US, EMEA. For a complete list of supported regions, see the Regions page.
677
+
* @param {string} [adminUserId] The ID of a user on whose behalf your request is acting. Your app has access to all users specified by the administrator in the SaaS integrations UI. Provide this header value to identify the user to be affected by the request. You can use either the user's ACC ID (id), or their Autodesk ID (autodeskId). Note that this header is required for Account Admin POST, PATCH, and DELETE endpoints if you want to use a 2-legged authentication context. This header is optional for Account Admin GET endpoints.
678
+
* @param {Array<string>} [filterProjectId] A list of project IDs. Only results where the user is associated with one or more of the specified projects are returned.
679
+
* @param {Array<FilterProductKey>} [filterKey] Filters the list of products by product key — a machine-readable identifier for an ACC product (such as docs, build, or cost). You can specify one or more keys to return only those products the user is associated with. Example: filter[key]=docs,build Possible values: accountAdministration, autoSpecs, build, buildingConnected, capitalPlanning, cloudWorksharing, cost, designCollaboration, docs, financials, insight, modelCoordination, projectAdministration, takeoff, and workshopxr.
680
+
* @param {Array<FilterProductField>} [fields] List of fields to return in the response. Defaults to all fields. Possible values: projectIds, name and icon.
681
+
* @param {Array<FilterProductSort>} [sort] The list of fields to sort by. Each property can be followed by a direction modifier of either asc (ascending) or desc (descending). The default is asc. Possible values: name. Default is the order in database.
682
+
* @param {number} [limit] The maximum number of records to return in the response. Default: 20 Minimum: 1 Maximum: 200 (If a larger value is provided, only 200 records are returned)
683
+
* @param {number} [offset] The index of the first record to return. Used for pagination in combination with the limit parameter. Example: limit=20 and offset=40 returns records 41–60.
* Returns the roles assigned to a specific user across the projects they belong to.
702
+
* Only users with account admin permissions can call this endpoint. To verify a user's permissions, call GET users.
703
+
* Note that this endpoint is compatible with both BIM 360 and Autodesk Construction Cloud (ACC) projects.
704
+
* @summary Get user roles
705
+
* @param {string} accountId The account ID of the user.
706
+
* @param {string} userId User ID
707
+
* @param {Region} [region] Specifies the region where your request should be routed. If not set, the request is routed automatically, which may result in a slight increase in latency. Possible values: US, EMEA. For a complete list of supported regions, see the Regions page.
708
+
* @param {string} [adminUserId] The ID of a user on whose behalf your request is acting. Your app has access to all users specified by the administrator in the SaaS integrations UI. Provide this header value to identify the user to be affected by the request. You can use either the user's ACC ID (id), or their Autodesk ID (autodeskId). Note that this header is required for Account Admin POST, PATCH, and DELETE endpoints if you want to use a 2-legged authentication context. This header is optional for Account Admin GET endpoints.
709
+
* @param {Array<string>} [filterProjectId] A list of project IDs. Only results where the user is associated with one or more of the specified projects are returned.
710
+
* @param {Array<FilterRoleStatus>} [filterStatus] Filters roles by their status. Accepts one or more of the following values: active – The role is currently in use. inactive – The role has been removed or is no longer in use.
711
+
* @param {string} [filterName] Filters roles by name. By default, this performs a partial match (case-insensitive). You can control how the match behaves by using the filterTextMatch parameter. For example, to match only names that start with (startsWith), end with (endsWith), or exactly equal (equals) the provided value.
712
+
* @param {FilterTextMatch} [filterTextMatch] Specifies how text-based filters should match values in supported fields. This parameter can be used in any endpoint that supports text-based filtering (e.g., filter[name], filter[jobNumber], filter[companyName], etc.). Possible values: contains (default) – Matches if the field contains the specified text anywhere startsWith – Matches if the field starts with the specified text endsWith – Matches if the field ends with the specified text equals – Matches only if the field exactly matches the specified text Matching is case-insensitive. Wildcards and regular expressions are not supported.
713
+
* @param {Array<FilterRoleField>} [fields] A comma-separated list of response fields to include. Defaults to all fields if not specified. Use this parameter to reduce the response size by retrieving only the fields you need. Possible values: projectIds – Projects where the user holds this role name – Role name status – Role status (active or inactive) key – Internal key used to translate the role name createdAt – Timestamp when the role was created updatedAt – Timestamp when the role was last updated
714
+
* @param {Array<FilterRoleSort>} [sort] Sorts the results by one or more fields. Each field can be followed by a direction modifier: asc – Ascending order (default) desc – Descending order Possible values: name, createdAt, updatedAt. Default sort: name asc Example: sort=name,updatedAt desc
715
+
* @param {number} [limit] The maximum number of records to return in the response. Default: 20 Minimum: 1 Maximum: 200 (If a larger value is provided, only 200 records are returned)
716
+
* @param {number} [offset] The index of the first record to return. Used for pagination in combination with the limit parameter. Example: limit=20 and offset=40 returns records 41–60.
* A list of ACC products the user is associated with.
5
+
* @export
6
+
* @interface Product
7
+
*/
8
+
exportinterfaceProduct{
9
+
/**
10
+
* A machine-readable identifier for the product (e.g., docs, build).
11
+
* Each product has a unique key used throughout the API for identification, filtering, and integration logic (e.g., in query parameters like filter[key]).
12
+
*
13
+
* Possible values: ACC - autoSpecs, build, cost, designCollaboration, docs, insight, modelCoordination, projectAdministration, and takeoff.
* Note that this endpoint returns only ACC products. Other endpoints, such as GET projects and GET projects/:projectId, may return both ACC and BIM 360 projects. In those responses, product keys may include BIM 360 values.
18
+
* @type {string}
19
+
* @memberof Product
20
+
*/
21
+
'key'?: string;
22
+
/**
23
+
* The URL of the icon associated with the product.
24
+
* @type {string}
25
+
* @memberof Product
26
+
*/
27
+
'icon'?: string;
28
+
/**
29
+
* The name of the product.
30
+
* @type {string}
31
+
* @memberof Product
32
+
*/
33
+
'name'?: string;
34
+
/**
35
+
* The list of projects IDs where the user is associated with the product.
0 commit comments