Article - CS398918
REST API ‘POST /CADDocuments('{CADDocumentId}')/PTC.CADDocumentMgmt.GetStructure’ takes a long time to load in Windchill PDMLink
Modified: 13-Aug-2023
Applies To
- Windchill PDMLink 12.0
Description
- REST API ‘POST /CADDocuments('{CADDocumentId}')/PTC.CADDocumentMgmt.GetStructure’ takes a long time to load
- Using the following criteria to get the whole CAD structure vi WRS REST API ‘POST /CADDocuments('{CADDocumentId}')/PTC.CADDocumentMgmt.GetStructure’, it takes long time to get the result:
$select=Components,CADDocumentID,PVTreeId,HasChildren,PVParentTreeId,CADDocumentName
$expand=Components($levels=max;$select=CADDocumentID,PVTreeId,HasChildren,PVParentTreeId,CADDocumentName)
$CADDocumentId=OR:wt.epm.EPMDocument:xxx
$body:
{
"BOMMembersOnly" : true,
"PathFilterWithSiblings": true
}
This is a printer-friendly version of Article 398918 and may be out of date. For the latest version click CS398918