Reading the Bill of Process (BOP)
Reading the Bill of Process for a Process Plan
This example shows you how to read the bill of process (BOP) for a specific Process Plan. You can specify the IDs of the two NavigationCriteria, that is, processPlanNavigationCriteriaId and relatedAssemblyNavigationCriteriaId in the request body. 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.GetBOP
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"processPlanNavigationCriteriaId" : "OR:wt.filter.NavigationCriteria:48796407",
"relatedAssemblyNavigationCriteriaId" : "OR:wt.filter.NavigationCriteria:48796408"
}
When the request body is empty, that is, {}, default navigation criteria are used.
URI with Expand on RelatedParts
POST /Windchill/servlet/odata/MfgProcMgmt/ProcessPlans('OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:44148884')/PTC.MfgProcMgmt.GetBOP?$expand=RelatedParts($expand=Part)
The request returns all related parts for the specified Process Plan.
Similarly, you can retrieving the related parts for a specific Standard Procedure, Operation, or Sequence.
Reading the Bill of Process (BOP) for a Process Plan with Expand on All Components
This example shows you how to read the contents of the bill of process (BOP) for a 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.GetBOP?$expand=Components($levels=max) HTTP/1.1
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"processPlanNavigationCriteriaId" : "OR:wt.filter.NavigationCriteria:48796407",
"relatedAssemblyNavigationCriteriaId" : "OR:wt.filter.NavigationCriteria:48796408"
}
URI with Expand on OperationHolder
POST /Windchill/servlet/odata/MfgProcMgmt/ProcessPlans('OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:44148884')/PTC.MfgProcMgmt.GetBOP?$expand=Components($levels=max;$expand=OperationHolder($select=Name,Number))
The request returns all Operation Holders (Operations and Sequences) 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.GetBOP?$expand=Components($levels=max;$expand=OperationHolderUsageLink)
The request returns all the OperationHolderUsageLink (MPMOperationUsageLink and MPMSequenceUsageLink) objects for the specified Process Plan.
URI with Expand on Child Components
POST /Windchill/servlet/odata/MfgProcMgmt/ProcessPlans('OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:44148884')/PTC.MfgProcMgmt.GetBOP?$expand=Components($levels=max;$expand=Components)
The request returns all the child Components 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.GetBOP?$expand=Components($levels=max;$expand=ConsumedOperatedOnParts($expand=Part,OperationToOperatedPartLink))
The request returns all consumed Operated On Parts and OperationToOperatedPartLink objects 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.GetBOP?$expand=Components($levels=max;$expand=ConsumedParts($expand=Part,OperationToPartLink,PartPathOccurrenceLinks))
The request returns all consumed (allocated) parts, OperationToPartLink, and PartPathOccurrenceLink objects for the specified Process Plan.
URI with Expand on ConsumedProcessMaterials
POST /Windchill/servlet/odata/MfgProcMgmt/ProcessPlans('OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:44148884')/PTC.MfgProcMgmt.GetBOP?$expand=Components($levels=max;$expand=ConsumedProcessMaterials($expand=OperationToConsumableLink,ProcessMaterial))
The request returns all consumed Process Materials and OperationToConsumableLink objects for the specified Process Plan.
URI with Expand on ConsumedSkills
POST /Windchill/servlet/odata/MfgProcMgmt/ProcessPlans('OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:44148884')/PTC.MfgProcMgmt.GetBOP?$expand=Components($levels=max;$expand=ConsumedSkills($expand=OperationToConsumableLink,Skill))
The request returns all consumed Skills OperationToConsumableLink objects for the specified Process Plan.
URI with Expand on ConsumedStandardCCs
POST /Windchill/servlet/odata/MfgProcMgmt/ProcessPlans('OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:44148884')/PTC.MfgProcMgmt.GetBOP?$expand=Components($levels=max;$expand=ConsumedStandardCCs($expand=OperationToStandardCCLink,StandardCC))
The request returns all consumed Standard Control Characteristics and OperationToStandardCCLink objects for the specified Process Plan.
URI with Expand on ConsumedToolings
POST /Windchill/servlet/odata/MfgProcMgmt/ProcessPlans('OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:44148884')/PTC.MfgProcMgmt.GetBOP?$expand=Components($levels=max;$expand=ConsumedToolings($expand=OperationToConsumableLink,Tooling))
The request returns all consumed Toolings and OperationToConsumableLink objects for the specified Process Plan.
|
For a Process Plan with an Operation, which has processing resources associated with it, the request returns only the Toolings and Parts allocated as resources for the Operation.
|
URI with Expand on ConsumedWorkCenters
POST /Windchill/servlet/odata/MfgProcMgmt/ProcessPlans('OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:44148884')/PTC.MfgProcMgmt.GetBOP?$expand=Components($levels=max;$expand=ConsumedWorkCenters($expand=OperationToWorkCenterLink,WorkCenter))
The request returns all consumed Work Centers and OperationToWorkCenterLink objects for the specified Process Plan.
URI with Expand on DescribedByDocuments
POST /Windchill/servlet/odata/MfgProcMgmt/ProcessPlans('OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:44148884')/PTC.MfgProcMgmt.GetBOP?$expand=Components($levels=max;$expand=DescribedByDocuments($expand=DescribedBy))
The request returns all Described By Document objects for the specified Process Plan.
URI with Expand on ReferenceDocuments
POST /Windchill/servlet/odata/MfgProcMgmt/ProcessPlans('OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:44148884')/PTC.MfgProcMgmt.GetBOP?$expand=Components($levels=max;$expand=ReferenceDocuments($expand=References))
The request returns all Reference Document objects 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.GetBOP?$expand=Components($levels=max;$expand=OperationHolder,OperationHolderUsageLink,ConsumedOperatedOnParts($expand=Part,OperationToOperatedPartLink),ConsumedParts($expand=Part,OperationToPartLink,PartPathOccurrenceLinks),ConsumedProcessMaterials($expand=OperationToConsumableLink,ProcessMaterial),ConsumedSkills($expand=OperationToConsumableLink,Skill),ConsumedStandardCCs($expand=OperationToStandardCCLink,StandardCC),ConsumedToolings($expand=OperationToConsumableLink,Tooling),ConsumedWorkCenters($expand=OperationToWorkCenterLink,WorkCenter),DescribedByDocuments($expand=DescribedBy),ReferenceDocuments($expand=References))
Similarly, you can use any of the above expands for retrieving information for the bill of process (BOP) for a specific Standard Procedure, Operation, or Sequence.
Reading the Bill of Process for a Standard Procedure
This example shows you how to read the bill of process (BOP) for a specific Standard Procedure. You can specify the IDs of the two NavigationCriteria, that is, processPlanNavigationCriteriaId and relatedAssemblyNavigationCriteriaId in the request body. Use the following POST URIs with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/StandardProcedures('OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:199564')/PTC.MfgProcMgmt.GetBOP
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"processPlanNavigationCriteriaId" : "OR:wt.filter.NavigationCriteria:48796407",
"relatedAssemblyNavigationCriteriaId" : "OR:wt.filter.NavigationCriteria:48796408"
}
When the request body is empty, that is, {}, default Navigation Criteria are used.
Reading the Bill of Process (BOP) for a Standard Procedure with Expand on All Components
This example shows you how to read the contents of the bill of process (BOP) for a 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.GetBOP?$expand=Components($levels=max) HTTP/1.1
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"processPlanNavigationCriteriaId" : "OR:wt.filter.NavigationCriteria:48796407",
"relatedAssemblyNavigationCriteriaId" : "OR:wt.filter.NavigationCriteria:48796408"
}
Reading the Bill of Process for an Operation
This example shows you how to read the bill of process (BOP) for a specific Operation. You can specify the IDs of the two NavigationCriteria, that is, processPlanNavigationCriteriaId and relatedAssemblyNavigationCriteriaId in the request body. Use the following POST URIs with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/Operations('OR:com.ptc.windchill.mpml.processplan.operation.MPMOperation:274221')/PTC.MfgProcMgmt.GetBOP
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"processPlanNavigationCriteriaId" : "OR:wt.filter.NavigationCriteria:48796407",
"relatedAssemblyNavigationCriteriaId" : "OR:wt.filter.NavigationCriteria:48796408"
}
When the request body is empty, that is, {}, default navigation criteria are used.
Reading the Bill of Process (BOP) for an Operation with Expand on All Components
This example shows you how to read the contents of the bill of process (BOP) for an 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:224476')/PTC.MfgProcMgmt.GetBOP?$expand=Components($levels=max) HTTP/1.1
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"processPlanNavigationCriteriaId" : "OR:wt.filter.NavigationCriteria:48796407",
"relatedAssemblyNavigationCriteriaId" : "OR:wt.filter.NavigationCriteria:48796408"
}
URI with Expand on OperationHolder
POST /Windchill/servlet/odata/MfgProcMgmt/Operations('OR:com.ptc.windchill.mpml.processplan.operation.MPMOperation:224476')/PTC.MfgProcMgmt.GetBOP?$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.GetBOP?$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 and Components
POST /Windchill/servlet/odata/MfgProcMgmt/Operations('OR:com.ptc.windchill.mpml.processplan.operation.MPMOperation:206055')/PTC.MfgProcMgmt.GetBOP?$expand=Components,ConsumedOperatedOnParts($expand=Part,OperationToOperatedPartLink)
The request returns all components, consumed Operated On Parts and OperationToOperatedPartLink objects for the specified Operation.
URI with Expand on ConsumedParts
POST /Windchill/servlet/odata/MfgProcMgmt/Operations('OR:com.ptc.windchill.mpml.processplan.operation.MPMOperation:224476')/PTC.MfgProcMgmt.GetBOP?$expand=Components($levels=max;$expand=ConsumedParts($expand=Part,OperationToPartLink,PartPathOccurrenceLinks))
The request returns all consumed parts, OperationToPartLink, and PartPathOccurrenceLink objects for the specified Operation.
Reading the Bill of Process for a Sequence
This example shows you how to read the bill of process (BOP) for a specific Sequence. You can specify the IDs of the two NavigationCriteria, that is, processPlanNavigationCriteriaId and relatedAssemblyNavigationCriteriaId in the request body. Use the following POST URIs with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/Sequences('OR:com.ptc.windchill.mpml.processplan.sequence.MPMSequence:11223344')/PTC.MfgProcMgmt.GetBOP
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"processPlanNavigationCriteriaId" : "OR:wt.filter.NavigationCriteria:48796407",
"relatedAssemblyNavigationCriteriaId" : "OR:wt.filter.NavigationCriteria:48796408"
}
When the request body is empty, that is, {}, default navigation criteria are used.
Reading the Bill of Process (BOP) for a Sequence with Expand on All Components
This example shows you how to read the contents of the bill of process (BOP) for a 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.GetBOP?$expand=Components($levels=max) HTTP/1.1
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"processPlanNavigationCriteriaId" : "OR:wt.filter.NavigationCriteria:48796407",
"relatedAssemblyNavigationCriteriaId" : "OR:wt.filter.NavigationCriteria:48796408"
}
URI with Expand on OperationHolder
POST /Windchill/servlet/odata/MfgProcMgmt/Sequences('OR:com.ptc.windchill.mpml.processplan.sequence.MPMSequence:11223344')/PTC.MfgProcMgmt.GetBOP?$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.GetBOP?$expand=Components($levels=max;$expand=OperationHolderUsageLink)
The request returns all the OperationHolderUsageLink (MPMStandardProcedureLink, MPMOperationUsageLink, and MPMSequenceUsageLink) objects for the specified Sequence.