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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! 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.

ACCEPTED SOLUTION

Accepted Solutions
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

View solution in original post

2 REPLIES 2
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

Hello @ozclkonur

 

It looks like you have a response to your topic. If it helped you solve your question please mark the reply as the Accepted Solution. 
Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Vivek N.
Community Moderation Team.

Announcements
Top Tags