Welcome
Expand Getting StartedGetting Started
Expand SOLIDWORKS API HelpSOLIDWORKS API Help
Expand SOLIDWORKS Electrical API HelpSOLIDWORKS Electrical API Help
Expand SOLIDWORKS PDM Professional API HelpSOLIDWORKS PDM Professional API Help
Collapse PDM Pro API Web ServicePDM Pro API Web Service
Welcome
Getting Started
Release Notes
Overview
Collapse ResourceGroupsResourceGroups
Expand Authentication Resource GroupAuthentication Resource Group
Expand BOM Resource GroupBOM Resource Group
Expand Configuration Resource GroupConfiguration Resource Group
Expand Data Card Resource GroupData Card Resource Group
Expand Default Resource GroupDefault Resource Group
Collapse File Resource GroupFile Resource Group
Overview
Collapse OperationsOperations
api/{vaultName}/files/{fileId}/{folderId}/bominfo (Get)
api/{vaultName}/files/{fileId}/{folderId}/history (Get)
api/{vaultName}/files/{fileId}/{folderId}/moves (Get)
api/{vaultName}/files/{fileId}/{folderId}/versions (Get)
api/{vaultName}/files/{fileId}/{folderId}?destroy={destroy} (Delete)
api/{vaultName}/files/{fileId}/{version}/{configId}/{folderId}/whereused?anyVersion={anyVersion} (Get)
api/{vaultName}/files/{fileId}/{version}/{configId}/whereused?folderId={folderId}-anyVersion={anyVersion} (Get)
api/{vaultName}/files/{fileId}/{version}/{folderId} (Get)
api/{vaultName}/files/{fileId}/{version}/{folderId}/ActiveConfig (Get)
api/{vaultName}/files/{fileId}/{version}/{folderId}/allreferences?configId={configId}-includeSubParents={includeSubParents} (Get)
api/{vaultName}/files/{fileId}/{version}/{folderId}/configurations (Get)
api/{vaultName}/files/{fileId}/{version}/{folderId}/download (Get)
api/{vaultName}/files/{fileId}/{version}/{folderId}/info (Get)
api/{vaultName}/files/{fileId}/{version}/{folderId}/info/extended (Get)
api/{vaultName}/files/{fileId}/{version}/{folderId}/references?configId={configId} (Get)
api/{vaultName}/files/{fileId}/{version}/{folderId}/thumbnails (Get)
api/{vaultName}/files/{fileId}/{version}/{folderId}/transitions (Get)
api/{vaultName}/files/{fileId}/{version}/{folderId}/variables (Get)
api/{vaultName}/files/{fileId}/{version}/ActiveConfig?folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/{version}/allreferences?configId={configId}-folderId={folderId}-includeSubParents={includeSubParents} (Get)
api/{vaultName}/files/{fileId}/{version}/configurations?folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/{version}/download?folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/{version}/info/extended?folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/{version}/info?folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/{version}/references?configId={configId}-folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/{version}/thumbnails?folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/{version}/transitions?folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/{version}/variables?folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/{version}/whereused?configId={configId}-folderId={folderId}-anyVersion={anyVersion} (Get)
api/{vaultName}/files/{fileId}/{version}?folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/bominfo?folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/history?folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/info?version={version}-folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/moves?folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/transitions?version={version}-folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/versions?folderId={folderId} (Get)
api/{vaultName}/files/{fileId}?folderId={folderId}-destroy={destroy} (Delete)
api/{vaultName}/files/{fileId}?version={version}-folderId={folderId} (Get)
api/{vaultName}/files/buildtree/checkout (Post)
api/{vaultName}/files/buildtree/undo (Post)
api/{vaultName}/files/CheckOut (Post)
api/{vaultName}/files/info (Post)
api/{vaultName}/files/infofrompath (Post)
api/{vaultName}/files/UndoCheckOut (Post)
Expand Folder Resource GroupFolder Resource Group
Expand Group Resource GroupGroup Resource Group
Expand Notification Resource GroupNotification Resource Group
Expand Progress Resource GroupProgress Resource Group
Expand Stage Resource GroupStage Resource Group
Expand State Transition Resource GroupState Transition Resource Group
Expand User Resource GroupUser Resource Group
Expand Vault Resource GroupVault Resource Group
Expand Version Resource GroupVersion Resource Group
Expand Workflow Resource GroupWorkflow Resource Group
Expand Search Resource GroupSearch Resource Group
Expand FeatureWorks API HelpFeatureWorks API Help
Expand SOLIDWORKS Costing API HelpSOLIDWORKS Costing API Help
Expand SOLIDWORKS Document Manager API HelpSOLIDWORKS Document Manager API Help
Expand SOLIDWORKS Inspection API HelpSOLIDWORKS Inspection API Help
Expand SOLIDWORKS Routing API HelpSOLIDWORKS Routing API Help
Expand SOLIDWORKS Simulation API HelpSOLIDWORKS Simulation API Help
Expand SOLIDWORKS Sustainability API HelpSOLIDWORKS Sustainability API Help
Expand SOLIDWORKS Toolbox API HelpSOLIDWORKS Toolbox API Help
Expand SOLIDWORKS Utilities API HelpSOLIDWORKS Utilities API Help
Expand eDrawings API HelpeDrawings API Help
Expand DraftSight API HelpDraftSight API Help
Expand Lisp Programming BasicsLisp Programming Basics
Expand Lisp Functions OverviewLisp Functions Overview
Expand Lisp Functions ReferenceLisp Functions Reference
Expand Visual Lisp Compatible FunctionsVisual Lisp Compatible Functions
Hide Table of Contents
PDM Pro API Web Service
Getapi/{vaultName}/files/{fileId}/{version}/{configId}/whereused?folderId={folderId}&anyVersion={anyVersion}
PDM Pro API Web Service > File Resource Group : api/{vaultName}/files/{fileId}/{version}/{configId}/whereused?folderId={folderId}&anyVersion={anyVersion} (Get)
Description
GET: api/{VaultName}/files/{FileID}/{Version}/whereused Get file where usedGets the parent files where the specified file is used.
Parameters
NameDescriptionData Type
(Required URI Parameter) Vault namestring
(Required URI Parameter) File IDinteger
(Required URI Parameter) File versioninteger
(URI Parameter) Config ID, default value is -1integer
(URI Parameter) Folder ID, default value is 0integer
(URI Parameter) Whether any version, default value is falseboolean

