Skip to main content
5-Regular Member
August 16, 2023
Solved

i want to write one java code to create a part using ODATA Rest API (POST Request)how can we create

  • August 16, 2023
  • 1 reply
  • 1627 views
I am using Windchill PDMLink Release 11.2 and Datecode with CPS 11.2.1.0

i want to write one java code to create a part using ODATA Rest API (POST Request)how can we create it
    Best answer by HelesicPetr

    @SD_10636834 

    Do you need to create a WTPart or a CAD Document part?

    For the WTPart creation there is a ODATA service 

    check your windchill installation documentation

    https://serverName/Windchill/netmarkets/html/wrs/doc.html

    The service depends on your wch version. In my case it is ODATA V3

     

    HelesicPetr_4-1692255106785.png

    HelesicPetr_3-1692254967310.png

     

    Here is an Article that describes simple ODATA function creation

    CS357512 - How to create a custom ODATA domain with a simple custom endpoint

     

    all information for Rest API customization is here

    CS183488 - Windchill PLM Rest Services - Customization

     

    PetrH

     

     

     

    1 reply

    HelesicPetr
    22-Sapphire II
    22-Sapphire II
    August 17, 2023

    @SD_10636834 

    Do you need to create a WTPart or a CAD Document part?

    For the WTPart creation there is a ODATA service 

    check your windchill installation documentation

    https://serverName/Windchill/netmarkets/html/wrs/doc.html

    The service depends on your wch version. In my case it is ODATA V3

     

    HelesicPetr_4-1692255106785.png

    HelesicPetr_3-1692254967310.png

     

    Here is an Article that describes simple ODATA function creation

    CS357512 - How to create a custom ODATA domain with a simple custom endpoint

     

    all information for Rest API customization is here

    CS183488 - Windchill PLM Rest Services - Customization

     

    PetrH