Windchill API Swagger / OpenAPI Availability
I am using Windchill PDMLink Release 13.0 and Datecode with CPS 13.0.2.5 We are currently integrating Windchill APIs with our Metadata Tool for API cataloging and lineage purposes. The schema is required by metadata tool in order to automatically parse and register the API endpoints and metadata. We identified that the following schema endpoint successfully returns a valid OpenAPI 3.0 JSON schema when accessed with Basic Authentication: https://x.company.ae/Windchill/protocolAuth/netmarkets/html/wrs/odata-to-swagger.jsp?v=7&d=ProdMgmt. We also tested generating a CSRF token using the below endpoint: https://x.company.ae/Windchill/protocolAuth/servlet/odata/v5/PTC/GetCSRFToken() The generated token works successfully for BOM-related API calls, but it does not work when accessing the swagger/OpenAPI endpoint above. Could you please check with the PTC/Windchill team if one of the following options can be provided: A token-based authentication mechanism for accessing the OpenAPI schema endpoint OR An internal URL exposing the generated OpenAPI JSON without SSO/authentication requirements (read-only access is sufficient) Here are the errors that I faced metadata tool's REST API service integration expects token-based authentication to access the OpenAPI schema URL

