Skip to main content
Apr 16, 2025 10:01 AM UTC
Solved

Get Checked Out Objects using REST API

Version: Windchill 12.1

 

Use Case: Get Checked out documents by a User.


Description:

Is there any OOTB way to GET checked out objects of a subtype (for eg. WTDocument) by a specific user?
I don't want to create a custom endpoint

FadelAnswer
3-Newcomer
Apr 18, 2025 12:05 PM UTC

These attributes are not serachable , generally its for non-persistable attributes or when it may cause performance issues :

Fadel_0-1744977836384.png

Alternatively you can prepare a qml report or a saved search  and the call the search/report using REST 

 

5 replies

Apr 17, 2025 12:17 PM UTC

You can use /DocMgmt/Documents REST API to get checkout documents using $filter with CheckoutStatus field and you can get the checked out by in the feild CheckoutState in your response. you can play around with that in your code based on requirement

 

Apr 18, 2025 4:36 AM UTC

When I apply filter to the CheckoutStatus of the CheckoutState fields, it says that these properties are Non-Filterable Properties. 

FadelAnswer
3-Newcomer
Apr 18, 2025 12:05 PM UTC

These attributes are not serachable , generally its for non-persistable attributes or when it may cause performance issues :

Fadel_0-1744977836384.png

Alternatively you can prepare a qml report or a saved search  and the call the search/report using REST