(Response) FileInfo object:

   File object:

      FileID: integer

      FileName: string

   Folder object:

      FolderID: integer

      FolderPath: string

   Version: integer

   Config object:

      ConfigurationName: string

      ConfigurationId: integer

(Member of FileRef Model)

FileInfo

(Response) Whether is self-referential

(Member of FileRef Model)

boolean

(Response) 1 if a Toolbox file, 0 if not

(Member of FileRef Model)

integer

(Response) Object type:

   ObjType_NoObject = 0

   ObjType_File = 1

   ObjType_InternalComponent = 2

   ObjType_SavedBOM = 3

   ObjType_Item = 4

   ObjType_CutListItem = 5

 

(Member of FileRef model)

PweObjectType

(Response) An array of BaseWarningModels, each containing:

   Message = string

   IsBlocking = boolean

   IsError = boolean

(Member of FileRef model)

Collection of BaseWarningModel

(Response) An array of FileRefs, each containing:

   File Info:

      File:
         FileId = integer

         FileName = string

      Folder:

         FolderId = integer

         FolderPath = string

      Version = integer

      Config:

          ConfigurationName = string

          ConfigurationId = integer

   IsCyclic: whether self-referential

   IsToolbox: 1 if in Toolbox, 0 if not

   ObjectType: PweObjectType containing one of:

      ObjType_NoObject = 0

      ObjType_File = 1

      ObjType_InternalComponent = 2

      ObjType_SavedBOM = 3

      ObjType_Item = 4

      ObjType_CutListItem = 5

   Warnings: Array of BaseWarningModels, each containing:

      Message = string

      IsBlocking = boolean

      IsError = boolean

   References: Array of FileRefs, each containing (see above for details):

      FileInfo

      IsCyclic

      IsToolbox

      ObjectType

      Warnings

      References

Collection of FileRef
Response (application/json)

Response (text/json)

Response (application/xml)

Response (text/xml)

See Also


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   api/{vaultName}/files/{fileId}/{version}/{configId}/whereused?folderId={folderId}&anyVersion={anyVersion} (Get)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:




x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2024 SP01

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.