Summary of Changes for Windchill REST Services 1.2
Changes in Windchill REST Services 1.2 are described in this section.
Creating Parts and Documents in a Different Organization
If the preference Expose Organization in the Preference Management utility is set to Yes in Windchill, you can specify a different organization, when creating parts and documents.
Get Information About All Life Cycle States in Windchill
The function GetAllStates() returns a list of life cycle states which are available and can be selected in Windchill. The function is available in the PTC Common domain.
Get Information About Life Cycle States for Objects in Windchill
The function GetValidStateTransitions() returns the life cycle states that the entity can transition from its current state. The function is available for all the entities which are life cycle managed.
Navigation Properties to Support Service Information Manager Translation
Navigation properties to support Service Information Manager Translation are available in the PTC Dynamic Document Management domain.
New Domains
The following new PTC domains have been added:
• PTC Manufacturing Process Management domain, which provides access to the manufacturing process management capabilities (MPM) of Windchill.
• PTC Classification Structure domain, which provides access to the classification structure and classification nodes in Windchill.
• PTC Saved Search domain, which provides access to saved searches in Windchill.
Multivalued Attributes Supported for Structural Properties
The parameter isCollection supports multivalued attributes, such as, complex types, for structural properties.
nonFilterable Parameter Added for Entity Attributes
The parameter nonFilterable is available as an annotation for attributes. It specifies if you can use a $filter expression to query an attribute.
Retrieve Dynamic Structure of a Creo View Representation
The function GetDynamicStructureRepresentation() returns a URL which you can use to download the dynamic structure of a Creo View representation. The function is available for all the parts and documents which have representations associated with them. The function is available in the PTC Common domain.
Retrieve PVZ File from a Creo View Representation
The function GetPVZ() returns a ZIP file, which contains OL, PVS, PVT, and other Creo View files. The function is available in the PTC Common domain.
Set Life Cycle State for an Entity
The action SetState() sets a valid life cycle state for an entity. The action is available for all the entities which are life cycle managed.
Enhancements to the inherits Property
Capabilities added to the inherits property are described below:
• subtypeable—Subtypes that are available in Windchill are enabled in the domains of Windchill REST Services.
• softattributable—Attributes of entity types and subtypes that are available in Windchill are enabled in the domains of Windchill REST Services.
Update Comments and Description Attributes for an ContentItem Entity
You can use PATCH requests to update the Comments and Description properties for the ContentItem entity.
URLs Available in the Representation Entity
The Representation entity returns the following URLs in the body of the response:
• CreoViewURL—Contains the URL that starts the Creo View application.
• 3DThumbnailURL—Contains the URL for 3D thumbnail.
• 2DThumbnailURL—Contains the URL for 2D thumbnail.
• AdditionalFiles—Contains the URL for additional files, which are non-native Creo View files. These files are associated with the specified representation.
WindchillEntity Added in the PTC Common Domain
A new entity WindchillEntity has been added in the PTC Common domain. The entity represents Windchill objects types that are not available in Windchill REST Services.