Skip to main content
11-Garnet
June 4, 2021
Question

when using WRS :PTC.CADDocumentMgmt.GetStructure service throws error for some assemblies

  • June 4, 2021
  • 0 replies
  • 691 views

for getting CAD Structure of assembly, we are using the service  /CADDocuments('{CADDocumentId}')/PTC.CADDocumentMgmt.GetStructure and adding the $expand=Components($expand=CADDocument($select=Name,Number,Version,State,TypeIcon);$levels=max)

for some assemblies its giving the desired results but for some assembly it throws error in WRS response as "OData Library: An exception without message text was thrown.".

can anyone help me resolve this issue.