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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Translate the entire conversation x

OData API Not Returning Some Documents Visible in Windchill UI (Production Environment Issue)

ozclkonur
14-Alexandrite

OData API Not Returning Some Documents Visible in Windchill UI (Production Environment Issue)

 

We are querying part information and their associated documents using the same OData request on two different Windchill environments.
In our test environment, all documents are returned correctly with the following request:

 

 
/Windchill/servlet/odata/ProdMgmt/Parts?$filter=Number eq 'XXXX'& $expand=Versions($filter=State/Value eq 'RELEASED' or State/Value eq 'IMPORTED'; $expand=DescribedBy($expand=DescribedBy($expand=Attachments,Representations)), References($expand=References($expand=Attachments,Representations)), PartDocAssociations($expand=RelatedCADDoc($expand=Attachments,Representations)))
 

However, in our production environment, some documents that are clearly visible in the Windchill UI (under DescribedBy or References) do not appear in the OData API response at all.

  • The document is visible in the UI.

  • We are logged in with an admin account.

  • The same request works fully in the test environment.

  • The issue happens only in production.

We would like to ask for guidance on why the OData API might not return documents that are visible in the UI, and what we should check to resolve this inconsistency between environments.

Thank you in advance for your support.

1 REPLY 1

Hi @ozclkonur

Thank you for your question. 

Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.

Also, feel free to add any additional information you think might be relevant. It sometimes helps to have screenshots to better understand what you are trying to do.

 

Best Regards,

Vivek N
Community Moderation Team

Announcements
Top Tags