Examples of the PTC ConfigurableLinks Domain
Following are a few examples of the ConfigurableLinks domain.
Subtypes of ConfigurableDescribeLink
<constrained-type> is in "Role A":
Template URI:
GET http://<host>/Windchill/servlet/odata/<domain>/<constrained-type>('<constrained-entity-id>')/DescribedBy<link-type>
GET http://<host>/Windchill/servlet/odata/<domain>/<constrained-type>('<constrained-entity-id>')/DescribedBy<link-type>('<link-id>')/DescribedBy
Example URI
GET /Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:298950')/DescribedByCustomDescribeLink
GET /Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:298950')/DescribedByCustomDescribeLink('OR:wt.configurablelink.ConfigurableDescribeLink:298957')/DescribedBy
<constrained-type> is in "Role B"
Template URI:
http://<host>/Windchill/servlet/odata/<domain>/<constrained-type>('<linked-entity-id>')/Describes<link-type>
http://<host>/Windchill/servlet/odata/<domain>/<constrained-type>('<linked-entity-id>')/Describes<link-type>('<link-id>')/Describes
Example URI
GET /Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:298950')/DescribesCustomDescribeLink
GET /Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:298950')/DescribesCustomDescribeLink('OR:wt.configurablelink.ConfigurableDescribeLink:298957')/Describes
Subtypes of ConfigurableReferenceLink
<constrained-type> is in "Role A"
Template URI
http://<host>/Windchill/servlet/odata/<domain>/<constrained-type>('<constrained-entity-id>')/References<link-type>
http://<host>/Windchill/servlet/odata/<domain>/<constrained-type>('<constrained-entity-id>')/References<link-type>('<link-id>')/References
Example URI
http://<host>.ptcnet.ptc.com:2280/Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:298950')/ReferencesCustomReferenceLink
http://<host>.ptcnet.ptc.com:2280/Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:298950')/ReferencesCustomReferenceLink('OR:wt.configurablelink.ConfigurableReferenceLink:298957')/References
<constrained-type> is in "Role B"
Template URI
http://<host>/Windchill/servlet/odata/<domain>/<constrained-type>('<constrained-entity-id>')/ReferencedBy<link-type>
http://<host>/Windchill/servlet/odata/<domain>/<constrained-type>('<constrained-entity-id>')/ReferencedBy<link-type>('<link-id>')/ReferencedBy
Example URI
http://<host>.ptcnet.ptc.com:2280/Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:298950')/ReferencedByCustomReferenceLink
http://<host>.ptcnet.ptc.com:2280/Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:298950')/ReferencedByCustomReferenceLink('OR:wt.configurablelink.ConfigurableReferenceLink:298957')/ReferencedBy
Subtypes of ConfigurableMastersLink
<constrained-type> is in "Role A"
Template URI
http://<host>/Windchill/servlet/odata/<domain>/<constrained-type>('<constrained-entity-id>')/Traces<link-type>
http://<host>/Windchill/servlet/odata/<domain>/<constrained-type>('<constrained-entity-id>')/Traces<link-type>('<link-id>')/Traces
Example URI
http://<host>.ptcnet.ptc.com:2280/Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:298950')/TracesCustomMastersLink
http://<host>.ptcnet.ptc.com:2280/Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:298950')/TracesCustomMastersLink('OR:wt.configurablelink.ConfigurableMastersLink:298957')/Traces
<constrained-type> is in "Role B"
Template URI
http://<host>/Windchill/servlet/odata/<domain>/<constrained-type>('<constrained-entity-id>')/TracedBy<link-type>
http://<host>/Windchill/servlet/odata/<domain>/<constrained-type>('<constrained-entity-id>')/TracedBy<link-type>('<link-id>')/TracedBy
Example URI
http://<host>.ptcnet.ptc.com:2280/Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:298950')/TracedByCustomMastersLink
http://<host>.ptcnet.ptc.com:2280/Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:298950')/TracedByCustomMastersLink('OR:wt.configurablelink.ConfigurableMastersLink:298957')/TracedBy
Subtypes of ConfigurableRevisionLink
<constrained-type> is in "Role A"
Template URI
http://<host>/Windchill/servlet/odata/<domain>/<constrained-type>('<constrained-entity-id>')/LinkedTo<link-type>
http://<host>/Windchill/servlet/odata/<domain>/<constrained-type>('<constrained-entity-id>')/LinkedTo<link-type>('<link-id>')/LinkedTo
Example URI
http://<host>.ptcnet.ptc.com:2280/Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:298950')/LinkedToCustomRevisionLink
http://<host>.ptcnet.ptc.com:2280/Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:298950')/LinkedToCustomRevisionLink('OR:wt.configurablelink.ConfigurableRevisionLink:298957')/LinkedTo
<constrained-type> is in "Role B"
Template URI
http://<host>/Windchill/servlet/odata/<domain>/<constrained-type>('<constrained-entity-id>')/LinkedFrom<link-type>
http://<host>/Windchill/servlet/odata/<domain>/<constrained-type>('<constrained-entity-id>')/LinkedFrom<link-type>('<link-id>')/LinkedFrom
Example URI
http://<host>.ptcnet.ptc.com:2280/Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:298950')/LinkedFromCustomRevisionLink
http://<host>.ptcnet.ptc.com:2280/Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:298950')/LinkedFromCustomRevisionLink('OR:wt.configurablelink.ConfigurableRevisionLink:298957')/LinkedFrom
Refer to the domain EDM for a complete list of navigation properties.
这对您有帮助吗?