OData Services as Domains
The framework enables you to set up domains which contain entities that are mapped to Windchill types. Domains are equivalent to OData service root.
Similar to the OData web service, a domain can be accessed at the Domain Root URL, which is of the form https://<Windchill server>/<Windchill App Context>/servlet/odata/<Domain Version>/<Domain Identifier>/
where,
<Windchill App Context> is Windchill in a standard installation
<Domain Version> is the version of the domain API and can be v1, v2, and so on. <Domain Version> is optional in the URL and must be specified only if the client needs a specific version of the domain.
If <Domain Version> is not specified in the URL, the framework checks if the domain version is specified in the Accept header.
If <Domain Version> is not specified in the URL or in the Accept header, then the default configured version is used by the framework.
<Domain Identifier> is the identifier for the domain. For example, the identifier for Product Management domain is ProdMgmt.
The URL is called at the Domain Root, which is equivalent to OData service root URL. A GET request to this URL returns the list of entity sets that are available in a domain.
For example, the Domain Root URL of the Product Management domain for the default version is:
https://windchill.ptc.com/Windchill/servlet/odata/ProdMgmt/
这对您有帮助吗?