Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
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?
Hi @AdamElkins
I would say that you can create own report in the Windchill by queryBuilder and then call this report with the RestAPI
Thanks that you can get anything you need even though the RestApi does not support everything .
PetrH