{ "name": "Part", "collectionName": "Parts", "type": "wcType", "wcType": "wt.part.WTPart", "wcExcludedTypes": [ "wt.part.Placeholder", "com.ptc.windchill.mpml.resource.MPMResource", "com.lcs.wc.part.LCSPart", "com.ptc.sis.Base", "com.ptc.PHBase" ], "defaultForWcType": true, "description": "Parts", "parent": { "name": "WindchillEntities" }, "operations": "CREATE,UPDATE,DELETE", "multiOperations": "CREATE,UPDATE,DELETE", "hasCommonProperties": true, "attributes": [ { "name": "Name", "internalName": "name", "type": "String", "required": true, "common": true }, { "name": "Number", "internalName": "number", "type": "String", "common": true }, { "name": "EndItem", "internalName": "endItem", "type": "Boolean", "driver": true, "required": true, "common": true }, { "name": "TypeIcon", "internalName": "type_icon", "type": "PTC.Icon", "readOnly": true }, { "name": "Identity", "internalName": "displayIdentity", "type": "String", "readOnly": true }, { "name": "GeneralStatus", "internalName": "statusFamily_General", "type": "PTC.Icon", "readOnly": true }, { "name": "ShareStatus", "internalName": "statusFamily_Share", "type": "PTC.Icon", "readOnly": true }, { "name": "ChangeStatus", "internalName": "statusFamily_Change", "type": "PTC.Icon", "readOnly": true }, { "name": "Supersedes", "internalName": "statusFamily_Supersede", "type": "PTC.Icon", "readOnly": true }, { "name": "AssemblyMode", "internalName": "partType", "type": "PTC.EnumType", "required": true }, { "name": "DefaultUnit", "internalName": "defaultUnit", "type": "PTC.EnumType", "required": true, "common": true }, { "name": "DefaultTraceCode", "internalName": "defaultTraceCode", "type": "PTC.EnumType", "required": true, "common": true }, { "name": "Source", "internalName": "source", "type": "PTC.EnumType", "required": true }, { "name": "ConfigurableModule", "internalName": "genericType", "type": "PTC.EnumType", "common": true }, { "name": "GatheringPart", "internalName": "hidePartInStructure", "type": "Boolean", "required": true, "common": true }, { "name": "PhantomManufacturingPart", "internalName": "phantom", "type": "Boolean", "required": true, "common": true }, { "name": "BOMType", "internalName": "variation1", "type": "PTC.EnumType" }, { "name": "AlternateNumber", "internalName": "variation2", "type": "PTC.EnumType" } ], "inherits": [ { "name": "versioned" }, { "name": "contextManaged" }, { "name": "lifecycleManaged" }, { "name": "viewManageable" }, { "name": "workable" }, { "name": "representable", "version": 2 }, { "name": "organizationOwned" }, { "name": "foldered" }, { "name": "subtypeable" }, { "name": "softattributable", "version": "2" }, { "name": "optionSetAssignable" }, { "name": "expressionAssignable" }, { "name": "sourcingRelationship" }, { "name": "classifiable" }, { "name": "securityLabeled" }, { "name": "eventSubscribable" }, { "name": "partAssociations", "version": 2 }, { "name": "variantSpecs" }, { "name": "effectivityManaged" } ], "navigations": [ { "name": "Uses", "target": "PartUses", "type": "PartUse", "isCollection": true, "containsTarget": true }, { "name": "UsedBy", "target": "Parts", "type": "Part", "isCollection": true, "readOnly":true }, { "name": "DescribedBy", "target": "PartDescribeLinks", "type": "PartDescribeLink", "isCollection": true, "containsTarget": true }, { "name": "References", "target": "PartReferenceLinks", "type": "PartReferenceLink", "isCollection": true, "containsTarget": true }, { "name": "GetContentURL", "target":"PTC.NavCriteria.GetContentURL", "type": "PTC.NavCriteria.GetContentURL", "isCollection": true, "readOnly":true } ], "functions": [], "actions": [ { "name": "GetPartsList", "description": "Get a parts list with aggregate quantities for each unique part in the part structure.", "parameters": [ { "name": "Part", "type": "Part", "isNullable": false, "isCollection": false }, { "name": "NavigationCriteria", "type": "PTC.NavCriteria.NavigationCriteria", "isNullable": true, "isCollection": false } ], "returnType": { "type": "PartsListItem", "isCollection": true } }, { "name": "GetBOM", "description": "Get Bill Of Materials. If NavigationCriteriaId is passed as a parameter, the Navigation Criteria with the given ID will be used.", "parameters": [ { "name": "Part", "type": "Part", "isNullable": false, "isCollection": false }, { "name": "NavigationCriteriaId", "type": "String", "isNullable": true, "isCollection": false } ], "returnType": { "type": "BOM", "isCollection": false } }, { "name": "GetBOMWithInlineNavCriteria", "description": "Get Bill Of Materials using the Navigation Criteria passed in the navigationCriteria parameter.", "parameters": [ { "name": "Part", "type": "Part", "isNullable": false, "isCollection": false }, { "name": "NavigationCriteria", "type": "PTC.NavCriteria.NavigationCriteria", "isNullable": true, "isCollection": false } ], "returnType": { "type": "BOM", "isCollection": false } }, { "name": "GetPartStructure", "description": "Get Part Structure with Path Info, using the Navigation Criteria passed in the navigationCriteria parameter.", "parameters": [ { "name": "Part", "type": "Part", "isNullable": false, "isCollection": false }, { "name": "NavigationCriteria", "type": "PTC.NavCriteria.NavigationCriteria", "isNullable": true, "isCollection": false } ], "returnType": { "type": "PartStructureItem", "isCollection": false } } ] }