AnsweredAssumed Answered

Map database result to json array

Question asked by iyshwarya.x.gopalan.-nd984266 on Sep 18, 2018
Latest reply on Sep 19, 2018 by iyshwarya.x.gopalan.-nd984266

Hi all,

 

I am sending data via HTTP POST request. My request profile is as below.

{

"productid":"1243",

"episodeid" :[] ,

"productGroups" : [
"SEA"
]

}

 I need to map the result of database query to the episodeid array. Can someone please help me.

The database result consists of records with unique value. eg 1111,2222,3333. 

 

Thanks in advance.

Outcomes