Skip to main content
Jan 9, 2019 9:55 AM UTC
Solved

How to use odata connector with Windchill from ThingWorx 8.2.4

Hello,

 

Since WindChill Swagger API has some limitations so we have developed a oData custom APIs. I want to call the oData API from ThingWorx service. Besides our ThingWorx is SSO enabled. So please help me, how to consume the oData API to fetch the data from WindChill.

Prem-IKEAAnswer
Jan 28, 2019 11:07 AM UTC

We have created a Integrated connector thing with the oDataConnector as base template. Configured with windchill and mapped the newly created API via API Map options which you can probably get this option in New composer. Now, we are able to connect with oData endpoints and fetch the data.

3 replies

Jan 9, 2019 6:55 PM UTC

First since you talking about custom OData API you need to make sure it is exposed to ThingWorx. For that follow this article CS284781

 

Next, you need to create a new OData Connector API mapping per this chapter Creating a New API Map for the Service.

 

Once this is done you can then call the new service as any other ThingWorx service.

Jan 25, 2019 4:38 PM UTC

Hi @Prem-IKEA.

 

If the solution provided by @MarekP.Nowaczyk helped you to solve your issue, please mark it as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon

Prem-IKEAAuthorAnswer
Jan 28, 2019 11:07 AM UTC

We have created a Integrated connector thing with the oDataConnector as base template. Configured with windchill and mapped the newly created API via API Map options which you can probably get this option in New composer. Now, we are able to connect with oData endpoints and fetch the data.