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 PTC Community Badges. Engage with PTC and see how many you can earn! X

Translate the entire conversation x

Rename CADDocuments and Parts with odata Endpoint

DK_9661096
6-Contributor

Rename CADDocuments and Parts with odata Endpoint

Version: Windchill 12.1

 

Use Case: I would like to change Number, Name, and File Name attributes for many CADDocuments and Parts. It took to much time to change the attributes manually. So I would like to use an odata Endpoint.


Description:

But i did not find any Endpoint in the odata documentation that fits my needs.  Do you have any ideas how to solve this Problem?

ACCEPTED SOLUTION

Accepted Solutions
HelesicPetr
22-Sapphire II
(To:DK_9661096)

Hi @DK_9661096 \

Yes, you can write own endpoint and develop customization to achieve your needs.

Also it can be easier to write a custom utility that reads some input file to change the numbers.

PetrH

View solution in original post

7 REPLIES 7
HelesicPetr
22-Sapphire II
(To:DK_9661096)

Hi @DK_9661096 \

Yes, you can write own endpoint and develop customization to achieve your needs.

Also it can be easier to write a custom utility that reads some input file to change the numbers.

PetrH

Hi,

I would really appreciate your help with renaming CADDocuments by developing and deploying my own customization using OData. Could you please guide me through the proper tutorials or procedures to achieve this?

Your guidance and support would be greatly appreciated.

Thank you,
Aundy

Hi @Sankarakumar 

Everything is described in the RestApiu documentation

Windchill REST Services User's Guide

PetrH

Hi @HelesicPetr 

Thanks a lot for providing me the document. This certainly help a lot!

Thanks,

Aundy 

Fadel
23-Emerald I
(To:DK_9661096)

HelesicPetr
22-Sapphire II
(To:Fadel)

Yes, you can use this API but you have to know the ID of the object.

Here is a option how to search the ID by number for an EPMDocument ... 

How to get EPMDocuments in Windchill REST Services

 

PetrH

Sankarakumar
4-Participant
(To:Fadel)

Hi @Fadel 

Thanks a lot for your response and I hope this API is used for renaming WTPart.

Is the same API can be used for renaming CADDocuments. Please correct me if I am wrong!

Thanks,

Aundy

Announcements

Top Tags