function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
karhtik palakurthikarhtik palakurthi 

integration on payload

I have two objects Object A and Object B, is it paossible to consider the fields of object A and send them in the jason pay load of object B.

 

Im using Rest services for call outs and Josn Format of the payload. I just the data of the fields in the object A to be passed on to the payload of the object B. 

 

My jason structure is like below.

{

field 1

field 2 

.

.

.

.

Object B :[

{

Field 23

Field25

.

.
}

]

}