cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Update Stamp via WRS REST API

AdamElkins
12-Amethyst

Update Stamp via WRS REST API

Version: Windchill 12.1

 

Use Case: I need to retrieve documents that were set to released in the past 24 hours.


Description:

I am looking to find documents that were set to released in the past 24 hours. I am doing this via InfoEngine by querying for objects with an UpdateStamp greater than a date/time stamp for yesterday.

In InfoEngine updateStamp and modifyStamp are returned and represent two different use cases. I need updateStamp. Below is the values I am seeing come back from InfoEngine

 

<thePersistInfo.updateStamp>2024-05-24 13:01:13 EDT</thePersistInfo.updateStamp>
<thePersistInfo.modifyStamp>2024-05-16 09:49:15 EDT</thePersistInfo.modifyStamp>

 

The DynamicDocument Rest API returns LastModified, which seems to align with modifyStamp from InfoEngine, but I am not seeing a value come back from the REST API's for UpdateStamp.

 

{
...
"LastModified": "2024-10-25T12:56:32-04:00",
...
}

 

I am able to get the documents that were modified after a given date timestamp with the following query.

 

LastModified gt 2024-10-24T15:39:10-04:00 

 

 Is there a way to query against the updateStamp field available from InfoEngine via the REST API's? 

0 REPLIES 0
Announcements

Top Tags