Reading the Bill of Process (BOP) with Inline Navigation Criteria
Reading the BOP with Inline Navigation Criteria for a Process Plan
This example shows you how to read the bill of process (BOP) with inline navigation criteria consisting of processPlanNavigationCriteria and relatedAssemblyNavigationCriteria for a specific Process Plan. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/ProcessPlans('OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:44148884')/PTC.MfgProcMgmt.GetBOPWithInlineNavCriteria
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"relatedAssemblyNavigationCriteria": {
"ApplyToTopLevelObject": false,
"Name": "Part01",
"UseDefaultForUnresolved": false,
"ApplicationName": "Test1",
"SharedToAll": true,
"HideUnresolvedDependents": true,
"Centricity": true,
"ApplicableType": "PTC.MfgProcMgmt.ProcessPlan",
"ConfigSpecs": [
{
"@odata.type": "#PTC.NavCriteria.WTPartEffectivityDateConfigSpec",
"EffectiveDate": "2021-12-09T23:00:00Z",
"EffectiveContext": null,
"View": "Design",
"Variation1": null,
"Variation2": null
}
],
"Filters": [
{
"Filter": "string"
}
]
},
"processPlanNavigationCriteria": {
"ApplyToTopLevelObject": true,
"Name": "Part02",
"UseDefaultForUnresolved": true,
"ApplicationName": "Test2",
"SharedToAll": true,
"HideUnresolvedDependents": true,
"Centricity": true,
"ApplicableType": "PTC.MfgProcMgmt.ProcessPlan",
"ConfigSpecs": [
{
"@odata.type": "#PTC.NavCriteria.WTPartEffectivityDateConfigSpec",
"EffectiveDate": "2021-12-09T23:00:00Z",
"EffectiveContext": null,
"View": "Design",
"Variation1": null,
"Variation2": null
}
],
"Filters": [
{
"Filter": "string"
}
]
}
}
URI with Expand on RelatedParts
POST /Windchill/servlet/odata/MfgProcMgmt/ProcessPlans('OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:44148884')/PTC.MfgProcMgmt.GetBOPWithInlineNavCriteria?$expand=RelatedParts($expand=Part)
The request returns all related parts in the BOP with inline navigation criteria for the specified Process Plan.
Reading the Bill of Process (BOP) with Inline Navigation Criteria with Expand on All Components for a Process Plan
This example shows you how to read the contents of the bill of process (BOP) with inline navigation criteria for a specific Process Plan. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/ProcessPlans('OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:44148884')/PTC.MfgProcMgmt.GetBOPWithInlineNavCriteria?$expand=Components($levels=max) HTTP/1.1
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"relatedAssemblyNavigationCriteria": {
"ApplyToTopLevelObject": false,
"Name": "Part01",
"UseDefaultForUnresolved": false,
"ApplicationName": "Test1",
"SharedToAll": true,
"HideUnresolvedDependents": true,
"Centricity": true,
"ApplicableType": "PTC.MfgProcMgmt.ProcessPlan",
"ConfigSpecs": [
{
"@odata.type": "#PTC.NavCriteria.WTPartEffectivityDateConfigSpec",
"EffectiveDate": "2021-12-09T23:00:00Z",
"EffectiveContext": null,
"View": "Design",
"Variation1": null,
"Variation2": null
}
],
"Filters": [
{
"Filter": "string"
}
]
},
"processPlanNavigationCriteria": {
"ApplyToTopLevelObject": true,
"Name": "Part02",
"UseDefaultForUnresolved": true,
"ApplicationName": "Test2",
"SharedToAll": true,
"HideUnresolvedDependents": true,
"Centricity": true,
"ApplicableType": "PTC.MfgProcMgmt.ProcessPlan",
"ConfigSpecs": [
{
"@odata.type": "#PTC.NavCriteria.WTPartEffectivityDateConfigSpec",
"EffectiveDate": "2021-12-09T23:00:00Z",
"EffectiveContext": null,
"View": "Design",
"Variation1": null,
"Variation2": null
}
],
"Filters": [
{
"Filter": "string"
}
]
}
}
URI with Expand on OperationHolder
POST /Windchill/servlet/odata/MfgProcMgmt/ProcessPlans('OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:44148884')/PTC.MfgProcMgmt.GetBOPWithInlineNavCriteria?$expand=Components($levels=max;$expand=OperationHolder($select=Name,Number))
The request returns all Operation Holders (Operations and Sequences) in the BOP with inline navigation criteria for the specified Process Plan.
URI with Expand on OperationHolderUsageLink
POST /Windchill/servlet/odata/MfgProcMgmt/ProcessPlans('OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:44148884')/PTC.MfgProcMgmt.GetBOPWithInlineNavCriteria?$expand=Components($levels=max;$expand=OperationHolderUsageLink)
The request returns all the OperationHolderUsageLink (MPMOperationUsageLink and MPMSequenceUsageLink) objects in the BOP with inline navigation criteria for the specified Process Plan.
URI with Expand on ConsumedOperatedOnParts
POST /Windchill/servlet/odata/MfgProcMgmt/ProcessPlans('OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:44148884')/PTC.MfgProcMgmt.GetBOPWithInlineNavCriteria?$expand=ConsumedOperatedOnParts($expand=Part,OperationToOperatedPartLink),Components
The request returns all consumed Operated On Parts and OperationToOperatedPartLink objects in the BOP with inline navigation criteria for the specified Process Plan.
URI with Expand on ConsumedParts
POST /Windchill/servlet/odata/MfgProcMgmt/ProcessPlans('OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:44148884')/PTC.MfgProcMgmt.GetBOPWithInlineNavCriteria?$expand=Components($levels=max;$expand=ConsumedParts($expand=Part,OperationToPartLink,PartPathOccurrenceLinks))
The request returns all consumed (allocated) parts, OperationToPartLink, and PartPathOccurrenceLink objects in the BOP with inline navigation criteria for the specified Process Plan.
URI with Expand on All Entities and Navigation Properties
POST /Windchill/servlet/odata/MfgProcMgmt/ProcessPlans('OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:44148884')/PTC.MfgProcMgmt.GetBOPWithInlineNavCriteria?$expand=Components($levels=max;$expand=OperationHolder,OperationHolderUsageLink,Components,ConsumedOperatedOnParts($expand=Part,OperationToOperatedPartLink),ConsumedParts($expand=Part,OperationToPartLink,PartPathOccurrenceLinks),ConsumedProcessMaterials($expand=OperationToConsumableLink,ProcessMaterial),ConsumedSkills($expand=OpReferenceDocumentserationToConsumableLink,Skill),ConsumedStandardCCs($expand=OperationToStandardCCLink,StandardCC),ConsumedToolings($expand=OperationToConsumableLink,Tooling),ConsumedWorkCenters($expand=OperationToWorkCenterLink,WorkCenter),DescribedByDocuments($expand=DescribedBy),($expand=References))
Similarly, you can retrieve information for the bill of process (BOP) for a specific Standard Procedure, Operation, or Sequence using the expands.
Reading the BOP with Inline Navigation Criteria for a Standard Procedure
This example shows you how to read the bill of process (BOP) with inline navigation criteria consisting of relatedAssemblyNavigationCriteria for a specific Standard Procedure. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/StandardProcedures('OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:199564')/PTC.MfgProcMgmt.GetBOPWithInlineNavCriteria
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"relatedAssemblyNavigationCriteria": {
"ApplyToTopLevelObject": false,
"Name": "Part01",
"UseDefaultForUnresolved": false,
"ApplicationName": "Test1",
"SharedToAll": true,
"HideUnresolvedDependents": true,
"Centricity": true,
"ApplicableType": "PTC.MfgProcMgmt.ProcessPlan",
"ConfigSpecs": [
{
"@odata.type": "#PTC.NavCriteria.WTPartEffectivityDateConfigSpec",
"EffectiveDate": "2021-12-09T23:00:00Z",
"EffectiveContext": null,
"View": "Design",
"Variation1": null,
"Variation2": null
}
],
"Filters": [
{
"Filter": "string"
}
]
},
"processPlanNavigationCriteria": {}
}
Reading the Bill of Process (BOP) with Inline Navigation Criteria with Expand on All Components for a Standard Procedure
This example shows you how to read the contents of the bill of process (BOP) with inline navigation criteria for a specific Standard Procedure. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/StandardProcedures('OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:199564')/PTC.MfgProcMgmt.GetBOPWithInlineNavCriteria?$expand=Components($levels=max) HTTP/1.1
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"relatedAssemblyNavigationCriteria": {
"ApplyToTopLevelObject": false,
"Name": "Part01",
"UseDefaultForUnresolved": false,
"ApplicationName": "Test1",
"SharedToAll": true,
"HideUnresolvedDependents": true,
"Centricity": true,
"ApplicableType": "PTC.MfgProcMgmt.ProcessPlan",
"ConfigSpecs": [
{
"@odata.type": "#PTC.NavCriteria.WTPartEffectivityDateConfigSpec",
"EffectiveDate": "2021-12-09T23:00:00Z",
"EffectiveContext": null,
"View": "Design",
"Variation1": null,
"Variation2": null
}
],
"Filters": [
{
"Filter": "string"
}
]
},
"processPlanNavigationCriteria": {}
}
Reading the BOP with Inline Navigation Criteria for an Operation
This example shows you how to read the bill of process (BOP) with inline navigation criteria consisting of relatedAssemblyNavigationCriteria for a specific Operation. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/Operations('OR:com.ptc.windchill.mpml.processplan.operation.MPMOperation:274221')/PTC.MfgProcMgmt.GetBOPWithInlineNavCriteria
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"relatedAssemblyNavigationCriteria": {
"ApplyToTopLevelObject": false,
"Name": "Part01",
"UseDefaultForUnresolved": false,
"ApplicationName": "Test1",
"SharedToAll": true,
"HideUnresolvedDependents": true,
"Centricity": true,
"ApplicableType": "PTC.MfgProcMgmt.ProcessPlan",
"ConfigSpecs": [
{
"@odata.type": "#PTC.NavCriteria.WTPartEffectivityDateConfigSpec",
"EffectiveDate": "2021-12-09T23:00:00Z",
"EffectiveContext": null,
"View": "Design",
"Variation1": null,
"Variation2": null
}
],
"Filters": [
{
"Filter": "string"
}
]
},
"processPlanNavigationCriteria": {}
}
Reading the Bill of Process (BOP) with Inline Navigation Criteria with Expand on All Components for an Operation
This example shows you how to read the contents of the bill of process (BOP) with inline navigation criteria for a specific Operation. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/Operations('OR:com.ptc.windchill.mpml.processplan.operation.MPMOperation:274221')/PTC.MfgProcMgmt.GetBOPWithInlineNavCriteria?$expand=Components($levels=max) HTTP/1.1
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"relatedAssemblyNavigationCriteria": {
"ApplyToTopLevelObject": false,
"Name": "Part01",
"UseDefaultForUnresolved": false,
"ApplicationName": "Test1",
"SharedToAll": true,
"HideUnresolvedDependents": true,
"Centricity": true,
"ApplicableType": "PTC.MfgProcMgmt.ProcessPlan",
"ConfigSpecs": [
{
"@odata.type": "#PTC.NavCriteria.WTPartEffectivityDateConfigSpec",
"EffectiveDate": "2021-12-09T23:00:00Z",
"EffectiveContext": null,
"View": "Design",
"Variation1": null,
"Variation2": null
}
],
"Filters": [
{
"Filter": "string"
}
]
},
"processPlanNavigationCriteria": {}
}
URI with Expand on OperationHolder
POST /Windchill/servlet/odata/MfgProcMgmt/Operations('OR:com.ptc.windchill.mpml.processplan.operation.MPMOperation:224476')/PTC.MfgProcMgmt.GetBOPWithInlineNavCriteria?$expand=Components($levels=max;$expand=OperationHolder($select=Name,Number))
The request returns all Operation Holders (Standard Procedure and Operations) for the specified Operation.
URI with Expand on OperationHolderUsageLink
POST /Windchill/servlet/odata/MfgProcMgmt/Operations('OR:com.ptc.windchill.mpml.processplan.operation.MPMOperation:224476')/PTC.MfgProcMgmt.GetBOPWithInlineNavCriteria?$expand=Components($levels=max;$expand=OperationHolderUsageLink)
The request returns all the OperationHolderUsageLink (MPMStandardProcedureLink and MPMOperationUsageLink) objects for the specified Operation.
URI with Expand on ConsumedOperatedOnParts
POST /Windchill/servlet/odata/MfgProcMgmt/Operations('OR:com.ptc.windchill.mpml.processplan.operation.MPMOperation:274221')/PTC.MfgProcMgmt.GetBOPWithInlineNavCriteria?$expand=ConsumedOperatedOnParts($expand=Part,OperationToOperatedPartLink),Components
The request returns all components, consumed Operated On Parts, and OperationToOperatedPartLink objects in the BOP with inline navigation criteria for the specified Operation.
URI with Expand on ConsumedParts
POST /Windchill/servlet/odata/MfgProcMgmt/Operations('OR:com.ptc.windchill.mpml.processplan.operation.MPMOperation:200075')/PTC.MfgProcMgmt.GetBOPWithInlineNavCriteria?$expand=Components($levels=max;$expand=ConsumedParts($expand=Part,OperationToPartLink,PartPathOccurrenceLinks))
The request returns all consumed Parts, OperationToPartLink, and PartPathOccurrenceLink objects in the BOP with inline navigation criteria for the specified Operation.
Reading the BOP with Inline Navigation Criteria for a Sequence
This example shows you how to read the bill of process (BOP) with inline navigation criteria consisting of processPlanNavigationCriteria for a specific Sequence. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/Sequences('OR:com.ptc.windchill.mpml.processplan.sequence.MPMSequence:11223344')/PTC.MfgProcMgmt.GetBOPWithInlineNavCriteria
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"relatedAssemblyNavigationCriteria": {},
"processPlanNavigationCriteria": {
"ApplyToTopLevelObject": true,
"Name": "103",
"UseDefaultForUnresolved": true,
"ApplicationName": "Test2",
"SharedToAll": true,
"HideUnresolvedDependents": true,
"Centricity": true,
"ApplicableType": "PTC.MfgProcMgmt.ProcessPlan",
"ConfigSpecs": [
{
"@odata.type": "#PTC.NavCriteria.WTPartEffectivityDateConfigSpec",
"EffectiveDate": "2021-12-09T23:00:00Z",
"EffectiveContext": null,
"View": "Design",
"Variation1": null,
"Variation2": null
}
],
"Filters": [
{
"Filter": "string"
}
]
}
}
Reading the Bill of Process (BOP) with Inline Navigation Criteria with Expand on All Components for a Sequence
This example shows you how to read the contents of the bill of process (BOP) with inline navigation criteria for a specific Sequence. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/Sequences('OR:com.ptc.windchill.mpml.processplan.sequence.MPMSequence:11223344')/PTC.MfgProcMgmt.GetBOPWithInlineNavCriteria?$expand=Components($levels=max) HTTP/1.1
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"relatedAssemblyNavigationCriteria": {
"ApplyToTopLevelObject": false,
"Name": "Part01",
"UseDefaultForUnresolved": false,
"ApplicationName": "Test1",
"SharedToAll": true,
"HideUnresolvedDependents": true,
"Centricity": true,
"ApplicableType": "PTC.MfgProcMgmt.ProcessPlan",
"ConfigSpecs": [
{
"@odata.type": "#PTC.NavCriteria.WTPartEffectivityDateConfigSpec",
"EffectiveDate": "2021-12-09T23:00:00Z",
"EffectiveContext": null,
"View": "Design",
"Variation1": null,
"Variation2": null
}
],
"Filters": [
{
"Filter": "string"
}
]
},
"processPlanNavigationCriteria": {}
}
URI with Expand on OperationHolder
POST /Windchill/servlet/odata/MfgProcMgmt/Sequences('OR:com.ptc.windchill.mpml.processplan.sequence.MPMSequence:11223344')/PTC.MfgProcMgmt.GetBOPWithInlineNavCriteria?$expand=Components($levels=max;$expand=OperationHolder($select=Name,Number))
The request returns all Operation Holders (Standard Procedure, Operations, and Sequences) for the specified Sequence.
URI with Expand on OperationHolderUsageLink
POST /Windchill/servlet/odata/MfgProcMgmt/Sequences('OR:com.ptc.windchill.mpml.processplan.sequence.MPMSequence:11223344')/PTC.MfgProcMgmt.GetBOPWithInlineNavCriteria?$expand=Components($levels=max;$expand=OperationHolderUsageLink)
The request returns all the OperationHolderUsageLink (MPMStandardProcedureLink, MPMOperationUsageLink, and MPMSequenceUsageLink) objects for the specified Sequence.