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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Requirements to get the response payload as an collection Arary

AK_11056330
1-Newbie

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 2
rleir
17-Peridot
(To:AK_11056330)

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.

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.

Announcements
Top Tags