Skip to Main Content

PeopleSoft Enterprise

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

PoepleSoft json array

User_RQ402Sep 9 2019 — edited Sep 12 2019

Hi,

I have to consume a third party web service (POST method) and they need data for few elements as an array like below:

{"ColNum": [1,2],

"ProdNum": [1,4].

"FileName": "string"

}

I have created a document and added a collection child and then a primitive child to the collection child like below. This works fine when i test it using document tester (second screenshot), however i am not able to figure out how to assign values to the primitive child in peoplecode. For non-collection objects i can use GetPropertyByName and assign a value, how to do it for collection objects?

pastedImage_0.png

pastedImage_1.png

Thanks in advance,

Vishal

Comments
Post Details
Added on Sep 9 2019
1 comment
55 views