I am consuming a REST API in Build App and need to map few fields from data collection and as well as msgs.count from collections collection as shown in below images.


I have added below code in Response mapper to map fields from the data collection and created an entity.

{ records: response.data.data , driverCode: response.status }
Is it possible to map the msgs.count from collections collection as well in the same entity along with other fields from data collection from the rest API?