Skip to main content
1-Visitor
Jul 8, 2024 10:41 AM UTC
Question

Requirements to get the response payload as an collection Arary

Hi ,

Thanks for the above posting, It works for me. But my requirement is to get the response payload as an collection Arary

Can you please suggest the changes that i'll have to do to get an array response as given below

Response Payload:

--------------------------

"value":[
                 {
                   "key1":"Test Part",
                   "ChildObjects": [
                       {
                           "key":"OR:wt.part.WTPart: 1234",
                           "value":" TEST 1234-A "
                      },
                      {
                            "key":"OR:wt.part.WTPart: 1235,
                             "value":"TEST 1235-B "
                        } 
                ]
          }
    ]

 

2 replies

17-Peridot
Jul 10, 2024 9:05 AM UTC

Have a look at OData WRS.

https://www.ptc.com/support/-/media/support/refdocs/Windchill_REST_Services/2,-d-,5/wrs.pdf?sc_lang=en

Google will show you PTC's help pages on this topic.

Translate
Emeritus
Jul 16, 2024 11:09 AM UTC

Hello @AK_11056330, 

 

It looks like you have a response from a community member. If it helped to answer 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.

Translate