对于 PTC.DocMgmt.Document 对象类型,可以请求 PrimaryContent|Content|URL 和 PrimaryContent|FormatIcon|Path 属性,尽管这些属性在 getAvailableAttributes 服务中不可用。
{
"inputs": {
"operationId": "OR:com.ptc.windchill.mpml.processplan.operation.MPMOperation:1370009",
"variantSpecId": "",
"partId": "",
"workCenterId": "",
"processPlanId": "OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:1369892",
"navigationCriteriaConfig": [
{
"@odata.type": "#PTC.NavCriteria.WTPartStandardConfigSpec",
"WorkingIncluded": false,
"View": "Manufacturing"
}
]
},
"attributes": {
"operationIdentity": {
"PTC.MfgProcMgmt.Operation": [
"ObjectType",
"Number",
"Version",
"State#Display",
"Name"
],
"PTC.MfgProcMgmt.Operation:PTC.MfgProcMgmt.Operation.Custom.Adapter": [
"TwoDThumbnailURL",
"WorkCenterName"
],
"PTC.ProdMgmt.Part": [
"Number",
"Name",
"Version"
],
"PTC.ProdPlatformMgmt.VariantSpecification": [
"Name"
],
"PTC.MfgProcMgmt.WorkCenter": [
"ID",
"Name",
"Number"
],
"PTC.MfgProcMgmt.ProcessPlan": [
"ID",
"Name",
"Number"
]
},
"operationDetails": {
"operation": {
"PTC.MfgProcMgmt.Operation": [
"Description",
"LongDescription",
"Number",
"ID",
"OperationHolderUsageLink|OperationLabel",
"Name"
],
"PTC.MfgProcMgmt.Operation:PTC.MfgProcMgmt.Operation.Custom.Adapter": [
"RepresentationPVZURL"
]
},
"parts": {
"PTC.ProdMgmt.Part": [
"ID",
"Name",
"Number"
],
"PTC.ProdMgmt.Part:PTC.ProdMgmt.Part.Custom.Adapter": [
"QuantityUnit"
]
},
"controlCharacteristics": {
"PTC.MfgProcMgmt.ConsumedStandardCC": [
"StandardCC|ID",
"StandardCC|Description",
"StandardCC|NominalValue",
"StandardCC|LowerLimit",
"StandardCC|UpperLimit",
"StandardCC|Name"
]
},
"tools": {
"PTC.MfgProcMgmt.ConsumedTooling": [
"Tooling|ID",
"Tooling|Name",
"Tooling|Number",
"OperationToConsumableLink|Unit#Display",
"OperationToConsumableLink|Quantity"
],
"PTC.MfgProcMgmt.ConsumedTooling:PTC.MfgProcMgmt.ConsumedTooling.Custom.Adapter": [
"CrossSelectionId"
]
},
"documents": {
"PTC.DocMgmt.Document": [
"PrimaryContent|Content|URL",
"PrimaryContent|FormatIcon|Path",
"Name"
]
},
"downloadUrls": {
"PTC.MfgProcMgmt.DownloadUrl": [
"Filename",
"URL"
]
}
}
},
"version": "1"
}
对于 PTC.MfgProcMgmt.Operation 对象类型,OperationHolderUsageLink OperationLabel 在工序的自定义对象类型中作为 OperationLabel 提供。
{
"inputs": {
"processPlanId": "OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:513042",
"variantSpecId": "OR:com.ptc.wpcfg.doc.VariantSpec:513340",
"workCenterId": "OR:com.ptc.windchill.mpml.resource.MPMWorkCenter:466676",
"navigationCriteriaConfig": [
{
"@odata.type": "#PTC.NavCriteria.WTPartStandardConfigSpec",
"WorkingIncluded": true,
"View": "Manufacturing",
"LifeCycleState": null,
"Variation1": null,
"Variation2": null
}
],
"enterpriseOperationConfig": {
"level": 1,
"softTypes": [],
"softAttributes": []
}
},
"attributes": {
"PTC.MfgProcMgmt.Operation": [
"Name",
"Number",
"Version"
],
"PTC.MfgProcMgmt.Operation:PTC.MfgProcMgmt.Operation.Custom.Adapter": [
"TwoDThumbnailURL",
"WorkCenterName",
"SequenceOrder",
"OperationLabel"
]
},
"version": "1"
}
{
"inputs": {
"objectType" :"PTC.ProdMgmt.Part"
},
"version": "1"
}
{
"timeStamp": "2025-02-10 15:52:00.034",
"data": [
{
"itemListsData": [
{
"metadata": {
"WorkInProgressState#Display": {
"label": "WorkInProgressState",
"type": "STRING"
},
"Supersedes#Tooltip": {
"label": "Superseded",
"type": "STRING"
},
"EndItem": {
"label": "End Item",
"type": "BOOLEAN"
},
"ShareStatus#Tooltip": {
"label": "Share Status",
"type": "STRING"
},
"CheckoutState": {
"label": "Status",
"type": "STRING"
},
"ModifiedBy": {
"label": "Modified By",
"type": "STRING"
},
"Name": {
"label": "Name",
"type": "STRING"
},
"BOMType#Display": {
"label": "BOM Type",
"type": "STRING"
},
"LastModified": {
"label": "Last Modified",
"type": "DATETIME"
},
"ObjectType": {
"label": "Type",
"type": "STRING"
},
"Translation_Name": {
"label": "Translation_Name",
"type": "STRING"
},
"Number": {
"label": "Number",
"type": "STRING"
},
"Version": {
"label": "Version",
"type": "STRING"
},
"CheckOutStatus": {
"label": "Check Out Status",
"type": "STRING"
},
"Source#Display": {
"label": "Source",
"type": "STRING"
},
"Latest": {
"label": "Latest",
"type": "BOOLEAN"
},
"CreatedOn": {
"label": "Created On",
"type": "DATETIME"
},
"Context|Name": {
"label": "Context Name",
"type": "STRING"
},
"AlternateNumber#Display": {
"label": "Alternate Number",
"type": "STRING"
},
"AssemblyMode#Display": {
"label": "Assembly Mode",
"type": "STRING"
},
"State#Display": {
"label": "State",
"type": "STRING"
},
"DefaultUnit#Display": {
"label": "Default Unit",
"type": "STRING"
},
"GeneralStatus#Tooltip": {
"label": "General Status",
"type": "STRING"
},
"CreatedBy": {
"label": "Created By",
"type": "STRING"
},
"DefaultTraceCode#Display": {
"label": "Default Trace Code",
"type": "STRING"
},
"Comments": {
"label": "Checkin Comments",
"type": "STRING"
},
"CabinetName": {
"label": "Cabinet",
"type": "STRING"
},
"GatheringPart": {
"label": "Gathering Part",
"type": "BOOLEAN"
},
"View": {
"label": "View",
"type": "STRING"
},
"ChangeStatus#Tooltip": {
"label": "Change Status",
"type": "STRING"
},
"ConfigurableModule#Display": {
"label": "Configurable Module",
"type": "STRING"
},
"Revision": {
"label": "Revision",
"type": "STRING"
},
"LifeCycleTemplateName": {
"label": "Life Cycle Template",
"type": "STRING"
},
"FolderLocation": {
"label": "Location",
"type": "STRING"
},
"PhantomManufacturingPart": {
"label": "Phantom Manufacturing Part",
"type": "BOOLEAN"
}
},
"items": [
{
"WorkInProgressState#Display": {
"value": ""
},
"Supersedes#Tooltip": {
"value": ""
},
"EndItem": {
"value": ""
},
"ShareStatus#Tooltip": {
"value": ""
},
"CheckoutState": {
"value": ""
},
"ModifiedBy": {
"value": ""
},
"Name": {
"value": ""
},
"BOMType#Display": {
"value": ""
},
"LastModified": {
"value": ""
},
"ObjectType": {
"value": ""
},
"Translation_Name": {
"value": ""
},
"Number": {
"value": ""
},
"Version": {
"value": ""
},
"CheckOutStatus": {
"value": ""
},
"Source#Display": {
"value": ""
},
"Latest": {
"value": ""
},
"CreatedOn": {
"value": ""
},
"Context|Name": {
"value": ""
},
"AlternateNumber#Display": {
"value": ""
},
"AssemblyMode#Display": {
"value": ""
},
"State#Display": {
"value": ""
},
"DefaultUnit#Display": {
"value": ""
},
"GeneralStatus#Tooltip": {
"value": ""
},
"CreatedBy": {
"value": ""
},
"DefaultTraceCode#Display": {
"value": ""
},
"Comments": {
"value": ""
},
"CabinetName": {
"value": ""
},
"GatheringPart": {
"value": ""
},
"View": {
"value": ""
},
"ChangeStatus#Tooltip": {
"value": ""
},
"ConfigurableModule#Display": {
"value": ""
},
"Revision": {
"value": ""
},
"LifeCycleTemplateName": {
"value": ""
},
"FolderLocation": {
"value": ""
},
"PhantomManufacturingPart": {
"value": ""
}
}
],
"objectType": "PTC.ProdMgmt.Part"
}
],
"adapter": {
"instanceName": "windchill",
"thingName": "PTC.VOps.WCOperationAdapter"
}
}
],
"statusMessage": "OK",
"status": "200"
}