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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Translate the entire conversation x

How to Create, Update, and Link WTDocument to WTPart using Windchill OData REST Services?

ozclkonur
14-Alexandrite

How to Create, Update, and Link WTDocument to WTPart using Windchill OData REST Services?

Hello,

I am working on an integration project and I need to perform the following actions using Windchill OData REST APIs:

  1. Create a new WTDocument.

  2. Update attribute values (IBA/Soft Attributes) of existing WTDocuments.

  3. Link (Associate) the created WTDocument to an existing WTPart (e.g., as a Described By or Reference link).

Could you please guide me on which standard Domains (e.g., ProdMgmt) and Endpoints I should use for these specific operations? Is it possible to achieve the linking process within the same transaction or does it require a separate API call?

Any examples or documentation references would be appreciated.

Best regards.

1 REPLY 1
Fadel
23-Emerald I
(To:ozclkonur)

Merhaba Onur Abi.

 

for the links ; 

this a known gap addressed 13.0.2.7 and 13.1 where the endpoint is added OOTB:

Fadel_0-1764685948671.png

 

For older release, we can use a custom endpoint as described in article https://www.ptc.com/en/support/article/CS285572

Attached is a demo video from my local 12.0.2.3  .

Fede
Announcements
Top Tags